Bonsoir,
J'ai perdu le mot de passe de ma session Windows.
J'essaye donc chnptw comme précisé ici :
http://www.pcastuces.com/pratique/windows/mot_passe_perdu/page7.htm
Mais le mot de passe n'est pas supprimé
philippe@PC2:~$ cd //media
philippe@PC2://media$ cd 138807CF4C14527C
philippe@PC2://media/138807CF4C14527C$ cd Windows/System32/config
philippe@PC2://media/138807CF4C14527C/Windows/System32/config$ sudo chntpw sam -i
[sudo] password for philippe:
chntpw version 0.99.6 080526 (sixtyfour), (c) Petter N Hagen
Hive <sam> name (from header): <\SystemRoot\System32\Config\SAM>
ROOT KEY at offset: 0x001020 * Subkey indexing type is: 666c <lf>
Page at 0x2c000 is not 'hbin', assuming file contains garbage at end
File size 262144 [40000] bytes, containing 11 pages (+ 1 headerpage)
Used for data: 348/159352 blocks/bytes, unused: 16/16424 blocks/bytes.
* SAM policy limits:
Failed logins before lockout is: 0
Minimum password length : 0
Password history count : 0
<>========<> chntpw Main Interactive Menu <>========<>
Loaded hives: <sam>
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] -> 1
===== chntpw Edit User Info & Passwords ====
| RID -|---------- Username ------------| Admin? |- Lock? --|
| 01f4 | Administrateur | ADMIN | dis/lock |
| 03ed | Alexis | | |
| 03eb | Ange | | |
| 03ea | HomeGroupUser$ | | dis/lock |
| 01f5 | Invit | | dis/lock |
| 03ec | Ismal | | |
| 03f4 | Jeux | | |
| 03e8 | PC_2 | ADMIN | dis/lock |
Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)
or simply enter the username to change: [Administrateur] 0x03e8
RID : 1000 [03e8]
Username: PC_2
fullname:
comment :
homedir :
User is member of 1 groups:
00000220 = Administrateurs (which has 2 members)
Account bits: 0x0214 =
[ ] Disabled | [ ] Homedir req. | [X] Passwd not req. |
[ ] Temp. duplicate | [X] Normal account | [ ] NMS account |
[ ] Domain trust ac | [ ] Wks trust act. | [ ] Srv trust act |
[X] Pwd don't expir | [ ] Auto lockout | [ ] (unknown 0x08) |
[ ] (unknown 0x10) | [ ] (unknown 0x20) | [ ] (unknown 0x40) |
Failed login count: 1, while max tries is: 0
Total login count: 1105
- - - - User Edit Menu:
1 - Clear (blank) user password
2 - Edit (set new) user password (careful with this on XP or Vista)
3 - Promote user (make user an administrator)
4 - Unlock and enable user account [probably locked now]
q - Quit editing user, back to user select
Je précise que la manipulation ne fonctionne pas non plus pour les autres utilisateurs.
Une idée ?