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

Windows 環境變數 Path 修改錯誤怎麼辦?恢復系統預設值修復 MMC/服務無法開啟

編輯:關於 Windows

環境變數 Path 修改錯誤會導致 MMC 管理單元無法建立、services.msc、gpedit.msc 等系統工具無法開啟。恢復預設值即可修復。

恢復步驟

  1. 右鍵「我的電腦」/「電腦」→ 「內容」→ 「進階系統設定」→ 「環境變數」。
  2. 「系統變數」區 → 選 Path → 「編輯」。
  3. 變數值改為系統預設:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
  4. 若安裝 MySQL、PHP、Java 等需額外路徑,依安裝路徑自行追加(如 ;C:\mysql5.5\bin)。
  5. 確定所有視窗,重新開機或重新登入生效。

注意:不需輸入磁碟代號,%SystemRoot% 會自動解析為系統碟路徑。

Copyright © Windows教程網 All Rights Reserved