/build/static/layout/Breadcrumb_cap_w.png

After imaging, login to machine, then reboots one last time.

Our last post-install task in our image is to join the domain, then reboot. It will reboot and end up at the domain login. However, upon first login, a white screen pops up and then reboots again. I'm guessing it's KACE cleaning up and finalizing things, but is there a way to have this happen before it reboots after joining the domain...or to make it so we don't have to manually login to complete this process? I'm assuming adding some sort of registry 1 login count could work, but seems like a stupid way of dealing with something that KACE should really finish by itself after my last post-install task.

Any suggestions?

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: SMal.tmcc 8 years ago
Red Belt
0
I add reg settings to the post task to have it autologin one time after it joins to take care of this


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 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 domainuser /f
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d password /f
start /wait cscript.exe c:\windows\w2d\join_domain.vbs acad.domain.edu domainuser password

c:\windows\w2d\ksleep 5


Comments:
  • prior to joining the domain I had a local user login count of 10 in the answer file - SMal.tmcc 8 years ago
Posted by: jegolf 8 years ago
Red Belt
0
You have to add an autologon to your sysprep answer file. If you've already sysprepped and captured your image you can alter the unattend.xml file in c:\windows\panther by browsing the k-image or mounting your wim. There was an update at one point that added the task engine which started to require one additional autologon for one of those steps so we had to up our count..

Comments:
  • I have the sysprep answer file set to 9 auto logins. The last 2 scripts set to run in my post-install task is to disable auto logins, and then join the domain and reboot. However, it seems it still needs 1 login afterwards for it to finish or clean up. - sfigg 8 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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