Error code
Windows ERROR_PRIVILEGE_NOT_HELD
WINDOWSERROR_PRIVILEGE_NOT_HELD
System Error Code· A POSIX/system errno returned when a system call fails.
What it means
A required privilege is not held by the client..
How to fix it
- Run the program or command prompt as Administrator.
- grant the needed privilege via Local Security Policy User Rights Assignment.
- add the account to a group that holds the privilege.
- verify UAC is not stripping the token.
Not affiliated with Windows. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.
More Windows codes
- ERROR_ACCESS_DENIEDAccess is denied.
- 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.