トップ | bartpe作成手順 | 製作・修理 | − | 下書きブログ | |||||||||||
パスワードを忘れたら(改)
^^^^^^^^^^^^^^^^^^^^^^^
[KonBoot] [NTPWEdit.exe] <感想> これは32bit,64bitCPUともに使えました。 ただ起動に用いるライブCDは32bit版を使う必要があります。 RAID0環境でも成功したとの報告有り! <用意するもの> - WindowsPE (AIK)...Windows7で32bit版をお持ちであればインストールディスクか、修復ディスクでOK。 (64bit版のWin7ではNTPWEdit.exeが動きませんので下記よりダウンロード) http://www.microsoft.com/ja-jp/download/details.aspx?id=5753 - NTPWEdit.exe http://cdslow.webhost.ru/en/ntpwedit/ - USBメモリー <手順> マシンとは独立したWindowsから実行するので、Windows7の起動ディスクや修復ディスク、 BartPEでも使えます。 上記リンクから ntpwed03.zip をダウンロードし、展開したらUSBメモリーに保存しておきます。 1. パスワードを書き変えたいマシンにこのUSBメモリーを挿す 2. PEディスクで起動、途中「システムを修復」を選択し、コマンドを開く 3. USBメモリーのドライブを探して dir /w をかけ、ntpwed03 フォルダを探す 4. cd ntpwed03 [Enter] でフォルダに入り、ntwedit.exe を実行。 5. "Path to SAM file" 欄の参照ボタン[...]を押してC:を指定しなおす、 6. ユーザーを選択 7. "Change password" ボタンを押すと 新しいパスワードの入力欄が出てきました。 8. "Save changes"を押す 9. Exitボタン
[Offline NT Password & Registry Editor]
Candidate Windows partitions found: (次のパーティションがみつかりました:) 1 : /dev/sda1 ****** BOOT 2 : /dev/sda2 ****** 写真はXPなので /sda1 がブートドライブ兼 C:\Windows があるドライブですが Windows7 では /sda1 は 100MB のブートドライブで、 /sda2 に C:\Widows があります。 Select: [1] XP なら 1 を Windows7 なら 2 を記入。
What is the path to the registry directory? (レジストリのあるディレクトリはどこ?) [WINDOWS/system32/config] : これで正しいのでそのまま Enter キー。
1 - Password reset [sam system security] (パスワードをリセットする。SAM ファイル) 2 - RecoveryConsole parameters [software] 3 - quit (終了) [ 1 ] : 1 パスワードをリセットしたいので 1 。
1 - Edit user data and passwords (ユーザーデータおよびパスワードを編集) - - - 2 - Registry editor 3 - Quit (終了) What to do? [ 1 ] -> 1 パスワードを解除したいので 1 。
| 01f4 | Administrator | ADMIN | dis/lock | .... | 03eb | | ADMIN | | Select: ! - quit (終了), . - list users (ユーザーを表示), 0x(RID) - User with RID (hex) (ユーザー名を hex コードで入力) or simply enter the username to change: [Administrator] 0x03eb 日本語ユーザー名は表示されないので hex コードで記入すればOK!左側の RID 列で、Username が空欄になっているところが日本語ユーザー名にあたるところです。 例: 0x03eb
User Edit Menu: 1 - Clear (blank) user password (ユーザーパスワードを削除する) 2 - Edit (set new) user password (careful...) 3 - Promote user (該当ユーザーに管理者権限を与える) 4 - Unlock and enable user account (無効になっていたユーザーアカウントを復活させる) 5 - Quit editing user, back to user select (終了) Select: [ q ] > 1 パスワードを削除したいので 1 。
Select: ! - quit (終了), . - list users, 0x(RID) - User with RID (hex) or simply enter the username to change: [Administrator] ! 終了したいので ! キーを押します。
Loaded hives: 1 - Edit user data and passwords - - - g - Registry editor,... q - Quit (終了) 終了したいので q 。
About to write file(s) back! Do it? (ファイルを上書きしますか?) [n] : y パスワード解除したいので y 。
You can try again if it somehow failed, or you selected wrong (もう一度しますか?) New run? [n] : n 成功したなら n 。
# end of scripts.. returning to the shell.. (スクリプト終了。シェルに戻ります。) # Press CTRL-ALT-DEL to reboot now (remove floppy first) (再起動) はじめからやり直すには sh /scrips/main.sh 終わりましたのでディスクを抜き、再起動。
ご意見はこちらでお待ちしております: フォーカー[4K]下書きブログ:http://blog.livedoor.jp/hazakura_tanka |
|||||||||||||||
hazakuratanka, All rights reserved. |