ERROR_INVALID_CAP 0x80070140

Error code 320 · HRESULT 0x80070140

WINDOWS

The Central Access Policy obtained from Active Directory is invalid.

Windows troubleshooting diagram: Device Manager warning and a system file scan
Windows errors: check drivers, system files and Event Viewer, in that order.

What it means

ERROR_INVALID_CAP is a Windows error code (system error 320, returned as HRESULT 0x80070140) reported by Windows. Its official message is: “The Central Access Policy obtained from Active Directory is invalid.”

How to fix ERROR_INVALID_CAP

  1. Run the affected program as administrator (right-click → Run as administrator)
  2. Check permissions on the target resource: Properties → Security → your account
  3. Check Event Viewer → Windows Logs → Security for the matching audit entry

Related errors

Source: Microsoft WinError.h

Last updated: