ERROR_LAST_ADMIN 0x8007052A

Error code 1322 · HRESULT 0x8007052A

WINDOWS

This operation is disallowed as it could result in an administration account being disabled, deleted or unable to logon.

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_LAST_ADMIN is a Windows error code (system error 1322, returned as HRESULT 0x8007052A) reported by Windows. Its official message is: “This operation is disallowed as it could result in an administration account being disabled, deleted or unable to logon.”

How to fix ERROR_LAST_ADMIN

  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

Related errors

Source: Microsoft WinError.h

Last updated: