ERROR_DIRECT_ACCESS_HANDLE 0x80070082

Error code 130 · HRESULT 0x80070082

WINDOWS

Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.

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_DIRECT_ACCESS_HANDLE is a Windows error code (system error 130, returned as HRESULT 0x80070082) reported by Windows. Its official message is: “Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.”

How to fix ERROR_DIRECT_ACCESS_HANDLE

  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: