Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hey all i am hoping someone knows how to set up Server 2012 with auto logon?

I already tried: winserver2012

But i am unable to find the checkbox that was in 2008 server that said "Users must enter a user name and password to use this computer."

Where else can i go/do in order to do this auto login?

share|improve this question
    
May I recommend the excellend FLOSS program Greenshot for your next screenshot? ;) –  0xC0000022L Dec 15 '13 at 1:15

6 Answers 6

up vote 7 down vote accepted

Try to use the registry key technique.

You will need to have an account with a password for this to work.

  1. Run regedit.exe

  2. Navigate to

    HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon
    
  3. Set or create the following keys

    AutoAdminLogon = "1"
    DefaultUserName = Your user name
    DefaultPassword = Your password
    
  4. Restart and let us know if it works!

share|improve this answer
2  
Would you mind elaborating on that? –  Oliver Salzburg Nov 5 '12 at 0:44
    
@Oliver Salzburg give me a second :-) –  Mikhail Nov 5 '12 at 0:45
    
Where are those registry keys located? Is a search really necessary? –  Oliver Salzburg Nov 5 '12 at 0:47
    
@OliverSalzburg You should really wait a few seconds before the author has finished writing. –  Mikhail Nov 5 '12 at 0:54
5  
Why don't you finish your answer before you post it? :D –  Oliver Salzburg Nov 5 '12 at 0:55

Autologon from Sysinternals should do the trick. It’s really simple too.

share|improve this answer

I would not manually edit the registry. Use the netplwiz.exe app that comes standard with 2012 (and 2008 as well). This opened the following User Accounts box for me.enter image description here

Just search for the app through the start menu, or travel to C:\Windows\System32 to find it

share|improve this answer
    
And it appears that the password is not stored in the clear in the registry when you do it this way. A far better way of doing it. –  Matt H Jan 13 at 1:00
    
For the ones as dumb as myself, you need to CLEAR "Users must enter a user name and password to use this computer" and it will ask for a password in which will make the server auto logon. –  F.Aquino Oct 19 at 2:12

You must replace or create the following keys in registry :

HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon

AutoAdminLogon = 1

DefaultUsername = currentUserName

DefaultPassword = currentPassword

Reference : http://techsultan.com/autologin-on-windows-server-2012/

share|improve this answer

if you only set "AutoAdminLogon = 1" you will get your checkbox back for "Users must enter a user name and password to use this computer.".

That way you don't have to do too much in the registry.

share|improve this answer

I think this is easiest to do from PowerShell...

Type:

PS:> $RegPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

PS:> Set-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String

PS:> Set-ItemProperty $RegPath "DefaultUsername" -Value "YOURDOMAINNAME\Administrator" -type String

PS:> Set-ItemProperty $RegPath "DefaultPassword" -Value "YOURPASSWORD" -type String

I don't know if that's easier overall, but it's something you can do from a remote PowerShell session. To my mind that makes it much more accessible.

share|improve this answer

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.