Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win7/XP 禁用/恢復控制台、註冊表編輯器、群組原則:註冊表鍵值與 gpedit.msc 雙重管控

編輯:關於 Windows

網管/教室電腦常需限制使用者存取控制台、註冊表、群組原則。透過註冊表鍵值或 gpedit.msc 可實現禁用與恢復,Win7/XP 通用。

一、註冊表編輯器禁用/恢復

  • 路徑:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
  • 值:DisableRegistryTools (DWORD),1=禁用,0=恢復。
  • 若已禁用無法開啟 regedit,用 .reg 檔匯入恢復:
    Windows Registry Editor Version 5.00\n[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]\n"DisableRegistryTools"=dword:00000000

二、控制台禁用/恢復

  • 路徑:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  • 值:NoControlPanel (DWORD),1=禁用,0=恢復(無效則刪除該值)。

三、群組原則禁用/恢復

  • 路徑:HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\{8FC0B734-A0E1-11D1-A7D3-0000F87571E3}
  • 值:Restrict_Run (DWORD),1=禁用,0=恢復或刪除上層機碼。

四、透過 gpedit.msc 圖形化管理(推薦)

  1. 開啟 gpedit.msc →「使用者設定 → 系統管理範本」。
  2. 「阻止使用者存取註冊表編輯工具」→ 啟用=禁用,停用/未設定=恢復。
  3. 「禁止存取控制台」→ 同理設定。
  4. 解禁時同樣路徑改為「未設定」。

優先級說明

群組原則優先於註冊表直設,若兩者衝突以群組原則為準。建議統一使用 gpedit.msc 管理,集中可見、易維護。

Copyright © Windows教程網 All Rights Reserved