Scripting Question

Is there a way to automatically login to a domain after the Join Domain post-install task?

09/13/2017 865 views
I have created batch scripts that maps a network drive and grabs the install file and runs as admin and then deletes the drive after completion.  However, after deploying the image and it gets to that task, it fails.  I realized that it is still autologging into the local admin account.  Is there any way to the same autologon except with domain admin credentails?  I don't want to do it through sysprep.

0 Comments   [ + ] Show comments


All Answers

Yes, you need to change the registry keys for auto login to the domain credentials. They are stored in HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon. You should be able to use a script that updates the relevant entries.

Is there any particular reason that you aren't including the install file in the post-install task instead of grabbing it from the network?
Answered 09/13/2017 by: chucksteel
Red Belt

  • Because I am very new to this and we are having a very hard time scripting our installs.
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