/build/static/layout/Breadcrumb_cap_w.png

Computers no longer auto-login after being imaged.

Recently after our image completes via the k2000, the computers have stopped auto logging in to complete the post installation tasks.  Does anyone have a recommendation to fix this issue or know a few things that I can try to remedy this?  Manually logging in 3-4 times to complete post installations is getting annoying when we have 200+ computers that we need to image this summer.

1 Comment   [ + ] Show comment
  • FYI, if you are using Windows 1703 this is not a KACE issue, see:

    http://www.itninja.com/question/windows-10-creators-autologin-count - Channeler 6 years ago

Answers (1)

Posted by: akmagnum 6 years ago
Red Belt
2

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 6 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ