Windows automatic log in for headless servers

Configuring Windows to log in automatically for Headless Servers

For those signing on with a PIN, this will disable the PIN login method and automatically log you in using your Microsoft account credentials supplied in these strings.

To configure Windows to log in automatically, you'll need to follow these steps: 
  1. Click Start, and then click Run.

  2. In the Open box, type Regedt32.exe, and then press Enter.

  3. Locate the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon subkey in the registry.

  4. Double-click the DefaultUserName entry, type your user name, and then click OK.

  5. Double-click the DefaultPassword entry, type your password, and then click OK.

    If the DefaultPassword value does not exist, it must be added. To add the value, follow these steps:

    1. On the Edit menu, click New, and then point to String Value.

    2. Type DefaultPassword, and then press Enter.

    3. Double-click DefaultPassword.

    4. In the Edit String dialog, type your password and then click OK.


      If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.

  6. On the Edit menu, click New, and then point to String Value.

  7. Type AutoAdminLogon, and then press Enter.

  8. Double-click AutoAdminLogon.

  9. In the Edit String dialog box, type 1 and then click OK.

  10. If you have joined the computer to a domain, you should add the DefaultDomain value, and the data for the value should be set as the fully qualified domain name (FQDN) of the domain.

  11. Exit Registry Editor.

  12. Click Start, click Shutdown, and then type a reason in the Comment text box.

  13. Click OK to turn off your computer.

  14. Restart your computer. You can now log on automatically.

Please note: adding, removing, or otherwise changing Windows registry values can have serious effects if done incorrectly.

If you have any trouble, additional information can be found on Mircosoft's documentation website.

    • Related Articles

    • Roon Server not running

      If you’re seeing an error telling you Roon Server is not running, there are some simple troubleshooting steps you can try. Click "Start Roon Server" If you run Roon Server on Windows or Mac, you may see a “Start Roon Server” button, which will start ...
    • Installing Roon

      Operating Systems covered in this article: macOS Windows Linux iOS and Android Minimum Requirements See the FAQ: What are the minimum requirements for more information about the hardware and software platforms supported by Roon. Installing Roon on ...
    • Roon Server on NAS

      Roon Server requires a more powerful processor than most media servers due to our architecture. Historically, most NAS devices have not been powerful enough to deliver a first-class experience with Roon, but an increasing number are becoming capable. ...
    • Installing Roon on Linux

      Overview Two packages are available for Linux: [[Roon Bridge|RoonBridge]] and [[Roon Server|RoonServer]]. There is no real purpose to running Roon Server and Roon Bridge on the same machine, since both provide identical access to audio devices. That ...
    • Roon 1.8 <-> 2.0 Migration FAQ

      If you are on this page, it means you are not quite ready to use Roon 2.0, but would like to know what your options are. We answer questions like "How long can I use Roon 1.8", "Will I be able to upgrade to Roon 2.0 later?" and more in this article. ...
    Visit the Roon Community!
    Need help? Thousands of Roon subscribers and audio enthusiasts are chatting over on our community site right now, join them! You don't even need a Roon subscription to sign up.