Perte de mot de passe Windows : la solution!
Il n’y pas si longtemps, j’aurai dit qu’il fallait réinstaller windows en cas de perte du mot de passe pour démarrer.. Hé bien non, il y a beaucoup plus simple et plus rapide!! Il suffit de graver sur un CD un utilitaire (Offline NT Password & Registry Editor) basé sur linux et démarrer la machine à partir de ce CD. Ce tutorial est valable pour Windows NT / 2000 / XP / Vista / Seven.
L’image ISO est disponible sur le site du créateur ici.
EDIT du 12/05/2012 : Le site du créateur étant hors-ligne, je met à disposition la version 110511 ici : cd110511
Il suffit de graver cette image avec un logiciel dédié (comme imageburn disponible en version portable sur Liberkey). Une fois le CD prêt, démarrez votre machine avec le CD (en règle générale, les réglages du BIOS font d’abord démarrer sur le lecteur CD/DVD, si ce n’est pas le cas, modifier l’ordre de démarrage dans le BIOS).
une fois le CD démarré, vous devriez voir ceci :
ISOLINUX 3.51 2007-06-10 Copyright (C) 1994-2007 H. Peter Anvin *************************************************************************** * * * Windows NT/2k/XP/Vista Change Password / Registry Editor / Boot CD * * * * (c) 1998-2007 Petter Nordahl-Hagen. Distributed under GNU GPL v2 * * * * DISCLAIMER: THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTIES! * * THE AUTHOR CAN NOT BE HELD RESPONSIBLE FOR ANY DAMAGE * * CAUSED BY THE (MIS)USE OF THIS SOFTWARE * * * * More info at: http://pogostick.net/~pnh/ntpasswd/ * * Email : pnh@pogostick.net * * * * CD build date: Sun Sep 23 14:15:35 CEST 2007 * *************************************************************************** Press enter to boot, or give linux kernel boot options first if needed. Some that I have to use once in a while: boot nousb - to turn off USB if not used and it causes problems boot irqpoll - if some drivers hang with irq problem messages boot nodrivers - skip automatic disk driver loading boot:
Valider par entrée.
************************************************************************* * Windows Registry Edit Utility Floppy / chntpw * * (c) 1997 - 2007 Petter N Hagen - pnh@pogostick.net * * GNU GPL v2 license, see files on CD * * * * This utility will enable you to change or blank the password of * * any user (incl. administrator) on an Windows NT/2k/XP/Vista * * WITHOUT knowing the old password. * * Unlocking locked/disabled accounts also supported. * * * * It also has a registry editor, and there is now support for * * adding and deleting keys and values. * * * * Tested on: NT3.51 & NT4: Workstation, Server, PDC. * * Win2k Prof & Server to SP4. Cannot change AD. * * XP Home & Prof: up to SP2 * * Win 2003 Server (cannot change AD passwords) * * Vista 32 and 64 bit * * * * HINT: If things scroll by too fast, press SHIFT-PGUP/PGDOWN ... * ************************************************************************* ========================================================= There are several steps to go through: - Disk select with optional loading of disk drivers - PATH select, where are the Windows systems files stored - File-select, what parts of registry we need - Then finally the password change or registry edit itself - If changes were made, write them back to disk DON'T PANIC! Usually the defaults are OK, just press enter all the way through the questions ========================================================= ¤ Step ONE: Select disk where the Windows installation is ========================================================= Disks: Disk /dev/sda: 42.9 GB, 42949672960 bytes Candidate Windows partitions found: 1 : /dev/sda1 40958MB BOOT Here it has found one disk with one partition Please select partition by number or q = quit d = automatically start disk drivers m = manually select disk drivers to load f = fetch additional drivers from floppy / usb a = show all partitions found l = show propbable Windows (NTFS) partitions only Select: [1]
Il faut choisir la partition de démarrage de Windows (généralement celle qui est notée « BOOT »). Dans notre cas, on tape 1 puis entrée.
========================================================= ¤ Step TWO: Select PATH and registry files ========================================================= What is the path to the registry directory? (relative to windows disk) [WINDOWS/system32/config] :
Simplement valider une nouvelle fois avec entrée.
Select which part of registry to load, use predefined choices or list the files with space as delimiter 1 - Password reset [sam system security] 2 - RecoveryConsole parameters [software] q - quit - return to previous [1] :
On arrive enfin à la partie intéressante!
Tapez 1 puis entrée pour pouvoir modifier les mots de passe.
======== 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] ->
Tapez de nouveau 1 puis entrée.
===== chntpw Edit User Info & Passwords ==== | RID -|---------- Username ------------| Admin? |- Lock? --| | 03e8 | admin | ADMIN | | | 01f4 | Administrator | ADMIN | dis/lock | | 03ec | grumf1 | | | | 03ed | grumf2 | | | | 03ee | grumf3 | | | | 01f5 | Guest | | dis/lock | | 03ea | jalla1 | ADMIN | *BLANK* | | 03eb | jalla2 | | *BLANK* | | 03e9 | petro | ADMIN | *BLANK* | - - - - 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) [seems unlocked already] q - Quit editing user, back to user select Select: [q] > 1
Vous pouvez soit supprimer le mot de passe (1), soit mettre un mot de passe de votre choix (2), soit changer un utilisateur en administrateur (3).
Dans notre cas, on tape 1 puis entrée :
Password cleared!
Select: ! - quit, . - list users, 0x - User with RID (hex) or simply enter the username to change: [Administrator] !
Vous pouvez maintenant faire des modifications sur un autre utilisateur (dans ce cas, tapez son nom), soit quitter en tapant ! puis valider avec entrée (ce que l’on va faire).
======== 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]
Taper q, puis entrée pour quitter.
========================================================= ¤ Step FOUR: Writing back changes ========================================================= About to write file(s) back! Do it? [n] :
Tapez Y pour enregistrer les modifications
***** EDIT COMPLETE ***** You can try again if it somehow failed, or you selected wrong New run? [n] : n ========================================================= * end of scripts.. returning to the shell.. * Press CTRL-ALT-DEL to reboot now (remove floppy first) * or do whatever you want from the shell.. * However, if you mount something, remember to umount before reboot * You may also restart the script procedure with 'sh /scripts/main.sh'
Validez par entrée pour quitter.
C’est terminé!!
Lien : site du créateur


Pas moyen de me connecter. j’étais sure de mon mot de passe mais à chaque fois on me dit qu’il y a erreur. Je ne peux plus mettre de sujet et bien entendu je n’ai pas accès à mon espace qui peut me donner la solution ? einna019@hotmail.fr
Je ne suis pas experte en informatique.
Etant handicapée c’est mon seul univers pour m’évader.