Disable/Enable secure logon on windows 7 via commandline

In windows you can disable the usage of ctrl+alt+delete before logging in.
{Via netplwiz or user controlpasswords2 then advanced will give you a window with at the bottom of it this option}.
Is there any possibility that this is able to be done using cmd or powershell?
I have been looking for a solution for about 3 weeks without any success.

2 Answers

From TechNet: You need to change the registry value

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

  • 0 means Users must press CTRL+ALT+DEL to log on to the system. or
  • 1 means Users need not press CTRL+ALT+DEL to log on to the system.

Registry values can be set by reg.exe (via cmd.exe) or with built-in mechanisms in PowerShell (Set-Location, Set-ItemProperty).

4

To enable Ctrl Alt Del logon Screen, run form cmd "reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DisableCAD" /t REG_DWORD /d 0 /f"

To disable Ctrl Alt Del logon Screen, run from cmd "reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DisableCAD" /t REG_DWORD /d 0 /f"

If "AutoAdminLogon" exists in this registry path, run from cmd "reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /t REG_SZ /d 0 /f"

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like