Vista 登入驗證比 XP 嚴格,忘記密碼極難進入。但登入畫面存在「粘滯鍵」漏洞:按 5 次 Shift 觸發 sethc.exe。在雙系統(XP+Vista)環境下,可從 XP 替換 Vista 的 sethc.exe 為 cmd.exe,進而重置密碼。
D:\Windows\System32,右鍵 sethc.exe →「屬性」→「安全性」→「進階」→「擁有者」→ 選當前 XP 帳號 → 套用。若無「安全性」頁籤:「工具」→「資料夾選項」→「檢視」→ 取消「使用簡單檔案共享」。rename D:\Windows\System32\sethc.exe sethc1.exe
copy D:\Windows\System32\cmd.exe D:\Windows\System32\sethc.exe
cmd.exe(System 權限) → 輸入 explorer.exe 載入桌面 → 控制台修改/建立帳號密碼。sethc.exe(刪除偽裝檔、重命名 sethc1.exe 回原名)。