• Bill C

    I’ve been trying to solve this also on Server 2012 R2. I cannot get your example to work. Are you saying to delete the current AutoAdminLogon and create a new AutoAdminLogon using DWORD (32-bit) Value? Then add the modifier of “00000001”. Or simply change the current AutoAdminLogon to “dword=00000001”

    • If you already have one, I assume you’d just change it to 1? Are you sure that the username and password you’ve entered is correct?

      • Bill C

        Hey Torleif. First, thanks for replying!

        I am the SA here and have the password. I tried using the version that works on Server 2012, by simply changing the “AutoAdminLogon” to 1 on the VM’s running Server 2012 R2. Then I added the DefaultUserName and DefaultPassword when AutoAdminLogon did not work by itself. Still, the Auto Logon does not function correctly. Server 2012R2 still stops after reboot asking for the Administrator Password. This is why I was wondering if you deleted the “AutoAdminLogon” and replaced it with a new REG_DWORD String named AutoAdminLog in the Registry? There is something that Server 2012 R2 has changed to make the Auto Logon not function as it did on Server 2012.
        Thx
        Bill C

        • Don’t remember what was there from before. I just installed Server 2012 R2 in VirtualBox, set those keys up, rebooted and confirmed that it worked, and finally exported the keys and wrote this blog post ๐Ÿ™‚ If it doesn’t work for you, then I don’t really know what could be wrong. All I can say is: double check that the keys are in the right place and that the username and password is actually correct. If it still doesn’t work, maybe comment on the SuperUser answer I linked to, or ask a new one either there or on ServerFault. Good luck ๐Ÿ™‚

          • Bill C

            The problem is weird (technical term :D). I have 7 of the 2012 R2 version VM’s running and they all do the same thing.
            I was just watching it and noticed that it does logon, but immediately logs off on it’s own. I’ll have to research this one more, unless you have any ideas.
            Thx again!
            Bill C

          • Yeah, if it logs off, then it’s something else :p

          • Nag Rajana

            Did this work for anyone? AutoAdminLogon is setting back to 0 again. Even if i use DWORD it is still converting it as String and setting the value to “0”. Any inputs please?

          • Muhammad Fuzail Zubari

            I am in the same issues as yours. Have you find anyway to fix this. I will look forward to hearing from you.

            Thanks,

  • Bman_IT

    AutoAdminLogon should be a string. That’s why it doesn’t work.

  • David Gardner

    It was missing one thing for me. I needed to edit/add the “DefaultDomain”=”TheDomain”

    • Thanks for letting me know! Didn’t need it in my case, but just might on a future date ๐Ÿ™‚

      • Maciej Jastrzฤ™bski

        Actually, it’s DefaultDomainName ๐Ÿ™‚

  • Brian

    You are better off using Autologon Sysinternals tools to make this happen. It creates the Registry entries for you and automatically hashes/encrypts your password to avoid exposing those credentials.

    https://technet.microsoft.com/en-us/sysinternals/bb963905