萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Windows XP 教學

Windows 尋找開機自動執行程式的 8 大管道完整指南

為什麼要查找自啟動程式?

開機自動載入過多程式會拖慢啟動速度,病毒、木馬也常駐留於此。掌握完整查找管道,是系統維護與安全檢查的基本功。

八大查找管道

一、「啟動」資料夾

路徑:
XP/2000:系統盤:\Documents and Settings\使用者名稱\開始功能表\程式集\啟動\
9x/Me:系統盤:\WINDOWS\Start Menu\Programs\啟動\
查看捷徑屬性即知程式實際路徑。

二、自動批次檔

  • Win 98:Autoexec.bat、Winstart.bat 會自動執行。
  • Me/2000/XP/2003:預設不執行這兩個檔案。

三、系統設定檔

檢查 Config.sys、Win.ini、System.ini、Wininit.ini、Msdos.sys 中的 run=、load= 等鍵值。

四、系統設定公用程式

Win+R → msconfig.exe → 「啟動」索引標籤,即可查看所有隨機啟動的程式名稱、路徑、註冊表位置。
注意:Win 2000 內建無 msconfig,可從 XP/2003 複製 msconfig.exe 使用。

五、排程工作

控制台 → 「工作排程器」,檢查是否有設定在系統啟動時執行的工作。

六、系統資訊工具

Win+R → msinfo32 → 展開「軟體環境」→「啟動程式」,右側列出所有自啟動項目與路徑。

七、群組原則

Win+R → gpedit.msc → 「使用者設定」→「系統管理範本」→「系統」→「登入/登出」→「在使用者登入時執行這些程式」→「顯示」。

八、登錄編輯器

重點檢查以下機碼:

  1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit(允許多程式以逗號分隔)
  2. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run 及 HKEY_LOCAL_MACHINE\...\Policies\Explorer\Run
  3. RunServicesOnce:使用者登入前啟動服務程式
  4. RunOnce、RunOnceEx:僅執行一次的程式
  5. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run(最常見)
  6. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
  7. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
  8. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
  9. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
  10. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs(載入 DLL)
  11. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\Load
  12. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\Run
  13. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
  14. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
  15. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects(IE BHO)
  16. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad
  17. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved
  18. HKEY_CLASSES_ROOT\CLSID\{...}\InprocServer32(殼層擴充)
  19. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services(服務)
  20. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute(開機執行 autocheck 等)

工具推薦

手動檢查登錄繁瑣,建議搭配 Autoruns (Sysinternals)、CCleaner、WinPatrol 等工具一鍵掃描、管理所有自啟動項目。

copyright © 萬盛學電腦網 all rights reserved