Comment puis-je obtenir sur mon PC sans un mot de passe admin?

How can I get into my PC without an admin password?

 

Propulsé par Guardian.co.ukCet article intitulé “Comment puis-je obtenir sur mon PC sans un mot de passe admin?” a été écrit par Jack Schofield, pour theguardian.com le jeudi 6 août 2015 09.27 UTC

J'ai un portable HP fonctionnant sous Microsoft Windows 8. Tel que recommandé par de nombreuses sources, J'ai créé des comptes d'utilisateur distincts pour ma femme et moi, et je n'ai pas besoin d'ouvrir une session tant qu'administrateur pendant un certain temps. Maintenant, je n'ai tout simplement oublié le mot de passe. J'ai essayé toutes les variantes évidentes, qui a suivi un modèle que j'ai utilisé pour mon vieux iMac. J'ai aussi essayé quelques procédés mentionnés en ligne, sans succès.

Il est assez facile de sauvegarder nos données personnelles, donc j'ai considéré comme une réinitialisation d'usine, mais je suis certain que ça va demander un mot de passe admin. La chose évidente, que je n'ai pas fait, c'est payer pour certains logiciels commerciaux de craquage, mais je ne sais pas qui (le cas échéant) sont réputées et efficaces. Veuillez suggérer une solution, as I would like to upgrade to Windows 10. Stephen

Did you set up the original administrator account using a Microsoft email address as your MSA (Microsoft Account), which is what I strongly recommend? le cas échéant, your logon password is the same as your email password, and this is something you might still remember. You might even have written it down somewhere.

If you did use a Hotmail, Live or Outlook.com account, you have a good chance of getting access to your admin account, by resetting your email account password from the Microsoft Account Password Reset page. Il y a step-by-step instructions at About.com.

Your PC has to be online so that Microsoft can update the admin password on your laptop. Cependant, if you are resetting the password from your standard account, then you will obviously be online.

Reset your PC

Another idea is to back up your data and then reset your PC to factory condition. This should be possible on all Windows 8 PCs that still have their recovery partition intact. It also works with Windows 10 SCP. These don’t have a recovery partition, but they have a special system for rebuilding the operating system when required.

Malheureusement, I don’t think you can reset a Windows 8 PC from a standard user account. You can’t even see “Reset my PC” from a standard account on Windows 10, and fellow journalist Simon Bisson confirmed this was also the case on Windows 8.1. (Thanks to Windows 10, I’m temporarily out of Windows 8 PCs.)

Other methods of resetting a Windows admin password ultimately boil down to changing files on the hard drive before the admin account gets control. The traditional approach was to interrupt the startup sequence, but you can also restart your PC from your Windows recovery DVD or a bootable USB thumb drive. Another alternative is to load Linux from a “Live CD” or USB drive. I suspect this is how most commercial “cracking” programs work.

Advanced Startup Options

Many Ask Jack readers will be familiar with interrupting the boot sequence of a Windows PC by hitting a function key, and then starting Windows in safe mode or changing the boot order in the BIOS (Basic Input/Output System) puce. Fenêtres 8 et Windows 10 PCs no longer use the very old and slow BIOS, they use UEFI with an Advanced Startup Options (ASO) écran.

Many PCs have retained the concept, so that pressing,dire, the F11 key or Esc during the Windows 8 boot sequence will take you to the ASO screen, where you can start a command prompt window (cmd.exe) aka “DOS box”. Check the user guide for your HP laptop (on your hard drive or online) to see which function key to press.

Autrement, you can get to the ASO screen by holding down the shift key while clicking on the power icon and selecting Restart. The long-winded alternative is to use the Charms bar to select Settings, click Change PC settings, and then go through Recovery to the Advanced Startup option, “Restart now”.

When you get to the ASO page, by whatever route, select Troubleshoot, and then Reset your PC. This should return it to factory condition.

Malheureusement, I’m not sure it will do a reset without an admin password – and I don’t have a machine to try – but it’s worth a go. (I have never been asked for a password when resetting a Windows 8 Ordinateur personnel, but I suspect I’ve always done it from admin accounts.)

Breaking in

You can also start your laptop from a Windows DVD or a bootable USB thumb drive and then change the password on the hard drive. Idéalement, use the recovery DVD that Windows suggested you create in case you ran into a major problem. (Mais oui, if you have one of those, you can just reinstall Windows 8 from scratch.)

Dans le cas contraire, it doesn’t really matter what you boot from, because you’re not going to install the operating system. It could be almost any Windows DVD or a Live Linux CD.

You “break in” by renaming one of the ease-of-access files. There are half a dozen available, including sethc.exe (Set High Contrast), utilman.exe (Utility Manager), and osk.exe (On-Screen Keyboard). You rename one of these to stop it working: par exemple, rename osk.exe to osk.exe.old. Après ça, you rename the Command shell from cmd.exe to osk.exe (or whichever file you chose).

Maintenant, when you start Windows 8, you can run the on-screen keyboard from the utilities icon, but the command shell will load instead. This lets you assign a new password (par exemple 123) to your admin account, so that you can log in. (Remember to clean up by renaming osk.exe back to cmd.exe and osk.exe.old to osk.exe, and set a new password.)

Lots of YouTube videos show how it’s done. The best one I’ve found is Wesley David’s How to Reset a Windows Password Through a Backdoor. He’s very clear.

If you want to try a Linux-based “rescue CD” then have a look at the Trinity Rescue Kit et Ophcrack v3.6.0 (LiveCD v3.6.0). Both are free.

If you want to try a paid-for cracker, Windows Password Key looks a reasonable bet. I’ve not tried it, but the website is well designed, it has a tutorial, et le FAQ Center articles are sound. Although Windows Password Key is a free download, I assume you end up paying .95, though I don’t know how.

I’d just follow Wesley David’s tutorial.

La prévention

There are ways to avoid getting into this situation in the first place. I use a Microsoft email address with a long password, but I set up a 4-digit PIN so I can log in quickly. I also have two admin accounts, in case one of them goes bad. Enfin, I note that Microsoft allows you to create a password reset disk (or USB thumb drive or floppy disk) so that you can reset your password if you forget it. It’s a simple menu item with a wizard to guide you. Fenêtres 8.1 works the same way.

You should also follow Windows’ directions to create recovery media and back-ups so that if your hard drive fails, you can reinstall Windows from scratch and get your stuff back.

Avez-vous une autre question pour Jack? Envoyer à Ask.Jack@theguardian.com

guardian.co.uk © Nouvelles Gardien & Media Limited 2010

Publié par le Nouvelles Gardien RSS Plugin pour WordPress.