KACE Product Support Question

K2000 Adding Auto Logins in a post install task

06/17/2016 1747 views
When I am putting down a WIM I am needing a extra auto login to finish the Task Engine.   I am trying to find the script to build the task.   I believe this would be a post install task?
0 Comments   [ + ] Show comments


Community Chosen Answer

I switch my autologon with a post batch when I join the domain.

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 10 /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultDomainName /d acad /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

You may only need to add the one line if you already have it auto logging in.  This one sets the amount to 10 more.  I have a final task that deletes these lines so I do not care about getting the count exact, I rather have too many and clear them at the end

reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 10  /f
Answered 06/17/2016 by: SMal.tmcc
Red Belt

All Answers

Answered 06/20/2016 by: chucksteel
Red Belt

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