How to temporarily disable autologon, setup with sysinternals

Greg Booth 1,316 Reputation points
2023-10-02T16:22:18.8+00:00

We have a server, that when it boots up, a number of processes automatically start. It looks like this server has been configured to use the sysinternal autologon functionality.

In the registry the following key exists:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

 and has values set for AutoAdminLogin and the DefaultUsername have been set.

We would like to temporarily disable the automatic login. What is the best way to do this ? Will setting that AutoAdminLogon value to 0 do this ?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,132 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2023-10-02T16:22:18.8+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To temporarily disable automatic login on a server that has been configured to use Sysinternals Autologon functionality, you can modify the AutoAdminLogon value in the registry. Setting the AutoAdminLogon value to 0 will disable automatic login. To do this, follow these steps:

    1. Click Start, and then click Run.
    2. In the Open box, type Regedit.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 AutoAdminLogon entry.
    5. In the Edit String dialog box, change the value to 0 and then click OK.
    6. Exit Registry Editor.

    Setting the AutoAdminLogon value to 0 will disable automatic login. To enable automatic login again, set the AutoAdminLogon value back to 1.


    References:

    1 person found this answer helpful.
    0 comments No comments