為安全考量,管理者常啟用群組原則「僅允許執行指定的 Windows 應用程式」,若不慎將 gpedit.msc、mmc.exe、regedit.exe 等管理工具排除在白名單外,系統將陷入「無法執行任何程式」的鎖死狀態。以下提供五種不重灌即可解鎖的實戰技巧。
C:\Windows\System32\mmc.exe。C:\Windows\System32\gpedit.msc。mmc.exe 啟動主控台。原理:該限制透過登錄機制實現,安全模式不載入該登錄值。
前提:記得白名單中允許的程式檔名(如 qq.exe),且允許類型為 .exe/.com/.bat 之一。
C:\Windows\System32。mmc.exe 重命名為白名單名稱(如 qq.exe)。gpedit.msc 解鎖。進階變體:若白名單含 regedit.exe,可編輯登錄:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
值改為:C:\Windows\System32\userinit.exe,mmc.exe
重開機後自動啟動 MMC 進行解鎖。
C:\Windows\System32\dllcache\logon.scr 到 D:\ 備份。C:\Windows\System32\dllcache\logon.scr → 系統彈出檔案保護警告 → 選「取消」。C:\Windows\System32\logon.scr。C:\Windows\System32\mmc.exe 重命名為 logon.scr。logon.scr 複製回兩個資料夾。C:\Windows\System32\dllcache\taskmgr.exe → 重命名為 taskmgr1.exe。C:\Windows\System32\taskmgr.exe → 重命名為 taskmgr1.exe。C:\Windows\System32\mmc.exe → 重命名為 taskmgr.exe。taskmgr1.exe 改回 taskmgr.exe。mmc.exe、gpedit.msc、regedit.exe、taskmgr.exe 等管理工具。gpedit.msc → 動作 → 匯出/匯入。