Problem: Must click OK after reboot because of Interactive Logon during system imaging.
During system imaging we are installing several applications that require a reboot during the Post Install Tasks. When the box comes up because of a "Interactive Logon" group policy it requires you to click OK to the message before it can log back in and continue the Post Install tasks. This adds time to the entire process and isn't completely automated because it requires user intervention. Anyone have an idea of how we can overcome this automation road block?
1 Comment
[ + ] Show comment
Answers (1)
Please log in to answer
Posted by:
SMal.tmcc
8 years ago
this is how you set autologin and disable the policy script
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 DefaultDomainName /d domain /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 delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v legalnoticecaption /f
reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v legalnoticetext /f
shutdown -r -f -t 1
Hope this helps. - hoodathunkut 8 years ago