ERROR_FILE_HANDLE_REVOKED 0x80070326

Error code 806 · HRESULT 0x80070326

WINDOWS

Access to the specified file handle has been revoked.

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_FILE_HANDLE_REVOKED is a Windows error code (system error 806, returned as HRESULT 0x80070326) reported by Windows. Its official message is: “Access to the specified file handle has been revoked.”

How to fix ERROR_FILE_HANDLE_REVOKED

  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
  4. Verify the path/file actually exists and is not blocked by antivirus quarantine
  5. Reinstall the application that raised the error to restore missing files
  6. Check the full path spelling (long paths >260 chars need a registry opt-in)

Related errors

Source: Microsoft WinError.h

Last updated: