How to remove a Windows 7 account password. If you suddenly forgot your Windows password: We break the password! Removing a password from Windows

How to remove a Windows 7 account password. If you suddenly forgot your Windows password: We break the password! Removing a password from Windows

Many users, in order to protect their information from prying eyes, set an administrator password for their Windows account. Some people, for various reasons, forget the set security code and to reset windows password carry out the procedure of reinstalling the entire system. And as you know, this matter takes a relatively long time.

There may also be problems with saving the necessary files, because we cannot log into the system, and when installing Windows, as we know, the local disk on which the operating system will be installed must be formatted. Well, of course, you can always find a simpler solution to the problem, this is exactly what will be discussed in this article and you will learn how reset password in windows 7 without resorting to reinstallation.

The only complication is that we will need an installation disk or flash drive to work on the command line. If you don't have either of these on hand, you can always use your neighbor's computer to download the image and burn it to a disk or flash drive.

How to reset windows 7 password if it is forgotten

A loophole for resetting password protection in Windows 7 turned out to be the Sticky Keys mode, which is caused by pressing a key five times Shift, This is exactly what will help us bypass the security code we have forgotten. The essence of the procedure is that when you call the sticky mode, a command line window will open in which we will need to work. Read below on how to do this.

First you need to boot from the installation disk or flash drive. In the first window, click next.

In the next window we are interested in the System Restore item, click on it.

If you have several operating systems installed, the list will show all available ones, select the one you need and move on.

In the System Recovery Options window, open the Command Prompt.

Enter the command:

  • copy D:\Windows\System32\sethc.exe D:\ and press enter.

sethc.exe- a file that causes sticky mode by pressing the key five times shift.

Using this command, this file is copied to the root of the disk (D:\) (in the system it is the drive (C:\)).

  • copy D:\Windows\System32\cmd.exe D:\Windows\System32\sethc.exe

cmd.exe- the file responsible for calling the command line.

With this command we replace the file sethc.exe with cmd.exe. Confirm changes by entering a key "y".

In the password entry window, call the command line by pressing the key five times shift.

Enter the command: net user Andrey 54321 and confirm it by pressing enter.

  • net user - user selection function.
  • Andrey - account name (enter yours).
  • 54321 is the new password.

After successfully completing the procedure, enter the changed password and rejoice.

Replace the command line back with Sticky Keys

If you are not interested in the sticky mode, then you can leave everything as is. To return to calling this mode, read on.

As you can see in the picture below, using the commands entered above, the file sethc.exe moved to the root of the disk. And in the system folder system32, it has been replaced by the command line. Now we need to move it back. You can try just moving it to system32 and delete the false file located there. But it may not be possible to do this due to insufficient rights. Therefore, we will use the command line.

Open the start menu, enter in the search cmd and run the found file as administrator .

Enter the command:

  • copy C:\sethc.exe C:\Windows\System32\sethc.exe

Press enter and confirm with the " key" y". If everything was done correctly when pressing the key five times shift again the sticking mode will open .

ABOUTGive your opinion about this article, and of course, ask your questions if something suddenly goes wrong for you.

Thank you for your attention!

Many users are asked the question: how can you remove the password on Windows 7, 8, 10? Some people think that they don’t need it. For some people it’s completely annoying or trivial, they forgot the password for their account and now they can’t log in to the system. It turns out there are a lot of reasons why people want to reset their Windows password or completely remove it. Therefore, we decided in this article to show you various options on how to reset or bypass your login password on various Windows operating systems.

A way to remove the password on Windows 10, 8, 8.1 during startup or locking of the PC

This option is simple and fast, and does not require much computer knowledge. Here you just need to uncheck one box and that’s it. So let's start reviewing.

  • First, let's open the window " Execute" Press keyboard shortcuts " Win And R».
  • We write in the box “ netplwiz", click " OK».
  • You will be taken to the section " user accounts", uncheck the box here " Require name entry..." Click " OK».
  • The system will ask for a password to confirm your actions, enter it twice.
  • Be sure to reboot the PC. Done, let’s check if we succeeded, if not, move on to another method, which is described below.

Please note: you cannot remove the password this way on Windows 7, but you can bypass it on Windows 10, 8.

How to remove or change your local password

Usually, when logging into the system, a local account is initially used, for which you will need to enter a key. You can easily change it or delete it, we’ll show you how to do it now:

  • We log in to the panel where you can manage all accounts. Press the keys " WinR", copy and paste the command " netplwiz».
  • Next, you will see that in the panel that appears, it is written how to change the password: press and hold “ CTRL with ALT and DEL" A blue screen will pop up where you will need to select the line “ Change password».
  • We drive in the key that is currently relevant. Flood we register a new key with which we want to replace it. If you want the system to start when you log in without asking for a key, then enter one valid key and leave the other fields blank. Click " Enter».

It is not necessary to restart the computer. That's all, now your computer will start with a new password or without it at all. It all depends on what you wrote in the lines.

Resetting a password that you forgot

Often, many users, in pursuit of the security of their PC, come up with complex keys. It would be good if they wrote it down somewhere, but what if not? Then there is only one way, either you throw it off or restore it. Now we will show you methods on how to reset your password in Windows 10, 8, 8.1.

Resetting the code from a Microsoft account

To reset the key, it will be most convenient to contact the Microsoft online service. The company took care of the users and created a service where you can reset the code in case you forget it. Therefore, let’s move on to consider the method:

Resetting the local account password in Windows 7

On Windows 7, unlike other operating systems, there is one local account, which is in no way tied to the World Wide Web. Therefore, if you suddenly forget, you won’t be able to reset it using the Internet. Let's consider another option, in which you must have access to the system.

  • Click on " Search in Windows", enter the command " cmd" Right-click on the black window and select Run as Administrator.
  • To enter a new key, enter the command “”, for example net user xxx 336699.
  • To reset, enter another command “ Net user (account name)’’’’».

Now we try to log in by entering a new key. Or without a key, if you decide to reset it in Windows 7. Unfortunately, the method will not help everyone, but it’s worth a try.

Resetting the password on Windows 7

Due to the fact that you do not have access to your system at all, you will need an installation disk, a flash drive with any Windows operating system (7,8,10). If such media is available, we now proceed to step-by-step actions:

  • Let's boot from our installation media. Click on the line “ System Restore».
  • From the list, click on “ Command line" A black window will pop up called the command line.
  • Enter the command " copy c:\windows\system32\sethc.exe c:\", click on " Enter" Thanks to this command, a backup copy will be created, which is responsible for sticky buttons in Windows on the root of drive C.
  • Replace " seth.exe"in the System32 folder to the file " cmd.exe», « copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe».
  • We reboot the PC, press the ““ button many times Shift", the command line will pop up. Changing the code " Net user (account name) (new password)» .

In more detail, how to do this in Windows 7, thanks to the command line, is described above in the article.

Bypass the administrator password using the registry on Windows 10

Let's try the password bypass method through the registry. It is simple and does not require additional downloads and installations of software.

  • Press the buttons " Win And R", in the window we enter the command " regedit».
  • To appear " Registry Editor"where it will be necessary to open " HKEY_LOCAL_MACHINE", Further " Software", then we look for " Microsoft», « Windows NT», « CurrentVersion" and click on " Winlogon».
  • Now in the center we find the file “ AutoAdminLogon", move the cursor over it and double-click with the mouse. In line " Meaning» enter the number 1 , « OK».
  • Changing the file " DefaultDomainName", we also open it and change it in the paragraph " Meaning" to the name of the local computer. You can view this name by right-clicking on the shortcut " My computer», « Property».
  • If necessary, you can change it in " DefaultDomainName» to any other login.
  • We reboot. After completing the steps, all that remains is to check whether it worked or not.

Resetting your password using the Dism++ program on Windows 10

This is a multifunctional, free utility. Thanks to Dism++, it is possible to remove the local password on Windows 10, as well as clean the entire system of unnecessary garbage. We will now show you how to implement this:

  • Make a boot disk on any other PC or a flash drive and unpack the archive with the Dism++ application there.
  • Boot from this bootable media on the PC where you want to reset the password. Press the key combination " Shift And F10" in the installation application. Specify the path to our Dism++ program on the command line ( for example: F:\dism\dism++x64.exe). To accurately determine which letter the flash drive has, use the following commands one by one: diskpart, list volume, exit(command number two will show which partitions are connected, as well as their current letters).
  • The window “ Dism++ License Agreement", click " Accept».
  • The application will open, where you need to select “ Windows 10...", Further " Open session».
  • Let's go " Tools», « Additionally», « Accounts" In the window that appears, click on the user who needs to reset the password. Click " Password reset».

Everything is ready, you can close everything, and start the computer as you always do. That's all, we figured out how to remove the password in Windows 10. Read also the article about how this might be useful to you.

We bypass the administrator key in Windows 10.

This method is for more experienced users; it requires a boot disk; an option with a flash drive is possible.

  • We launch from a disk or flash drive, click “ Recovery».
  • The next step is to select " Diagnostics», « Additionally», « Command line».
  • Enter the command " copy D:\Windows\system32\cmd.exe D:\Windows\system32\sethc.exe /Y" Disk " D" which is specified in the command, this can be any disk other than the system one.
  • You will see alerts " File copied: 1" We're going to reboot.

On many pre-installed operating systems, a password is set by default for authorization. The administrator password is designed to protect data and settings from other users of the computer. It is sometimes used to prevent access by children. However, if no one uses the device except you or only trusted persons use it, it will only be in the way. This article will be useful to people who are interested in how to remove the password from a computer running Windows 7.

Removing an account password

In order to remove your account password, you need to follow these simple steps:

  • Open the Start menu using the Win button or the corresponding icon on the screen;
  • Open the Windows Control Panel;
  • Find and open the “User Accounts” category;
  • Select “Remove password”;
  • Enter your password and click OK.

After these manipulations, Windows will not ask for a password when logging in.

Administrator password

Some users who use only one account (often an administrator) encounter a problem when they forget their password and cannot get into the system. In earlier versions of Windows, this problem could be solved using safe mode, but in Windows 7, Microsoft fixed this vulnerability.

Now, in order to remove the password, you will need an installation disk or bootable USB flash drive. If you are the owner of a licensed version, you will probably have a DVD with the system image. If not, then the ISO image can be downloaded online and placed on a USB drive. This is done using the command line or special utilities, for example, UNetBootIn. It is best to read the manuals for specific programs about how to do this.

When the preparatory work is completed, you can move on to the administrator password itself:

  • First you need to insert the USB flash drive into the computer port and turn it on;
  • Now you need to go into the BIOS settings and select boot from your portable device;
  • When the data from the disk or flash drive is loaded, the Windows installation screen will appear;
  • Select the language (Russian) and click “Next”;
  • At the bottom of the window you will see the inscription "System Restore"- click on it;
  • If several operating systems are installed on the machine, select the one you need;
  • Next, go to "Command line";
  • In it you need to enter the command “regedit” and press Enter;
  • In the window that opens, select “HkeyLocalMachine”;
  • In the menu at the top you need to open the item “File”, and in it "Load bush";
  • Specify path: "C:\\Windows\System32\config\System"(if your system drive is different, specify it);
  • Enter any section name, in the example we’ll call it “195”;
  • Open "HkeyLocalMachine\195\Setup";
  • Double-click on “Cmd Line” and set the value to “Cmd.exe”;
  • In the “SetupType” parameter, enter “2” in the same way;
  • Highlight your "195" section, open "File" and click "Unload bush";
  • Close all windows and restart your device.

Every user has files that he would like to hide. In this case, you need to set a password on them so that no one opens them. If you need to take advantage of this feature, learn how to password-protect a folder on your Windows 7, 8, or 10 computer.

RMB on the folder you are hiding → Properties → “Attributes” block → check the “Hidden” box → confirm the action.

The second option is to restrict access. But this method is effective if a separate account without Administrator rights is created on the computer for each user.

  1. RMB on the desired folder → Properties → security tab → “Groups and users” block → Edit → Add.
  2. In the “Select” window, enter the names of users for whom access will be limited → Check to check for spelling errors - confirm the actions.
  3. In the “Group Permissions” window, check the boxes for the actions you prohibit.

After completing the action, users, when they log in under their own account, will have limited access rights to this directory.

WinRar and 7-Zip archivers

The fastest way to password protect is with WinRar or 7-Zip archiver.


Now, when unpacking the archive, a dialog box will appear in which you need to enter a password to perform further actions. Watch the video for the detailed process.

Programs with a high level of protection

Password Protect

Password Protect is a shareware program that works in all modern versions of the OS. The utility password-protects and hides folders, making them inaccessible to users who do not know the password.


Good to know! After using the information, you need to re-password it.

Folder Lock

The Folder Lock program is shareware and requires installation on your computer. Its main drawback is the English-language interface.


Conclusion

You can set a password for a folder or file in Windows 7, 8 and 10 using standard means, using archivers or programs with a high level of protection. The latter are provided on a shareware basis, but provide the maximum level of confidentiality.

All passwords, especially complex ones, are often forgotten by us. Sometimes it happens that we write down their meaning only on a piece of paper, which is soon simply lost. In general, the situation is typical. Beginners are sometimes frightened by the fact that if they forget their password, it is impossible to log in to the system. They don't know what to do in such cases. Formally, you cannot log into the system without a password (if it is set and enabled), but this situation can still be corrected. Find out exactly how to do this in our article. So, how to remove the password from Windows 7?

About the SAM system

On the seventh version of the Windows operating system, as well as on XP, the SAM system is used to store keys and user names. All information contained in it is reliably protected from hacking. Therefore, in order to find out a forgotten password, you will have to spend a lot of time and effort. However, there are easier hacking methods. And their main essence is to reset the password and replace its values ​​with new ones. That is, you will not be able to unravel the old information for the “Admin” or “Guest” user, but you will be able to log into the computer after the first reset. To do this, you will have to use several programs, which we will tell you about a little later.

It is also worth noting that when the OS is running, you will not be able to “get into” the password storage and change any information there. That is why programs for resetting keys must be downloaded from another computer onto a separate DVD/CD or onto a flash drive.

And now about utilities

The most famous program designed to reset passwords on Windows computers is Offline NT Registry and Password editor. This utility can work with almost all operating systems. This includes XP, Vista, and Windows 7.

How to use it?

Before you can remove the Windows 7 password, you need to have access to another computer that does not use security keys or you know their values. It doesn’t matter whether it’s a laptop or a desktop system unit. The main thing is that he has access to the Internet. So, go to the World Wide Web and enter the key in the search engine (for example, download NT Registry and Password editor). Download the program and save the exe installer to a flash drive or disk. After you have burned the image to disk, you can begin resetting the password. Unfortunately, this program does not have a graphical interface, but it is not very difficult to understand the principle of its operation.

We insert the flash drive or disk into the “password-protected” computer and wait until it lights up. Sometimes, to enable this program, you need to press the F6 button at one of the moments when the OS starts (similar actions are performed when installing a new operating system on the computer). In general, this utility launches itself, and all you have to do is press the Enter key.

What to do with the command line?

Boot from the program's removable media and select the partition number on which your operating system is installed. If an error occurs, you will have to start the computer again. Next, the program will ask you to specify the path to the folder where the key storage file is located (that is, to the SAM system). The following line should appear here: X:/Windows/System32/config . This is the path to the password file. If the line is not completed completely, complete it with the appropriate symbols. Now select the item called Password reset (it's the first one in the list).

Then everything will be simple. After Password reset, select Edit user data and password. He is also first on the list. Now you need to enter here either its identifier in the format 0xabcd. The last 4 digits are the RID listed in column I. It will be useful to us if the user name is displayed incorrectly or cannot be entered correctly.

Now click on the item 1 - password reset. You can also change it. To do this, select section number 2 “change password”. Then press the “!” sign at the same time. and the enter key. This will exit editing mode.

To remove the password, then enter the character “q”, press enter, then “y” and the enter key. That's it - the password is almost reset. To exit, enter “n” and remove the flash drive or disk from the drive. Next, perform the combination Alt+Ctrl+Del - with this command you will restart your computer. That's it - your Windows 7 account password has been successfully reset! All this work will take you no more than 1 hour, including downloading and installing the program.

Are there any risks?

There are no risks when resetting your password, even if you use this method for the first time. Files, folders and data will not disappear after this, as when uninstalling the operating system from drive C. After resetting the password, you will see the same familiar desktop with all the saved shortcuts. That is, by touching the depths of the system (SAM key file), even with intuitive actions you will not harm your computer. Everything is very simple and safe.

How to remove password from Windows 7? Method number 2

Here is another option for resetting a password on the Windows 7 operating system. To do this, you will have to prepare an installation disk with Windows in advance. In this case, you will enable the hidden administrator account by editing the registry from the OS installation environment. In the future, you can log in to the system under this account and edit information about the passwords of any account that is registered on this computer at any time. This will save a lot of time. By default, “Admin” does not have a registered password, which only works to its advantage.

What do we need for this?

All you need to have is the original installation disk with the operating system. It is from this that we will boot and restore/reset protection in the SAM system.

So, how to remove the password from Windows 7? To do this, we need to boot from the installation disk and press the key combination Shift+F10. This will open the command line. Here you need to enter the value “regedit” and press the enter key.

After it starts, you need to go to the HKEY_LOCAL_MACHINE section. To do this, select “File” - “Load hive.....”. On the English version of the installation disk it will look like this: File - Load hive... Now open the SAM file. It is located in the folder at /Windows/System32/config (that is, where the operating system is installed). When you open the SAM system, your computer will prompt you to enter a value for the hive to load. Here you can type any combination of characters and keys.

After that, select the partition located at KEY_LOCAL_MACHINE/hive name/SAM/Domains/Account Users/000001F4. At the same time, right-click twice on the F key. An editor will be displayed on the screen in which you will need to go to the first number of line 038 (this is number 11). This value must be changed to 10. Do not change any more data. Other numbers cannot be added or removed. To disable the password in Windows 7, select the “HKEY_LOCAL_MACHINE/name hive” hive. Then select “File” - “Unload Hive” from the menu. On English versions of Windows you need to select File - Unload hive. Now confirm the unloading of the hive and restart the computer. First you need to remove the installation disk from it.

But that is not all. To reset your Windows 7 password, follow a few more steps:

  1. Log in as Admin.
  2. In the control panel, select the “user management” section. Here you can remove Windows 7 password.
  3. Change your forgotten password to a new one or reset it.

It is worth noting that here you can change the key not only on the administrator account, but also on other accounts.

Like Method number 3

This is perhaps the most difficult method to reset key data from a SAM file. And the whole complexity and danger lies in the fact that here we will be replacing system files.

As you know, in every Windows the function Sooner or later everyone encounters it is installed by default - if you press the Shift button on the keyboard five to eight or more times, a short but very unpleasant sound will be heard from the speakers, and a small window will appear on the screen .

This window belongs to the auxiliary program sethc.exe. The latter forms the basis of the OS system directory. It also starts on the welcome screen, namely when you are asked to select a user account and enter a password. You can replace this useless program with something more interesting, for example, cmd.exe (command line). Naturally, it will not appear every time you start it, but only if you boot from the installation disk and press the key combination Shift+F10.

How does it work?

You need to start resetting your password by identifying the drive letter on which the OS is installed. To do this, simply enter the value “dir. C:" and view the contents of the root partition.

Then copy the original sethc.exe file to the root of the disk folder, and replace the second one with cmd.exe.

Then restart your computer and press the Shift key several times (until the command line appears on the screen). Enter your username and new password into it as follows: net user username newpassword. A good example: net user admin 12345.

The values ​​may vary, but "net user" at the beginning of the line remains the same. Also, when entering a password, you cannot put a space. And the username must strictly correspond to reality. If it's an administrator, then it's admin. If a guest, then after “net user” the meaning “guest” is entered in Cyrillic and so on.

A similar password reset algorithm can also be observed in the Windows XP operating system. Therefore, even if you are familiar with the “seven” only recently, then, knowing XP, it will be very easy for you to work with this OS.

How to view Windows 7 password? Unfortunately, this is impossible to do. You just have to reset and set a new value.

That's it - now you can safely log into the system. Then, at your discretion, you can reset it to zero or change these values ​​again.

Judging objectively, the fastest and easiest option for resetting passwords is the first method. However, this does not mean at all that the other two are not effective.

Conclusion

So, we have found out how to remove the password from Windows 7. Choose any of the three methods above and reset passwords at any time in minutes. Good luck!

views