MSFN Forum: [Question] Windows 2000 - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Question] Windows 2000 Autologin with Image Rate Topic: -----

#1 User is offline   averagecdn 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-September 05

Posted 14 March 2006 - 11:54 AM

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\Winlogon
Value: ForceAutoLogon
Type: REG_SZ
Data: 1


#2 User is offline   fizban2 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,897
  • Joined: 14-April 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 March 2006 - 01:28 PM

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?

#3 User is offline   nmX.Memnoch 

  • MSFN Master
  • Group: Moderator
  • Posts: 2,086
  • Joined: 15-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 March 2006 - 01:46 PM

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).

#4 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 10,936
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 March 2006 - 03:41 PM

You can add autologon settings to your sysprep answer file - it's in the help file.

#5 User is offline   averagecdn 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-September 05

Posted 15 March 2006 - 08:12 AM

View Postcluberti, on Mar 14 2006, 04:41 PM, said:

You can add autologon settings to your sysprep answer file - it's in the help file.


This is exactly what the deploy.chm file says

AutoLogon
After 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?

#6 User is offline   nmX.Memnoch 

  • MSFN Master
  • Group: Moderator
  • Posts: 2,086
  • Joined: 15-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 March 2006 - 05:42 PM

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.

#7 User is offline   averagecdn 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-September 05

Posted 17 March 2006 - 10:03 AM

thanks I will check it out.

#8 User is offline   averagecdn 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-September 05

Posted 17 March 2006 - 10:53 AM

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.

#9 User is offline   averagecdn 

  • Junior
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 01-September 05

Posted 17 March 2006 - 11:58 AM

Ok thanks for the help everyone. Its working now. It always helps to make sure the files are in the proper locations.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy