ERROR_LOGIN_TIME_RESTRICTION 0x800704D7

Error code 1239 · HRESULT 0x800704D7

WINDOWS

Attempting to log in during an unauthorized time of day for this account.

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_LOGIN_TIME_RESTRICTION is a Windows error code (system error 1239, returned as HRESULT 0x800704D7) reported by Windows. Its official message is: “Attempting to log in during an unauthorized time of day for this account.”

How to fix ERROR_LOGIN_TIME_RESTRICTION

  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: