Computers no longer auto-login after being imaged.
Answers (1)
You need a script to add "autologon count".
A few registry edits in a batch script should do it.
This is the script I use to add additional auto logons. (works for me)......
Create a new batch script as a post-install task.
Change the highlighted parts to your preference and paste
into the batch script window
Number of logons needed..........
User......................
Password (for the user).....................
Add the script to the post install tasks of the image......somewhere in the middle.
The only drawback is that the user password is stored in plain text.
If that is not a problem..... then go for it.
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v DefaultLogonDomain /t REG_SZ /d %COMPUTERNAME% /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1 /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 6 /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d .\USER /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d Password /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultDomainName /d %COMPUTERNAME% /f
Comments:
-
Thank you, this worked for me. - Xazic 7 years ago
http://www.itninja.com/question/windows-10-creators-autologin-count - Channeler 7 years ago