/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Problem: Must click OK after reboot because of Interactive Logon during system imaging.

08/03/2016 1249 views
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

Comments

  • We have the same issue - GPO for legal text which prevents auto logon. Essentially what we do is we have 99 auto logons set at the start, allow enough of these to run so that the post-install tasks will complete uninterrupted. We then delete the auto logon registry keys (as another post-install task) and join the domain AT THE END. The last thing we do is join the domain because once you get there, there's no going any further.
    Hope this helps.

All Answers

2
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

Answered 08/03/2016 by: SMal.tmcc
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