Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 登錄編輯器無法開啟?群組原則解鎖與病毒排查雙管齊下

編輯:Windows 7 系統介紹

Windows 7 執行 regedit 無反應、閃退、提示「登錄編輯已被系統管理員停用」,常見原因:群組原則鎖定、惡意程式修改註冊表、優化工具誤關閉。提供群組原則解鎖、註冊表修復、病毒掃描三步驟完整解決。

原因分析

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = 1(群組原則/惡意程式設定)。
  • 系統感染禁用註冊表編輯器的蠕蟲/木馬(如 W32/RJump、AutoRun 病毒變種)。

解決步驟

1. 群組原則解鎖(最常見、最快)

  1. Win+R → gpedit.msc 開啟「本機群組原則編輯器」。
  2. 開啟群組原則編輯器
  3. 依序展開:
    使用者設定 → 管理範本 → 系統
  4. 群組原則系統設定
  5. 右側找到「防止存取登錄編輯工具」→ 雙擊 → 選「已停用」或「未設定」→ 確定。
  6. 防止存取登錄編輯工具設定 設定為已停用
  7. 關閉群組原則視窗,嘗試執行 regedit 驗證。

2. 若 gpedit.msc 也無法開啟(Home 版無群組原則/同樣被鎖)

以系統管理員開啟命令提示字元,執行:

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableRegistryTools /t REG_DWORD /d 0 /f
REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableRegistryTools /t REG_DWORD /d 0 /f

重新開機或登出登入後生效。

3. 病毒掃描與系統修復

  • Windows Defender 離線掃描 / Kaspersky Rescue Disk / Malwarebytes 免費版全盤掃描。
  • sfc /scannow 修復系統檔案。
  • 檢查 HKEY_CLASSES_ROOT\regfile\shell\open\command 預設值為 regedit.exe "%1",若被竄改請修正。
Copyright © Windows教程網 All Rights Reserved