Error code
Windows ERROR_ACCESS_DENIED
WINDOWSERROR_ACCESS_DENIED
System Error Code· A POSIX/system errno returned when a system call fails.
What it means
Access is denied..
How to fix it
- Run the program or command prompt as Administrator.
- grant your account permission with icacls or the Security tab.
- take ownership of the object with takeown if needed.
- close any program that has the file open.
- verify the file is not marked read-only.
Not affiliated with Windows. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.
More Windows codes
- ERROR_ACCOUNT_DISABLEDThis user can't sign in because this account is currently disabled.
- ERROR_ALREADY_EXISTSCannot create a file when that file already exists.
- ERROR_BAD_EXE_FORMAT%1 is not a valid Win32 application.
- ERROR_BAD_NETPATHThe network path was not found.
- ERROR_BAD_NET_NAMEThe network name cannot be found.
- ERROR_BAD_PATHNAMEThe specified path is invalid.
- ERROR_BUSYThe requested resource is in use.
- ERROR_CALL_NOT_IMPLEMENTEDThis function is not supported on this system.
- ERROR_CANCELLEDThe operation was canceled by the user.
- ERROR_DEVICE_NOT_CONNECTEDThe device is not connected.
- ERROR_DEV_NOT_EXISTThe specified network resource or device is no longer available.
- ERROR_DIRECTORYThe directory name is invalid.