ERROR_DIRECT_ACCESS_HANDLE 0x80070082
Error code 130 · HRESULT 0x80070082
Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
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
- Run the affected program as administrator (right-click → Run as administrator)
- Check permissions on the target resource: Properties → Security → your account
- Check Event Viewer → Windows Logs → Security for the matching audit entry
- Verify the path/file actually exists and is not blocked by antivirus quarantine
- Reinstall the application that raised the error to restore missing files
- Check the full path spelling (long paths >260 chars need a registry opt-in)
Related errors
Source: Microsoft WinError.h
Last updated: