Windows 10 - Perdu Mot de Passe

Si on a perdu le mot de passe d'une session Windows, il faut procéder comme suit.

 

Créer une clé USB Bootable avec Windows 10:


Installez le logiciel de gravure et copie de Microsoft : Media Creation tool
http://go.microsoft.com/fwlink/?LinkId=691209

Choisir le média à utiliser : "Disque Mémoire Flsh USB"
Le reste de la procédure est assez long mais complètement automatique. 
Le logiciel télécharge Windows 10 et l'intègre à la clé USB.

 

Booter sur la clé USB

 

On choisit "réparer l'ordinateur" pour accéder aux options avancées,
et à l'invite de commandes.

Taper :

 

c:
cd windowssystem32
c:windowssystem32>ren magnify.exe magnify.old
c:windowssystem32>copy cmd.exe magnify.exe

 

Activation du compte administrateur caché

 

 

Redémarrer le pc en mode normal (sans clé USB bootable)
Cliquer sur le bouton d'ergonomie, puis sur la loupe.

La console invite de commandes s'ouvre.
TAPER :

 

       c:windowssystem32>net user administrateur /active :yes

 

La commande a réussi.

 

Relancer le pc.

 

Un nouveau compte est apparu : "Administrateur" (sans mdp)
Ouvrir la session "Administrateur".

Click droit Bouton "Démarrer" > "Gestionnaire ordinateur"


"Gestion Utilisateur" >

Modifier le mot de passe du compte oublié.
Lui donner les droits Admin...

 

Remettre la loupe en place :

Invite de commandes, TAPER :

 

cd windowssystem32
c:windowssystem32>del magnify.exe
c:windowssystem32>ren magnify.old magnify.exe

 

Désactiver le compte "Administrateur" :

Invite de commandes, TAPER :

 

c:windowssystem32>net user administrateur /active :no

 

 

 

Terminé, rebooter et ouvrir la bonne session avec le nouveau mot de passe.

Windows Experience Blog

Manor Lords out now via PC Game Pass (ven., 26 avril 2024)
Manor Lords is out today on the Microsoft Store and via PC Game Pass (Game Preview). A city-building and strategy game that focuses on sandbox gameplay and intimate historical details, the game delivers authentic building designs, workplaces and fas The post Manor Lords out now via PC Game Pass appeared first on Windows Experience Blog.
>> Lire la suite

Reducing the environmental impact of Windows devices (Mon, 22 Apr 2024)
We live in a world where technology is constantly evolving and improving our lives, and at the same time we need to be thoughtful and disciplined about minimizing the required resources and waste generated from these products. How can we balance the The post Reducing the environmental impact of Windows devices appeared first on Windows Experience Blog.
>> Lire la suite