開機自動載入過多程式會拖慢啟動速度,病毒、木馬也常駐留於此。掌握完整查找管道,是系統維護與安全檢查的基本功。
路徑:
XP/2000:系統盤:\Documents and Settings\使用者名稱\開始功能表\程式集\啟動\
9x/Me:系統盤:\WINDOWS\Start Menu\Programs\啟動\
查看捷徑屬性即知程式實際路徑。
Autoexec.bat、Winstart.bat 會自動執行。檢查 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 → 「使用者設定」→「系統管理範本」→「系統」→「登入/登出」→「在使用者登入時執行這些程式」→「顯示」。
重點檢查以下機碼:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit(允許多程式以逗號分隔)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run 及 HKEY_LOCAL_MACHINE\...\Policies\Explorer\RunRunServicesOnce:使用者登入前啟動服務程式RunOnce、RunOnceEx:僅執行一次的程式HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run(最常見)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnceHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserinitHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs(載入 DLL)HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\LoadHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\RunHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\RunHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\RunHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects(IE BHO)HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoadHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\ApprovedHKEY_CLASSES_ROOT\CLSID\{...}\InprocServer32(殼層擴充)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services(服務)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute(開機執行 autocheck 等)手動檢查登錄繁瑣,建議搭配 Autoruns (Sysinternals)、CCleaner、WinPatrol 等工具一鍵掃描、管理所有自啟動項目。