I am trying to install a large quantity of computers using sysprep and then a cloning software. The problem I have is that we want the computers to Auto Logon to a user account after sysprep is done and I am having trouble because sysprep is changing the registry keys for AutoLogon forcing me to manually log on to make the change for every computer.
The process I am trying is this:
In sysprep I have it configured to log on as the administrator automatically once where I have it run a VBScript to make some configuration changes such as computer name and enable AutoLogon, and then restart the computer. But after the computer restarts it does not AutoLogon and I need to manually log on and rerun that portion of my script.
BUT if I don't have sysprep automatically log on as the administrator and do it myself my script runs and after the reboot it works perfectly.
I am thinking that sysprep must clear the AutoLogon registry keys because it thinks that it needs to so that it doesn't continue logging on as administrator, but I have changed the keys so I don't want it clearing them out after I have changed them. I just don't know how to make this happen.
The keys I am changing in my script are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
AutoAdminLogon="1"
DefaultUserName="UserName"
DefaultPassword="Password"
I know that somebody out there has to have faced this situation before, but I cannot find any solution, so any help would be appreciated, or just a link to where I can find a solution.
Thanks for your time.
The process I am trying is this:
In sysprep I have it configured to log on as the administrator automatically once where I have it run a VBScript to make some configuration changes such as computer name and enable AutoLogon, and then restart the computer. But after the computer restarts it does not AutoLogon and I need to manually log on and rerun that portion of my script.
BUT if I don't have sysprep automatically log on as the administrator and do it myself my script runs and after the reboot it works perfectly.
I am thinking that sysprep must clear the AutoLogon registry keys because it thinks that it needs to so that it doesn't continue logging on as administrator, but I have changed the keys so I don't want it clearing them out after I have changed them. I just don't know how to make this happen.
The keys I am changing in my script are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
AutoAdminLogon="1"
DefaultUserName="UserName"
DefaultPassword="Password"
I know that somebody out there has to have faced this situation before, but I cannot find any solution, so any help would be appreciated, or just a link to where I can find a solution.
Thanks for your time.