BetaONE will rise again!


Reply
  #1  
Old 23rd Jul 06, 02:45 AM
~*McoreD*~'s Avatar
~*McoreD*~ ~*McoreD*~ is offline
Super Moderator
 
Join Date: Jul 2002
Location: Australia
Posts: 2,902
~*McoreD*~ is an unknown quantity at this point
Prevent Autologon in Server 2003?
Hi All,

I have Administrator to auto logon everytime Windows starts using control userpasswords2. However there is one problem, which I haven't seen in Windows XP. Everytime I log off, it logs me back in to Administrator! So I can't log on to other user accounts.

I remember Will asking this couple of years ago, but couldn't find thread. It happened to be a registry tweak.

Do anybody still have that registry tweak in thier collections?

Thanks,
McoreD
Reply With Quote
  #2  
Old 23rd Jul 06, 05:51 AM
TheMysterio's Avatar
TheMysterio TheMysterio is offline
Senior Member
 
Join Date: Sep 2002
Posts: 419
TheMysterio
Send a message via MSN to TheMysterio
Hello Mate,

Try these (Ofcourse at your own risk )



The following registry hack details the registry keys which control automatic logon: Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: AutoAdminLogon
Type: REG_SZ
Value: 1 enable auto logon
Value: 0 disable auto logon




Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: DefaultUserName
Type: REG_SZ
Value: account to logon automatically


Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: DefaultPassword
Type: REG_SZ
Value: pw for DefaultUserName above
Caution: Password is stored in clear text. Set security permissions on Winlogon subkey to protect the account used.

Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: DefaultDomainName
Type: REG_SZ
Value: if domain account, domain name; if local account, server name


Windows 2000 / XP has an additional registry setting to force autologon and ignore bypass attempts. This can be valuable with a kiosk environment:

Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: ForceAutoLogon
Type: REG_SZ
Value: 1


The following registry values must not exist: LegalNoticeCaption, LegalNoticeText. These values force a person logging into a PC to acknowledge having read the notice. If these values exist, the legal notice dialog hangs until someone hits enter. Don't just null out the values. Delete them.

The value DontDisplayLastUserName determines whether the logon dialog box displays the username of the last user that logged onto the PC. The value does not exist by default. If it exists, you must set it to 0 or the value of DefaultUser will be wiped and autologon will fail.

Finally, the value RunLogonScriptSync determines whether a logon script will run synchronously or asynchronously. It should not effect this process but there have been reports that setting the value=1, that is, sychronous, is more stable.

Whether you use the Autologon utility or the registry approach, there are times when you must logon as another user or need the logon dialog to appear. Hold down the shift key until during boot until the logon dialog appears. For the control freaks, even the shift override can be blocked (also see ForceAutoLogon above) :

Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: IgnoreShiftOverride
Type: REG_SZ
Value: 1


If you want to enable autologon for a certain number of times, follow the above instructins and use the following Windows NT / W2K / XP registry hack: Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: AutoLogonCount
Type: REG_DWORD
Value: # autologons you want to allow
Source : http://www.windowsnetworking.com/nt/.../rtips34.shtml

Good luck with your reg!
Reply With Quote
  #3  
Old 23rd Jul 06, 06:09 AM
~*McoreD*~'s Avatar
~*McoreD*~ ~*McoreD*~ is offline
Super Moderator
 
Join Date: Jul 2002
Location: Australia
Posts: 2,902
~*McoreD*~ is an unknown quantity at this point
Hey TheMysterio,

Thank you for pointing towards the right direction.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

AutoRestartShell to 0 and AutoAdminLogon to 1 with a couple of Reboots did the trick.

Much appreciated.

Last edited by ~*McoreD*~ : 23rd Jul 06 at 06:34 AM.
Reply With Quote
  #4  
Old 23rd Jul 06, 01:42 PM
TheMysterio's Avatar
TheMysterio TheMysterio is offline
Senior Member
 
Join Date: Sep 2002
Posts: 419
TheMysterio
Send a message via MSN to TheMysterio
Glad it worked for you!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Introduces Windows Server 2003 R2 NewsBot NeoWin News 0 7th Dec 05 08:00 PM
Windows SBS 2003 and Windows Server 2003 SP1 Known Issues NewsBot NeoWin News 0 3rd Apr 05 10:00 AM
Microsoft Releases Windows Server 2003 Service Pack 1 NewsBot NeoWin News 0 31st Mar 05 11:00 AM
Windows Server 2003 Service Pack 1 Release Candidate NewsBot NeoWin News 0 7th Dec 04 08:00 PM
Speed up system. greasemonkey Hardware Support 6 6th Nov 01 08:32 PM


All times are GMT +1. The time now is 02:25 AM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.