[Webinar] Learn how to a build a cloud-first strategyRegister Now


Make a Server 2008 R2 server automatically logon as administrator whenever it boots up

Posted on 2012-08-22
Medium Priority
Last Modified: 2012-09-01
I need to make a Server 2008 R2 server automatically logon as administrator whenever it boots up.

This will not be a security risk since I will only be doing this on some Server 2008 R2 Hyper-V virtual servers in my home lab environment.

What registry keys do I need to modify to be able to do this?

Or is there a free utility that I can download that will enable me to do this?
Question by:Knowledgeable
  • 2
LVL 19

Accepted Solution

R--R earned 1000 total points
ID: 38321856
LVL 19

Assisted Solution

R--R earned 1000 total points
ID: 38321887

Assisted Solution

linkkoh earned 500 total points
ID: 38321914
Create a Notepad Document, copy the following and rename it to a .reg

change the Default Domain Name to your Domain, and change the password.  Then merge into registry on t he servers.

Windows Registry Editor Version 5.00

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

Assisted Solution

gfilipe earned 500 total points
ID: 38321933

I would have to ask this is a domain member? to you want to make autologon with local administrator or a domain administrator?

If this is to be done with local administrator:
Click Start Run and enter control userpasswords2
Clear the checkbox for Users must enter a user name and password to use this computer and click Ok.

This should be enought.
If it is a domain member, then:
You should check mentioned Registry by R--R:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d "1" /f

and note that you will also have to add the domain or localmachine depends on what you need, so to do this:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /t REG_SZ /d "yourdomain" /f

Hope this answers your questions,

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question