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

Posted on 2012-08-22
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
    LVL 19

    Accepted Solution

    LVL 19

    Assisted Solution

    LVL 2

    Assisted Solution

    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]
    LVL 2

    Assisted Solution


    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,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Email statistics and Mailbox database quotas You might have an interest in attaining information such as mailbox details, mailbox statistics and mailbox database details from Exchange server. At that point, knowing how to retrieve this information …
    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now