Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Vista 忘記密碼?利用 Sticky Keys 漏洞在 XP 下替換 sethc.exe 重設密碼

編輯:Windows Vista 系統基礎知識

Vista 登入介面按 5 下 Shift 啟用「固定鍵」(sethc.exe),若在雙系統(C: XP, D: Vista)環境下,可從 XP 以 cmd.exe 取代 Vista 的 sethc.exe,重開機進入 Vista 登入畫面按 5 下 Shift 即彈出系統權限命令提示字元,輸入 net user 帳號 新密碼 即可重設密碼。

詳細步驟

  1. 進入 XP,取得 D:\Windows\System32\sethc.exe 擁有權(屬性→安全性→進階→擁有者→編輯→選擇目前 XP 帳號)。
  2. 授予該帳號「完全控制」權限。
  3. 命令提示字元執行:
    rename D:\Windows\System32\sethc.exe sethc1.exe
    copy D:\Windows\System32\cmd.exe D:\Windows\System32\sethc.exe
  4. 重開機選擇 Vista,登入畫面按 5 下 Shift → 彈出 CMD → 輸入 explorer.exe 載入桌面(以 SYSTEM 權限)→ 控制台→使用者帳戶→重設密碼。

注意:此為安全性漏洞展示,請勿用於非授權電腦。Vista SP1 後已修補此漏洞,建議使用重設磁碟或 Windows RE 修復。

Copyright © Windows教程網 All Rights Reserved