
Windows 10 啟動程序是否以特定順序啟動(例如按字母順序或 CPU 影響順序),還是同時啟動?
是否有特殊情況,程式會比其他程式優先加載,例如出於安全目的首先加載 Windows Defender?
答案1
Windows 在啟動時並行但分組地啟動程序,如下所示:
Windows 啟動裝置驅動程式,其
Start
值等於 0
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
Windows 自動啟動服務和驅動程序,其
Start
值等於 2
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
Windows 延遲自動啟動服務和驅動程序,其
Start
值等於 2 和DelayedAutostart
1:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
僅運行服務一次:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
永久運行服務:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices
使用者登入後,命令如下:
通知登入事件:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify
使用者初始化:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
殼:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
ShellServiceObjectDelayLoad 指向 CLSID InProcServer:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad
RunOnce 本機機器密鑰:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
永久運行:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
RunOnce 目前使用者金鑰(主要用於安裝):
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
資源管理器運作:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
載入金鑰(已棄用):
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\load
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows
共享任務排程器:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler
AppInit_DLL:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows
所有使用者啟動資料夾:
C:\Users\All Users\Start Menu\Programs\Startup
使用者設定檔啟動資料夾:
C:\Users\username\Start Menu\Programs\Startup
資料來源: