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

USB 隨身碟繞過 Windows XP 登入密碼:替換 magnify.exe 實戰教學

編輯:Windows XP 系統介紹

核心思路

Windows XP 登入畫面按 Win+U 會啟動「輔助工具管理員」→ 可執行「放大鏡」(magnify.exe)。若將 magnify.exe 替換為自訂程式(如新增管理員帳號的批次檔封裝 EXE),即可在未登入狀態下以 SYSTEM 權限執行程式碼,繞過密碼驗證。

工具準備

  • USB 隨身碟一支
  • USBoot(或 Ventoy/Rufus)製作 USB 開機磁碟
  • WinRAR 製作自解壓縮 EXE 封裝批次檔

製作步驟

1. 製作 USB 開機磁碟

  1. 執行 USBoot,插入 USB,選中磁碟按「開始」(會格式化 USB,備份資料)。
  2. 格式化完成拔出,提示再插入時插回,約 1 分鐘後 USB 開機磁碟完成(HDD 模式)。

2. 製作替換用 EXE(新增管理員帳號)

  1. 記事本輸入以下批次指令,存為 addadmin.bat:
@echo off
net user hack 123456 /add
net localgroup administrators hack /add
exit
  1. 用 WinRAR 右鍵 addadmin.bat →「加入壓縮檔」→ 勾選「建立自解壓縮檔」→ 確定,產生 addadmin.exe。
  2. 將 addadmin.exe 複製到 USB 開機磁碟根目錄。

3. 替換系統 magnify.exe

  1. BIOS 設定 USB-HDD 為第一啟動順序,存檔重開機進入 USB 環境。
  2. 在命令提示字元進入系統盤 C:\Windows\System32。
  3. 備份原檔:copy magnify.exe 007magnify.exe
  4. 複製替換:copy X:\addadmin.exe magnify.exe(X: 為 USB 磁碟機代號)。

4. 觸發繞過密碼

  1. 重開機從硬碟正常啟動 XP。
  2. 在登入畫面按 Win+U(或 Ctrl+Alt+Del 兩次呼叫經典登入 → 存取輔助工具)。
  3. 系統執行被替換的 magnify.exe(實為 addadmin.exe),自動建立帳號 hack 密碼 123456 並加入管理員群組。
  4. 登入畫面切換至 hack 帳號,密碼 123456 登入系統。
  5. 進入後立即修改原 Administrator 密碼,並將 magnify.exe 改回備份檔(copy 007magnify.exe magnify.exe)。

風險與法律警示

  • 此技術修改核心系統檔,操作失誤可能導致系統無法開機。
  • 僅供合法擁有者在遺忘自身密碼時救援自有電腦使用。
  • 未經授權繞過他人電腦密碼屬違法(刑法妨害電腦使用罪、資安法),嚴禁濫用。
  • 現代替代方案:Offline NT Password & Registry Editor (chntpw)、Ventoy + WinPE,更安全、不修改系統檔、操作簡單。
Copyright © Windows教程網 All Rights Reserved