/build/static/layout/Breadcrumb_cap_w.png

AutoAdminLogon in Windows Server 2019 not working

Hello all, For days I have been trying to enable AutoLogon on Windows Server 2019, however all attempts failed. I have also checked nteractive logon message text and title, so both values are empty but without success.

I used this script:


reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoLogonCount" /f

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-6JL40BBNPK7  /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


Any idea?



0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: Channeler 3 years ago
Red Belt
0

How was this script executed\ran into that device?
(manually or gpo, or any software)?

Posted by: Michelle.ashby 3 years ago
Purple Belt
0

I have has luck with systernals, and not much else. But like Channeler stated, I think more information is needed to answer your question fully. 

Posted by: CptRetro 3 years ago
White Belt
0

Top Answer

Firat of all: sorry for my late response.

I found out that the enhanced session mode of Hyper-V avoid the auto logon. It works like a charm after turning this feature off

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ