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

Windows 7 忘記密碼?利用 System 權限替換 narrator.exe 為 cmd 重設密碼

編輯:Windows 7 系統介紹

原理

登入畫面右下角「輕鬆存取」→「敘述器」實為 narrator.exe。若以 System 權限將其替換為 cmd.exe,點擊即可獲得最高權限命令提示字元,進而重設密碼。

前置條件

  • 雙系統(XP + Win7)或可啟動的 WinPE/Live USB,以便離線操作 Win7 系統檔案。
  • 具備另一個管理員帳號(XP 或 PE 環境)可存取 Win7 系統分區。

操作步驟

  1. 取得檔案擁有權與權限:
    • 在 XP/PE 中進入 Win7 系統分區 D:\Windows\System32(假設 Win7 在 D 槽)。
    • 右鍵 narrator.exe、cmd.exe →「內容」→「安全性」→「進階」→「擁有者」→ 設為目前管理員帳號 → 勾選「取代子容器...」→ 確定。
    • 回到「安全性」頁籤,給予目前帳號「完全控制」權限。
  2. 替換檔案:
    • 將 narrator.exe 重命名為 narrator1.exe。
    • 將 cmd.exe 複製並重命名為 narrator.exe。
  3. 進入 Win7 執行命令:
    • 重啟進入 Win7 登入畫面,點擊右下角「輕鬆存取」→ 勾選「啟動敘述器」。
    • 彈出的即為 System 權限 cmd.exe 視窗。
  4. 重設密碼/建立新管理員:
    • 啟用內建 Administrator:net user administrator /active:yes
    • 設定密碼:net user administrator 新密碼
    • 或建立新管理員帳號:
      net user 新帳號 密碼 /add
      net localgroup administrators 新帳號 /add
  5. 還原檔案(重要):
    • 重新登入系統後,將 narrator.exe 改回 cmd.exe,narrator1.exe 改回 narrator.exe,恢復原狀。

替代工具

亦可使用現成工具:Windows Password Reset、Offline NT Password & Registry Editor、PCUnlocker 等開機光碟/USB 工具,操作更簡單安全。

警示

僅供個人合法找回自己電腦密碼使用,嚴禁用於非法入侵他人裝置。

Copyright © Windows教程網 All Rights Reserved