ERROR_CANT_ACCESS_FILE 0x80070780
Error code 1920 · HRESULT 0x80070780
The file cannot be accessed by the system.
What it means
ERROR_CANT_ACCESS_FILE is a Windows error code (system error 1920, returned as HRESULT 0x80070780) reported by Windows. Its official message is: “The file cannot be accessed by the system.”
How to fix ERROR_CANT_ACCESS_FILE
- 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: