Skip to content

Instantly share code, notes, and snippets.

@zh4n7wm
Created September 17, 2024 09:45
Show Gist options
  • Save zh4n7wm/63895ca14f5b76a157ea15d80e5fba54 to your computer and use it in GitHub Desktop.
Save zh4n7wm/63895ca14f5b76a157ea15d80e5fba54 to your computer and use it in GitHub Desktop.
Windows Tips

disable CTRL+ALT+DELETE

refs: https://answers.microsoft.com/en-us/windows/forum/all/disable-ctrlaltdel-login-in-windows-10-home/cbc90186-114b-4720-a3aa-ba30c7b911f5

open Run, type Control Userpasswords2 and hit Enter to open the User Accounts Properties box. Open the Advanced tab, and in the Secure logon section, click to clear the Require users to press Ctrl+Alt+Delete check box if you want to disable the CTRL+ALT+DELETE sequence. Click Apply/OK > Exit.

If greyed out:

Run secpol.msc and hit Enter.

In the left pane, select Local Policies > Security Options. Now in the right pane, double click on Interactive logon: Do not require CTRL+ALT+DEL. Enable the policy as per your requirement, click Apply/OK and Exit.

禁用 密码复杂度要求

  1. 打开 PowerShell(管理员权限)

    • 右键单击 Start 按钮,选择 Windows PowerShell (Admin)
  2. 运行命令以导出当前安全配置

    • 输入以下命令以导出当前安全配置:
      secedit /export /cfg C:\secconfig.cfg
  3. 修改导出的配置文件

    • 使用文本编辑器打开导出的 C:\secconfig.cfg 文件,找到以下行:
      PasswordComplexity = 1
      
    • 1 修改为 0,然后保存文件。
  4. 导入更改的配置文件

    • 在 PowerShell 中运行以下命令以导入修改后的配置文件:
      secedit /configure /db secedit.sdb /cfg C:\secconfig.cfg
  5. 重启计算机

    • 重新启动计算机以应用更改。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment