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

Windows 開機自動執行完全清單:2 個資料夾 + 8 個註冊表鍵值一網打盡

編輯:系統最佳化

控制開機自啟動不只看「啟動」資料夾。Windows XP/2000/2003 透過 2 個資料夾與 8 組註冊表鍵值實現自動執行,惡意程式常藏匿其中。本文提供完整清單與清理指南。

📁 兩大資料夾位置

類型路徑範圍
當前使用者%USERPROFILE%\「開始」功能表\程式集\啟動
(XP: C:\Documents and Settings\<用戶>\開始功能表\程式集\啟動)
僅當前登入用戶
所有使用者%ALLUSERSPROFILE%\「開始」功能表\程式集\啟動
(XP: C:\Documents and Settings\All Users\開始功能表\程式集\啟動)
任何用戶登入皆生效

現代 Windows (Vista/7/8/10/11) 對應路徑:
shell:startup (當前用戶) / shell:common startup (所有用戶)

🗝 八大註冊表自啟動鍵值 (HKCU + HKLM 各一組)

鍵值名稱路御 (HKCU / HKLM)執行時機備註
RunSoftware\Microsoft\Windows\CurrentVersion\Run使用者登入後,啟動資料夾前最常用,多數軟體在此
RunOnceSoftware\Microsoft\Windows\CurrentVersion\RunOnce登入後,Run 之後,僅執行一次安裝程式常用
RunOnceExSoftware\Microsoft\Windows\CurrentVersion\RunOnceEx (僅 HKLM)登入後,RunOnce 之前XP/2003 專屬,安裝精靈用
RunServicesSoftware\Microsoft\Windows\CurrentVersion\RunServices使用者登入前,服務階段服務類程式
RunServicesOnceSoftware\Microsoft\Windows\CurrentVersion\RunServicesOnce登入前,RunServices 之前,僅一次服務安裝用
RunOnce\SetupSoftware\Microsoft\Windows\CurrentVersion\RunOnce\Setup登入後,其他 Run 之前安裝精靈
Explorer\RunSoftware\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run受群組原則控制企業環境常見
LoadSoftware\Microsoft\Windows NT\CurrentVersion\Windows\load (僅 HKCU)極早期,Userinit 之前極少用,惡意程式藏匿點
UserinitSOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit (僅 HKLM)系統啟動極早期預設 userinit.exe, 可追加多程式用逗號分隔

🧹 高效清理 SOP

  1. 授權工具法 (推薦): Autoruns (Sysinternals) — 圖形化列出所有自啟動項、服務、排程任務、驅動、Winsock 提供者,可驗證簽章、跳轉註冊表、一鍵停用/刪除。
  2. 原生工具法: Win+R → msconfig → 「啟動」頁籤 (Win 7) / 工作管理員「啟動」頁籤 (Win 8+)。
  3. 手動註冊表法: regedit 逐一檢查上表路徑,刪除可疑字串值 (右鍵 → 刪除)。操作前請匯出備份對應分支。

⚠️ 判斷可疑項準則

  • 無簽章/簽章無效/發行者不明
  • 路徑指向 Temp、AppData\Roaming、ProgramData 非正規安裝目錄
  • 檔案名稱隨機字元 (如 xqz32.exe)
  • 命令列包含參數 -hide、/silent、regsvr32、rundll32 等
  • 啟用後 CPU/記憶體/網路異常佔用

📋 快速檢查清單 (複製存檔)

shell:startup
shell:common startup
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
HKCU\Software\Microsoft\Windows\CurrentVersion\RunServices
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
HKCU\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\Setup
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\load
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit

定期掃描這 20 個位置,配合 Autoruns 簽章驗證,能攔截 99% 的流氓自啟動與惡意程式持久化嘗試。

Copyright © Windows教程網 All Rights Reserved