遺失 Windows XP 系統管理員密碼將導致無法安裝軟體、修改系統設定、存取受保護資源。本文提供五種不同層級的恢復方案,涵蓋內建隱藏帳號、密碼重設磁碟、離線登錄檔編輯、專業重設工具、修復安裝,助你快速奪回系統控制權。
前提:Administrator 帳號未被停用、未設定密碼、安全模式未被群組原則限制。
userkey.psw。限制:必須在遺失密碼前建立,每個帳號專用磁碟。
C:\Windows\System32\config\SAM。chntpw -l SAM 列出使用者chntpw -u "Administrator" SAM 互動式清除/設定密碼reg load HKLM\OfflineSAM C:\Windows\System32\config\SAM,修改對應 RID (0x1F4) 下 V 值位移 0x38 從 11 改 10 (清除密碼)。優點:成功率近 100%、不需進入 Windows、支援所有 XP 版本 (含 x64)。
copy C:\Windows\System32\sethc.exe C:\Windows\System32\sethc.exe.bakcopy C:\Windows\System32\cmd.exe C:\Windows\System32\sethc.exenet user "Administrator" "NewPassword" 重設密碼。copy C:\Windows\System32\sethc.exe.bak C:\Windows\System32\sethc.exe。風險:修改系統檔案、可能觸發檔案保護 (WFP)、需精確操作。
| 工具 | 類型 | 介面 | 支援 | 難度 | 備註 |
|---|---|---|---|---|---|
| Offline NT Password & Registry Editor | 免費開源 | CLI | XP-11, UEFI/BIOS | 中 | 成功率最高、無廣告 |
| PCUnlocker | 商業 | GUI | XP-11, UEFI/RAID/VM | 低 | 付費、技術支援 |
| PassMoz LabWin | 商業 | GUI | XP-11 | 低 | 付費 |
| Kon-Boot | 商業 | CLI | XP-10 (不支援 11) | 中 | 繞過密碼驗證而非重設 |
按成功率與易用性排序:Offline NT Password (chntpw) > 安全模式 Administrator > 密碼重設磁碟 > Sticky Keys 替換 > 修復安裝。建議預先製作一支整合 Offline NT Password 的救援 USB,關鍵時刻插上即可秒解管理員密碼難題。