averagecdn Posted March 14, 2006 Share Posted March 14, 2006 I recently created a new image that requires an autologin. I made the appropiate changes as directed online and then syspreped the machine and ghosted it. When I deployed the image to test it. I am being prompted for a user name.Please see below for teh instructions I followed.Start Regedt32.exe and locate the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon 2. Establish your domain name, account name, and password, using the values you would normally type when logging on. You should assign the following values: DefaultDomainName, DefaultUserName, and DefaultPassword.NOTE: The DefaultDomainName and DefaultUserName values may already exist. The DefaultPassword value may not. If it does not, create it. To do so: a. On the Edit menu, click Add Value. b. In the Value Name box, type DefaultPassword. c. In the Data Type box, click REG_SZ. d. Click OK. e. In the String Editor box, type your password. Click OK and save your changes. NOTE: If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false). This disables the AutoAdminLogon feature. This behavior also occurs if the DefaultPassword string is specified but the password is left blank or null. 3. On the Edit menu, click Add Value. Type AutoAdminLogon in the Value Name box. Click REG_SZ in the Data Type box. Enter 1 in the String box. Save your changes. 4. Quit Regedt32.exe. 5. Shut down Windows and turn off the computer. 6. Restart your computer and Windows 2000. You should be able to log on automatically now. Note that this setting only applies to the first logon. To enforce this setting for subsequent logoffs, the administrator must configure the following setting: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\WinlogonValue: ForceAutoLogonType: REG_SZData: 1 Link to comment Share on other sites More sharing options...
fizban2 Posted March 14, 2006 Share Posted March 14, 2006 it would think that once you sysprepped the machine that those changes would have dissappeared, i don't remeber all that sysprep removes though... anyone else? Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted March 14, 2006 Share Posted March 14, 2006 Yeah, Sysprep pretty much sets everything back to default "just installed" settings. You should be able to modify your Sysprep answer file though to include those changes back into the system(s). Link to comment Share on other sites More sharing options...
cluberti Posted March 14, 2006 Share Posted March 14, 2006 You can add autologon settings to your sysprep answer file - it's in the help file. Link to comment Share on other sites More sharing options...
averagecdn Posted March 15, 2006 Author Share Posted March 15, 2006 You can add autologon settings to your sysprep answer file - it's in the help file.This is exactly what the deploy.chm file saysAutoLogonAfter the unattended setup is complete you can cause the freshly installed system to automatically log in as the Administrator. Enabling AutoLogon prevents network printers from being installed for a domain user's account. Instead, the system processes the GuiRunOnce key while logged on as Administrator. If you install network printers, AutoLogon should not be enabled.I however require to logon as a user everytime the machine starts. Is there a way I can add something to the GuiRunOnce key to cause this to happen? Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted March 16, 2006 Share Posted March 16, 2006 You can apply your same registry entries as before...they just have to be done as part of SysPrep. Look for the [GuiRunOnce] documentation in deploy.chm. Link to comment Share on other sites More sharing options...
averagecdn Posted March 17, 2006 Author Share Posted March 17, 2006 thanks I will check it out. Link to comment Share on other sites More sharing options...
averagecdn Posted March 17, 2006 Author Share Posted March 17, 2006 Ok so the GuiRunOnce import worked however the machine is not automatically logging on. It comes up after the reboot and prompts you to logon as the administrator. I logon as administrator and it appears to process the GuiRunOnce key in the registry. After the reboot its back awaiting a logon again however this time instead of waiting for the administrator password its waiting for the user password to be entered. Link to comment Share on other sites More sharing options...
averagecdn Posted March 17, 2006 Author Share Posted March 17, 2006 Ok thanks for the help everyone. Its working now. It always helps to make sure the files are in the proper locations. 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