場景:Windows XP/7 登入畫面點選使用者後顯示「正在載入個人設定」隨即自動登出,無法進入桌面。典型原因:userinit.exe 掛載路徑錯誤、登錄檔損毀、病毒掛載、用戶設定檔損壞。
RTL8169)。regedit)。HKEY_LOCAL_MACHINE → 「檔案」→「載入配置單元」。C:\Windows\System32\config\SOFTWARE (或 SYSTEM),鍵入鍵名 PE_Repair。HKEY_LOCAL_MACHINE\PE_Repair\Microsoft\Windows NT\CurrentVersion\Winlogon。C:\Windows\system32\userinit.exe, (結尾有逗號)。shell = explorer.exe。PE_Repair → 「檔案」→「卸載配置單元」 (重要!否則檔案鎖定無法開機)。C:\Windows\System32 複製)。HKEY_LOCAL_MACHINE\PE_Repair\...\Run、RunOnce 移除可疑項目。sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows (Win7/8/10/11 PE)。bootrec /fixmbr、/fixboot、/scanos、/rebuildbcd。boot.wim 加入 Windows 開機選單。userinit 路徑時,路徑必須是目標系統視角的絕對路徑 (如 C:\Windows\system32\userinit.exe,),而非 PE 環境下的路徑。