AutoAdminLogon in Windows Server 2019 not working

CptRetro 501 Reputation points
2021-02-22T08:42:29.383+00:00

Hello all, for automation purposes in my home lab I try to activate the AutoAdminLogon in Server 2019 but it does not work. I also take a look into gpedit.msc to be sure that interactive logon message text and title is empty but still no auto logon. During my test I changed the password in the registry to see if Windows reacts to the wrong password and it does. Windows told me after a reboot that my password is wrong but if I use the correct password, nothing happens. In addition I try Autologon from sysinternals as well but the same issue.

I used those settings:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"DefaultUserName"="Administrator"
"DefaultPassword"="Pa$$w0rd"
"DefaultDomainName"="WIN-P1TQU9M6OE6"

Any idae how to solve this issue?

Cheers

Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

Accepted answer
  1. CptRetro 501 Reputation points
    2021-02-22T17:26:42.997+00:00

    Got it! I use Hyper-V with EEnhanced Session". It is necessary to uncheck Enhanced Session. Now it works.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. CptRetro 501 Reputation points
    2021-02-22T15:26:56.467+00:00

    Currently I testing a simple CMD script:
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoAdminLogon /d 1 /f
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v AutoLogonCount /t REG_DWORD /d 10 /f
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultDomainName /d WIN-P1TQU9M6OE6 /f
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName /d Administrator /f
    reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultPassWord /d Pa$$w0rd /f

    AutoAdminLogon is still not functional but I can see that the count of 10 will decrease by 1 after every reboot.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.