1. 按 win+r 執行 regedit 2. 找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon 按 tab 3. 把 AutoRestartShell 的值改為 1