drscouse Posted September 10, 2005 Posted September 10, 2005 Ive noticed that when Im using a UaCD, all of my apps are currently installed when windows first boots, which is in the Admin account. This consequently means that the destop, start menu and some reg tweaks will only apply to the current logged on user - the administrator.I have therefore decided to only install hotfixes/compnoents during the first auto login to admin account, but I want to know how do I initiate another install procedure during the next reboot, when the pc auto logs into my own account?? My account has been setup to be created druing the Ua install, but I believe the pc will always first boot into the default admin account??I would imagine that I somehow need to create a file just before the PC reboots from the admin account into my personal account... that sts in the startup folder of my profile, which would then install all my apps/reg tweaks... then delete itself, then reboot...Is this the right way to do it???Thanks
MHz Posted September 10, 2005 Posted September 10, 2005 You ask a number of questions, but to fix a certain one may fix the rest. You tend to believe that the pc will logon first by default, into the Admin account. The default is not to autologon into the Admin account. It needs to be specified in Winnt.sif to allow Admin autologon to happen.To allow autologon into the Admin account, you must have AutoLogon = Yes under the GuiUnattended section of Winnt.sif. If this was not intended by yourself, then setting it to No would solve your other questions.You can use a cmd or a reg file to set autologon into your account. If you use Oobeinfo.ini, then a single user entry enables autologon for that user.Changing the Admin autologon and setting the user to autologon will make you other questions obsolete.
drscouse Posted September 11, 2005 Author Posted September 11, 2005 Thanks very much....Such an obvious suggesstion really.... at present, as you point out.. I have AutoLogon = Yes.. having never needed to change this since my original build a long while ago, I simply forgot about it, and assumed Windows atuomatically logged onto the admin account... doh!!!My system would auto logon to admin, install apps etc, then reboot and auto logon to my user account, and as apps had installed in admin, many tweaks/icons were not present...Such a simple solution.. and I cant believe I missed it!!!Thanks for pointing that out!!!
drscouse Posted September 11, 2005 Author Posted September 11, 2005 Hmm that didnt work... just took me to the login screen for the Admin account...However, I think its they way my personal account is being created... I was using a UaCD creator, which was making my account using the NET USE command from a runOnceEx command... which, only runs upon loggin in... to the defualt Admin account, as this is the only one present at that time....Im not familiar with Oobeinfo.ini... with have to do a bit more research... Thanks
drscouse Posted September 11, 2005 Author Posted September 11, 2005 (edited) Ive tried a few times, changed autologin=no, and autologoncount=0 for the admin in guiunattended... but it still boots to the admin logon screen.After readin info on unattended.msfn about adding users, I am now trying the commandlines.txt way, which I believe creates the account at the t12 mark.... so finger crossed...Although I dont know how/why an autologon.reg would override the default admin accout from auto logon... but we will soon find out if it works!!! Edited September 11, 2005 by drscouse
drscouse Posted September 11, 2005 Author Posted September 11, 2005 SUCCESS.... well almost...Got my account to boot up, but I think setting autologoncount=0 prevented if from loggin in (obvious really)... I thought that this only applied to the default admin account...Thanks for putting me on the right track!!
gunsmokingman Posted September 11, 2005 Posted September 11, 2005 Here a script that will add a user account.User AccountsHere the tread on it, this may helpThe Thread
MHz Posted September 12, 2005 Posted September 12, 2005 SUCCESS.... well almost...Got my account to boot up, but I think setting autologoncount=0 prevented if from loggin in (obvious really)... I thought that this only applied to the default admin account...Thanks for putting me on the right track!!<{POST_SNAPBACK}>Autologon within the Winnt.sif does only apply to the default admin account. This is why I mention of creating a cmd or reg file to create the autologon (for the new account created).Oobeinfo.ini is a nice easy way to create a single account with autologon, or multiple accounts, up to 6. More then 1 requires an extra cmd or reg file to enable autologon.You just create a file in $OEM$\$$\system32\oobe\oobeinfo.ini. Insert an entry like this in it.[Userinfo]Identity000=drscouseThe above example will create an account called drscouse and it will have autologon set as default.
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