= blank the password (This may work better than setting a new password!)
Enter nothing to leave it unchanged
Please enter new password: * <---Administratorのpasswordをリセット(空)"*" を入力
Blanking password!
Do you really wish to change it? (y/n) [n] y <---確認の為 "y" を入力
Changed!
Select: ! - quit, . - list users, 0x
or simply enter the username to change: [Administrator] ! <---Administrator以外の変更が無ければ "!" を入力<>========<> chntpw Main Interactive Menu <>========<>
Loaded hives:
1 - Edit user data and passwords
2 - Syskey status & change
3 - RecoveryConsole settings
- - -
9 - Registry editor, now with full write support!
q - Quit (you will be asked if there is something to save)
What to do? [1] -> q <---変更確認の為 "q" を入力
Hives that have changed:
# Name
0
Write hive files? (y/n) [n] : y <---変更確認の為 "y" を入力
0
[root@config]# cd
[root@~]# sync <---必ず入力のこと
[root@~]# umount /mnt/hdd
[root@~]# reboot
この後リブートすれば、Administratorでパスワードが無しの状態でログオン出来ます。
★ このツールで Adoministrator のパスワードをリセット(空白化)し、ログインしてパスワード再設定したのだが、私がハマったのは以下の点だった。
最初のうちはデフォルト値でOKなので Enter のみで良いようだ。しかし、"Edit user data and passwords" でパスワードを変更した直後は "q" で終了しないと変更作業がループしてしまう。
パスワード変更後(私は変更ではなくリセットした)、"Write back ?" と聞かれるところで "y" を入力する必要がある。(デフォルトは [n] )
ツールを終了するとプロンプト # に戻る。ここで #sync を実行する。これがないと実際には設定が変更されない。
http://yanagisawa.hatenablog.com/entry/20100730/p1