We remind you that attempts to repeat the actions of the author can lead to the loss of the warranty for the equipment and even to its failure. The material is provided for informational purposes only. If you are going to reproduce the steps described below, we strongly advise you to carefully read the article to the end at least once. The editors of 3DNews are not responsible for any possible consequences.
Windows has long used the SAM system to store and manage passwords for all users. All the information in it is well protected, so in order to find out the password, you will have to spend a lot of time and resources, especially if it is quite complex. Most often, however, it is not at all necessary to find out the password at all - it is enough to reset it or change it. Several utilities have been developed for this, one of which we will use. Another important point - it is obvious that when the OS is running, it will not allow you to just get into the password store. Therefore, you need to make sure that the computer supports booting from CD / DVD or USB media in order to run the necessary utilities.
The most famous of them is Offline NT Password and Registry editor, which can work with Windows XP/Vista/7 passwords and registry. Download the USB or CD version of the utility, burn the downloaded image to disk, or use our tips for creating a multiboot flash drive. The utility does not have a graphical interface, but you should not be afraid of this - everything in it is quite simple and understandable. In addition, often the desired option is offered by default, so you only need to press the Enter key.
Boot from removable media Offline NT Password and Registry editor. You are unlikely to need additional boot options, but in some cases you will have to empirically find those that will help the utility start. The next step is to select the partition number on which Windows is installed. You will have to focus primarily on its size. In principle, until the very last moment, the program does not make any changes to Windows, so in case of an error, you can simply start the password reset procedure again.
Then the utility will ask you to specify the path to the folder where the SAM files are located (in fact, this is a registry hive). This is by default X:/Windows/System32/config, and the program offers it at the beginning. Then you need to select the first item (Password reset), since we are going to reset the password.
Further everything is simple. Select the first item (Edit user data and password) and enter the username or ID in the format 0xabcd, where abcd is the RID listed in the first column. RID is useful if the username is displayed incorrectly or cannot be entered. For example, when using Cyrillic.
It remains to specify item 1 (password reset) or 2 (password change) for the selected user. Exit password editing mode by typing an exclamation point and pressing Enter.
Everything is almost ready. Enter q, press Enter, and then agree to the changes by typing y and pressing Enter again. We refuse further work in the Offline NT Password and Registry editor ( n), remove the flash drive or CD-ROM and press the cherished combination Alt + Ctrl + Del to reboot. Done - password reset!
This was an easy way to reset your Windows 7 password. It shouldn't be difficult. You just have to be careful and careful. Problems can arise only in the absence of the necessary drivers to work with the hard drive. Then you will have to put them on a floppy disk (if, of course, you find a living representative of this almost extinct species and a working drive for it) or on a USB flash drive and at the first stage select the fetch additional drivers option.
For the second and third methods, you only need a Windows 7 installation disk and nothing more. A more complex option involves enabling the initially hidden "Administrator" account by editing the registry from the Windows 7 installation environment. In the future, it will be possible to log in under this account and edit any other account in the OS. By default, "Administrator" does not have a password, which only plays into our hands.
So, we boot from the installation disk and press Shift + F10 to call the command line, where we drive in regedit and press Enter to launch the Registry Editor.
Highlight a section HKEY_LOCAL_MACHINE, and in the menu select “File” → “Load hive…” (File → Load hive…). We need to open the SAM file, which is located in the folder \Windows\System32\config on the partition where Windows 7 is installed. When you open it, you will be prompted to enter the name of the hive to be loaded - drive in any.
Now you need to select a section HKEY_LOCAL_MACHINE\hivename\SAM\Domains\Account\Users\000001F4 and double click on the key F. An editor will open in which you need to go to the first number in line 038 - this is 11. It must be changed to 10. Be careful and do not make a mistake - you only need to change it, without adding or deleting other numbers!
Now we need to select our bush HKEY_LOCAL_MACHINE\hivename\ and in the menu select "File" → "Unload hive ..." (File → Unload hive ...), and then confirm the unloading of the hive.
That's it, you can reboot by pulling out the pre-installation disk and log in with an administrator account. In the Windows Control Panel, in the User Management section, you can change the settings for another account. Including changing your password.
The last way is the wrong one. Why wrong? Because we will be engaged in the substitution of system files, and this is an ignoble business. What is the main idea? It's simple - by default, the sticky keys detection function is enabled in the OS. You have probably come across it at least once, and if not, then just quickly press Shift at least 5 times, and you will see such a wonderful window:
This window belongs to a small helper program sethc.exe, which lies in the Windows system directory. What's more, it even runs on the welcome screen when you're prompted to select a user and enter a password. But you can replace it with something useful. For example, cmd.exe. Naturally, not directly in the running OS, but by booting from the Windows 7 installation disk and pressing Shift + F10.
You need to start by determining the letter of the drive on which Windows is installed. The easiest thing is to simply view the contents of the partition root with the command dir. C: will most likely be seen as D:, but it doesn't have to be.
Having decided on the volume letter, we execute two simple commands - one copy the original file just in case sethc.exe to the root of the disk or wherever you like, and the second change it to cmd.exe.
Copy d:\windows\system32\sethc.exe d:\ copy d:\windows\system32\cmd.exe d:\windows\system32\sethc.exe
We reboot, quickly press the Shift key (or Ctrl, or Alt) several times and observe the command line window. In it, you need to enter one more command, substituting the name of the desired user and the new password, respectively. Other parameters of this command can be found in the official help.
Net user username newpassword
If you want to return everything to normal, then you need to boot from the installation disk again, open the console and run the command:
Copy d:\sethc.exe d:\windows\system32\sethc.exe
However, you can not restore anything, but leave such a small trick in the system just in case. In addition to the methods listed above, there are many other methods for resetting or recovering a password in Windows, but we will not consider them now. Once again, we urge our readers to be careful and careful when working with the internals of the OS, and even better not to bring the situation to a “surgical” intervention in SAM. Good luck with your account recovery!
If you can’t log in to Windows 7 because you forgot or lost your account password, then this article will help you. It contains all effective ways to remove, reset or replace the password of any account(even the administrator) in the "seven" and recommendations are given on how to protect yourself in case the password is lost in the future. All the described methods to unlock a user account are absolutely safe if you follow the instructions and do everything carefully.
Ophcrack- a unique utility that allows you to restore access to any account in Windows 7 in just a few minutes. Moreover, it works in any edition of the OS, starting with XP, and can function from a bootable USB flash drive. The mechanism of the program is somewhat different from the algorithms for selecting passwords of similar applications and includes several components:
The program can also unlock complex passwords by extracting them from registry files and then decrypting them using completely new methods of data processing, due to which the load on hardware resources is small, and the selection speed increases by orders of magnitude.
The algorithm below is relevant for computers that cannot be accessed by the following reasons:
If you encounter such a case, you will have to execute instruction, which boils down to this: create a bootable USB based on a special version of Ophcrack and boot from that media to restore account access. In more detail, this instruction looks like this:
For inexperienced users, it is recommended to select the first (graphical) mode of operation of OphCrack: Ophcrack Graphic mode. But it should be noted that in graphical mode the program may not start, and the text mode works flawlessly, although it requires certain skills in handling console programs.
If we consider work in a program with an interface in more detail in the next section, then we will dwell on using its console version in more detail. Although of the features here there is only the absence of windows and buttons. After launching the console version of the utility, it will automatically determine the passwords for all accounts and display them in the " Results».
What to do if you forgot administrator account password? The program will also help here. Ophcrack, but with a network connection to download it. Consider the sequence of actions:
After a few seconds or minutes, depending on the complexity of the combination of characters in the password, it will be displayed in the " NT Pwd».
What to do, if no access to the internet or another computer do you need to sign in to your account? Will help solve the problem bootable USB stick or disk, which contains the distribution of the Windows 7 operating system that is running on the computer.
In this case, resetting the Windows 7 administrator password is maximally carried out as follows.
Thus, it is easy to recover a forgotten password as many times as you like, but using the proposed method on other people's computers will not work due to the fact that changing the password is required when gaining access to any of the accounts.
If you do not want to repeat the situation with a forgotten password, it is better to make a floppy disk to reset it. By a floppy disk we mean a flash drive, because the use of floppy disks and disks has not been relevant in recent years.
As a result, the wizard will generate a boot disk necessary to unlock an account whose password has been lost.
Now, if for some reason you cannot log into Windows 7, click the Reset password button, insert the created disk or USB flash drive and follow the instructions. which boil down to clicking the Next button.
After reinstalling the system, changing the password, or creating a new account, the password reset disk will have to be recreated.
Knowing how to reset the Windows 7 administrator password and having a flash drive with a key file, a forgotten password will no longer be a problem.
In Windows 8, 7, and 10, you can secure your account. So no outsider can enter. But suddenly you forgot your password? Or have you purchased a computer that already has an “account”? In Win, you cannot restore an account using email. The code will not be sent via SMS. But you don't need to format the drive. Resetting the Windows 7 password via a USB flash drive is the solution to the problem.
If you forgot your Windows password, don't worry.
To remove the Windows 10, 8 or 7 password, enter the recovery mode, and through it - to the command line.
If you cannot log into your Win account, this does not mean that you have lost all user data. In Windows XP, 7, 8, 10, resetting the password from a flash drive is a very simple task. Although this has its downsides. It turns out that anyone can log into the account. Protect your personal information in several ways - not just with the code in your account.
Windows 7 has a built-in Administrator user that has exclusive rights to perform various operations on the system. In some cases, it is required to make any settings or actions with files on his behalf by entering the corresponding password account. Of course, this cannot be done if the data is lost. Today we will analyze the methods for changing them for the "Administrator" in the "seven".
By default, the password for this account is empty, and it is disabled, that is, it is impossible to enter it without additional manipulations. However, rights are reserved. Resetting data may be required in a situation if they were previously set, and then "safely" lost. There are several ways to change or completely remove the password for the "Administrator".
ERD Commander is designed to be used in situations where you need to perform some action on the system without starting it. It contains supporting software embedded in a distribution with a recovery environment. In the list, among other things, there is a “Password Change Wizard” that allows you to change the login information of any user. In order to use this tool, you need to download and burn a disk image to a USB flash drive. Then you should boot the PC from the prepared media, after changing the BIOS settings.
Enter the password created in ERD.
The "seven" has its own built-in tool for managing passwords. A prerequisite for its use is that the user under which the operation is performed has administrator rights. In order to get to the desired settings, follow steps 17 to 20 of the previous paragraph.
Using this tool, you can perform many actions in the system without using the GUI (graphical interface), including changing account passwords. You can do this both from running Windows and from the login screen. In the second case, you will have to tinker a bit with the preparation. Let's start with the first option.
There is another way that allows you to call the "Command Prompt" at the entrance. It is slightly simpler than the previous one, but gives the same result. Windows has a utility ( sethc.exe), which, when pressed repeatedly SHIFT displays a dialog box asking you to turn on Sticky Keys. A useful feature for us is that this happens on the login screen as well. If you replace its file with an "executable" cmd, when you try to call sticky, a window will open "Command line".
Experience tells us that in most cases the system disk is "D".
If the folder Windows not listed, other letters should be checked.
copy d:\windows\system32\sethc.exe d:\
copy d:\windows\system32\cmd.exe d:\windows\system32\sethc.exe
For a replacement request, write "at" and press ENTER.
net user Administrator “”
copy d:\sethc.exe d:\windows\system32\sethc.exe
Replace file with input "at" and pressing ENTER.
The most reliable method of resetting the "Administrator" data is a specially created flash drive with a key. This is due to the fact that only when it is applied, we do not lose encrypted data. You can burn such media only by logging into the corresponding account, as well as knowing its password (if it is empty, the operation does not make sense).
"C:\Windows\system32\rundll32.exe" keymgr.dll,PRShowSaveWizardExW
Instructions for using a flash drive
Today we have analyzed four options for resetting the "Administrator" password in Windows 7. They differ in approach and tools used, but have the same results. Best for normal use "Command line" from a running system. If access to the "accounts" is closed, you can use the emergency or installation disk. The simplest and most reliable option is a flash drive with a written key, but you need to take care of its creation in advance.
Windows 7 users who care about the safety of confidential information in their work, as well as to block unauthorized persons from entering the system under their account, first of all set a password to enter the operating system.
But often there are cases when a user can forget his password or lose a piece of paper with a password somewhere, after which he cannot enter the operating system under his account in any way.
For such users, there is in Windows 7 the ability to create a floppy disk (flash drive) password reset, thanks to which you can create a new one and log in to the system. But the important conditions for creating such a floppy disk (USB drive) are:
The media you use does not have to be clean, because it only takes a few kilobytes to create a floppy and all data on the media will not be affected by the floppy creation operation. No matter how often you change your Windows login password, a specific account's reset disk is only created once.
If you create a new disk for the same account, then all previously created ones will not work. Password is only reset using the last one created in each particular account.
Insert the USB drive into your computer. Go to the menu "Start" - "Control Panel" - "User Accounts" and click "Create a password reset disk".
The "Forgotten Password Wizard" will start, click on the "Next" button.
Select the media (flash drive) and click the "Next" button.
In the "Password of the current account" field, enter your account password or leave it blank if it is not there and click the "Next" button. After completing the operation 100%, click on the “Next” button.
In the last window, read the important information and click the "Finish" button, which will complete the creation of the floppy disk.
When you log in, the system will ask you to enter a password, log in without it and the operating system will inform you about the error. After that, the inscription "Reset password" will appear, when clicked, the reset program starts. Insert the created USB flash drive and click on the "Next" button. You will need to fill in 3 fields: 1st field - enter a new password, 2nd field - confirm it, 3rd field - enter a hint.
If you do not want to use a password to enter the operating system, then leave all 3 fields empty and click the "Next" button. The previous (forgotten by you) password will be reset and you will be able to log into Windows 7 with or without a new one.
Thank you dear blog readers! If the article turned out to be useful or interesting for you, please recommend it to your friends through the buttons of social networks.