ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY 0x80070312

Error code 786 · HRESULT 0x80070312

WINDOWS

Access to … has been restricted by your Administrator by policy rule ….

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_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY is a Windows error code (system error 786, returned as HRESULT 0x80070312) reported by Windows. Its official message is: “Access to %1 has been restricted by your Administrator by policy rule %2.”

How to fix ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY

  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: