Group Policy Windows – Disabling Auto-Login via gpedit

group-policywindows 10windows-registrywindows-server-2016

Recently, one of our employee has left his computer in the customer's office, which could possibly leak some information from that device(Thankfully, it didn't happened). Right now, all of our computer has enabled auto login, and it's almost a hundred. So, I've been wondering if it's possible to disable it by using Group Policy Editor. Our server is running Windows server 2016.

All of the computer's auto-login was enabled via regedit one by one, so if we could disable/delete it by using gpedit, it'd be better than disabling/deleting it one by one.

Thanks in advance.

Best Answer

Registry keys involved in auto logon in Windows are documented here:

https://docs.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon

You can deploy a Group Policy Preference (in Computer Configuration) to delete these values: DefaultPassword and AutoAdminLogon.

Related Topic