We are currently using Ghost 8.3 and sysprep 2.0. In WIN XP Pro SP2 I am trying to make the system login into a default, non-administrator account after sysprep has run. I have tried using the GUIRunOnce to throw the reg file back in and also tried running a bat from the $OEM$ folder and apparently neither will work b/c sysprep is resetting these reg entries after these options are performed.
Any Ideas?
This conversation is currently closed to new comments.
Did you log in as the default account before you created the Ghost? Maybe a pre-existing Documents and Settings folder for that account in the image will help.
I admit I'm just slinging out an idea with absolutely no practical experience to back it up.
The problem is I want something automated added to the image after sysprep has run(b/c sysprep changes these keys back to defaults) to enable autologin permanently for a non-administrator account.
or poosibly the most stupid thing you've heard but here it goes.If you download tweak ui you can set windows to log in to that user automatically.As i say it might be good for or just plain stupid.
That looks like a great tool and I will have to keep it in mind for some of the other things I do, but the problem I am having is not necessarily modifying the registry. The problem is modifying it after sysprep has altered back to original configuration, and automating the process so I do not have to touch th PC.
First you will need to set your Sysprep file to autoadminlogon 2 times.
Next I finally found a way to make a self deleting batch file sit in the startup of the admin user by having the batch remove the read-only attrib of the folder and then using these 2 lines as the last lines of the batch
shutdown -r
del /q /f c:\documents and settings\administrator\start menu\programs\start up\*.bat
i then wrote a section into the middle of the batch to delete the reg keys for the autologinadmin from the sysprep and add the ones for the account that I want to login.
let me know if you have any other questions and I will try to answer them.
Thanks for your reply and the explantion. After i wrote the question, i also found a solution. More or lesse the same way. Set up sysprep for Autologin 2 times. During the first login i kill the RegKey AutoLogonCount and change the AutoLogon-Keys (User, Passwort) to the parameters of the user i want to login (batch).
My solution was that I added a cmdlines.txt to my sysprep, which executes just before the final reboot after sysprep runs. Cmdlines.txt calls a batch file where I set the autologin and a few other things such as Altiris agent installs and AV installation too.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Sysprep autologin
Any Ideas?