Our team does automated reboots on weekends for maintenance as part of our policies, and we've run into a problem. We have a few applications that need an interactive sign-in to function correctly, but they can't be set up to run as a service. So, I'm looking for a way to have the sign-in happen automatically when the server restarts without needing a user to intervene. I've tried getting AutoLogon working but to no avail, despite following this guide: https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon. This issue occurs on Server 2016, 2019, and even 2022. Has anyone successfully implemented AutoLogon or discovered an alternative solution?
4 Answers
Have you looked into the Group Policy settings? Sometimes, GPO settings can interfere with AutoLogon. There's a resource here that goes into Automatic Restart Sign-On (ARSO): https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/component-updates/winlogon-automatic-restart-sign-on--arso-. This might give you some ideas to troubleshoot.
I’ve encountered issues with AutoLogon while setting up a kiosk PC using Intune. In my case, a GPO policy was blocking it, so definitely check if any group policies or local security settings are preventing AutoLogon from working.
Have you checked the Event logs for any errors? They can sometimes provide insights into why AutoLogon is failing. It might help narrow down what's going wrong.
It sounds tricky, but AutoLogon shouldn’t be too hard to set up if you get the registry keys right. You need to make sure you have four keys set correctly:
1. HKLMSoftwareMicrosoftWindows NTCurrent VersionWinlogonAutoAdminLogon = 1
2. HKLMSoftwareMicrosoftWindows NTCurrent VersionWinlogonDefaultUsername = YourUsername
3. HKLMSoftwareMicrosoftWindows NTCurrent VersionWinlogonDefaultDomainName = yourdomain.local
4. HKLMSoftwareMicrosoftWindows NTCurrent VersionWinlogonDefaultPassword = YourPassword
After setting those keys, if it still doesn’t work, check if anything resets AutoAdminLogon to 0—might be a policy at play. Also, ensure your username and password are valid by manually logging in with them. Should be straightforward on server OS for AutoLogon to work! (At least in my experience).
I’ve been through the same issue. Managed AutoLogon fine on an older Server but struggled with new setups due to policies. Sometimes the settings just refuse to stick.

Totally get that it sounds easy in theory, but I’m in the same boat. I’ve checked the registry values repeatedly and they're correct, yet it just won’t log on automatically after a restart! It’s frustrating, especially when the manual login works smoothly.