ERROR_LOGIN_TIME_RESTRICTION 0x800704D7
Error code 1239 · HRESULT 0x800704D7
Attempting to log in during an unauthorized time of day for this account.
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
- Run the affected program as administrator (right-click → Run as administrator)
- Check permissions on the target resource: Properties → Security → your account
- Check Event Viewer → Windows Logs → Security for the matching audit entry
Related errors
Source: Microsoft WinError.h
Last updated: