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

盜版 XP 每小時黑屏一次?關閉自動更新、禁用服務、批處理徹底移除 WGA 驗證

編輯:Windows XP 系統介紹

盜版 XP SP2/SP3 安裝後,若未屏蔽微軟「Windows 真實優勢」(WGA) 驗證,系統會在每小時觸發一次黑屏/彈窗/降級體驗。三級方案徹底根治:

級別 1:預防(裝系統前/剛裝好)

  1. 「我的電腦 → 屬性 → 自動更新」→ 選「關閉自動更新」。
  2. Win+R → services.msc → 禁用 Automatic Updates、Office Source Engine 服務。

級別 2:已中招(每小時黑屏)緊急止血

以管理員身份運行 CMD,依次執行:

sfc /purgecache
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon" /f
taskkill /f /im WgaTray.exe
del "%SystemRoot%\system32\WgaTray.exe" /f /q
del "%SystemRoot%\system32\dllcache\WgaTray.exe" /f /q

重啟即可恢復正常。

級別 3:一鍵批處理(收藏備用)

新建文本文件,貼入以下代碼,存為 RemoveWGA.bat,右鍵「以管理員身份運行」:

@echo off
sfc /purgecache
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon" /f
for %%i in (system32 dllcache) do (
  if exist "%SystemRoot%\%%i\WgaTray.exe" (
    taskkill /f /im WgaTray.exe
    del "%SystemRoot%\%%i\WgaTray.exe" /f /q
  )
)
if exist "%SystemRoot%\WgaTray.exe" (
  taskkill /f /im WgaTray.exe
  del "%SystemRoot%\WgaTray.exe" /f /q
)
echo WGA驗證組件已清除,請重啟電腦。
pause

根本建議

  • 條件允許請購買正版授權(數字權利/零售盒/批量授權)。
  • 舊硬體跑不動 Win10/11,可考慮 Linux Mint / Ubuntu / Debian 等輕量級發行版,安全、免費、長期支援。
  • 工控/離線設備必須用 XP 時,物理隔離網絡、禁用自動更新、做好映像備份。

技術手段能解症,正版/替代系統才能治本。

Copyright © Windows教程網 All Rights Reserved