Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How to enforce autologin not just first time when computer boots, but even if user click logoff.

So when user clicks logoff, he is imidiatly loged back.

share|improve this question
    
I saw this on some embeded winXP box. When you powerd on the computer you get logged directly into user account. When you cklicked log off you have been logged of and the imidiatly loged in back again. For accessing the administrator account you have had to press and hold shift key and then click logof. This way you get the normal windows login dialog. –  Primoz Mar 5 '11 at 15:07
add comment

3 Answers

up vote 0 down vote accepted

On Windows XP and Windows 2003:

Under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon add the following values (of type REG_SZ):

  1. DefaultUserName – the user name
  2. DefaultPassword – the password to use
  3. AutoAdminLogon1 to enable automatic logon
  4. ForceAutoLogon1 to enforce automatic logon when the user logs out

Note that the key and all of its values, including DefaultPassword, are readable by authenticated users both locally and through Remote Registry:

share|improve this answer
    
Thank you very much. –  Primoz Mar 7 '11 at 22:31
add comment

Use a GPO to remove the user's ability to log off.

Problem solved.

share|improve this answer
    
This is not the desired solution. –  Primoz Mar 5 '11 at 15:07
add comment

You can do this with out using GPO by using tweakui...Another way the problem is solved.

share|improve this answer
    
This is not the desired solution. –  Primoz Mar 5 '11 at 15:09
    
@Primoz: It would be more helpful if your comments explained why the solution is undesired. –  grawity Mar 5 '11 at 15:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.