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   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


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.
Please log in to comment