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

Comments

Please log in to comment

Answers

1
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

Please log in to comment
1
Answered 06/20/2016 by: chucksteel
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity