drscouse Posted September 17, 2005 Share Posted September 17, 2005 Ive spent the last few days learning about the finer parts of UaCD building, scripting, how things work... etc... since testing my new disk, my PC always seems to auto logon to my admin account. I had set it to "autoadminlogon=2" in a reg file, so my account would logon rather than the defualt admin acccount, install stuff, reboot, and then logon again. However, it just keeps auto logging in....Is this because the default admin account has never been activated/used, or do I need to change another setting I am simply overlooking???Cheers Link to comment Share on other sites More sharing options...
MHz Posted September 17, 2005 Share Posted September 17, 2005 I had set it to "autoadminlogon=2" in a reg file, so my account would logon rather than the defualt admin acccount, install stuff, reboot, and then logon again. However, it just keeps auto logging in....<{POST_SNAPBACK}>http://unattended.msfn.org/intermediate/users.htmI do not understand the value of 2 that you are setting? 0 = off , 1 = on.The Autologon can be set by the Winnt.sif for the Administrator account. AutoLogonCount allows the Administrator to logon x amount of times.If you want to set Autoadminlogon for a created user instead, then set it by a reg or cmd file as listed in the link supplied.Autoadminlogon is a setting for continuous logons for the selected user.References to Autologon for the Administrator account in Winnt.sif is different to Autoadminlogon for a user account. Link to comment Share on other sites More sharing options...
drscouse Posted September 17, 2005 Author Share Posted September 17, 2005 I was using that...Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="John""DefaultPassword"="asdf1234""AutoAdminLogon"="1"I just got a bit confused with the AutoAdminLogon=1, I thought this was telling the system to auto logon one time, so I changed it to 2, cos I wanted to logon, reboot and logon again automatically, and then go to logon screen on subsequent logins... Is what I want to do possible??Can I not have an wutologoncount for the above script, like the default admin account defined in the winnt.sif?Cheers Link to comment Share on other sites More sharing options...
MHz Posted September 17, 2005 Share Posted September 17, 2005 You may need to reset AutoAdminLogon to 0 manually with another reg file, when finished with the account. Link to comment Share on other sites More sharing options...
drscouse Posted September 17, 2005 Author Share Posted September 17, 2005 That makes sense... cheersI can simply change the regkey in my cleanup, after everything else is done!!Thanks Link to comment Share on other sites More sharing options...
n00dles Posted September 17, 2005 Share Posted September 17, 2005 Ummmm or you could just use the AutoLogonCount value in your unattend.txt file?[GuiUnattended]AutoLogon = YesAutoLogonCount = 2 Link to comment Share on other sites More sharing options...
drscouse Posted September 17, 2005 Author Share Posted September 17, 2005 (edited) [GuiUnattended]AutoLogon = YesAutoLogonCount = 2This is for the default admin account... I had to chane the 'Yes' to 'No' to allow me to logon with my own admin account, so software/regtweaks are done under my username, and not the default admin account. I have already created the necessary files to do so, I just needed to get the scripting right to allow the pc to login to my account on first bootup, install hotfixes, reboot and log back into my account, and install apps, cleanup etc, then reboot back to the login screenYou may need to reset AutoAdminLogon to 0 manually with another reg file, when finished with the accountThis works fine, quite simple and abvious really.. Ive just been getting a bit bogged down and off track, and needed to be put back on it again...!!All is working as I wanted it now.. thanks to you all!!! Edited September 17, 2005 by drscouse Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now