@echo off > "C:\WindowsAutoLogon.reg" ECHO Windows Registry Editor Version 5.00 >> "C:\WindowsAutoLogon.reg" ECHO. >> "C:\WindowsAutoLogon.reg" ECHO [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon] >> "C:\WindowsAutoLogon.reg" ECHO "AutoAdminLogon"="1" >> "C:\WindowsAutoLogon.reg" ECHO "DefaultUsername"="XXXXXXXXX" >> "C:\WindowsAutoLogon.reg" ECHO "DefaultPassword"="XXXXXXXX" >> "C:\WindowsAutoLogon.reg" ECHO "DefaultDomainName="XXXXXXXX" regedit /S C:\WindowsAutoLogon.reg del c:\WindowsAutoLogon.reg ////////////////////////////////////////////////////////////////////////// // Insructions ////////////////////////////////////////////////////////////////////////// // There are three keys that manage the AutoLogon capability // The first is AutoAdminLogon. "1" Enables autologon, "0" disables autologon // When using autologon, replace the X's with the username and password in // the appropriate keys. Add the domain name if needed. If not, remove from script. // Run this script after these values are set and each computer will logon // automatically using the account.