Removing the Windows 7 administrator password. These commands perform operations in strict order

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 recovery 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 and 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!

How many times have you forgotten your passwords for a coded door at the entrance of a friend, your e-mail or an account in some VKontakte? But if in this case services and recovery services could help you, then in the case when you forget your password from your computer, only specialists will help you... If your hands are “growing from the right place,” then you can try to do something yourself. The easiest way out of this situation is to reset the Windows 7 administrator password.

Options

There are several ways to solve this problem. Today we will talk about resetting the administrator password, which can be done with direct access to the computer, so these tips will not be useful to you for hacking someone else’s PC or server.

  1. Mechanical.
  2. Using the created software.
  3. Using the operating system distribution.

Any of these options is equally good and bad at the same time. Some of them are larger and better suited for laptops, while others are ideal for a desktop computer. In addition, passwords are different, so if you protected your computer by password-protecting it using BIOS, even now it is not completely safe and there are ways to overcome this protection of a stationary personal computer. However, this method will not help you in the case of a laptop, because simply disassembling and putting it back together in working order is a very difficult task, not to mention making any changes.

Via BIOS

To immediately dot all the i's, it is worth saying that resetting the Windows 7 administrator password through the BIOS is not possible. Some concepts should be separated. You will not be able to reset passwords on a user account using any operations in the BIOS, but if you have completely denied access to the computer using the I/O system and have forgotten the password, then here are a couple of tips for you.

It should be immediately noted that these methods are quite dangerous for your computer and work with 100% reliability only on stationary PCs. Yes, and these tricks can only be done with direct access to the system unit.

So, a quick reset of the Windows 7 administrator password is carried out as follows. Unscrew the cover of the PC system unit, having first disconnected it from the power supply, and find a coin-cell battery on the motherboard. You should remove it for a few seconds and then put it back in place. This way, you will reset all temporary BIOS settings on your computer, including the password.

Second method

Also, resetting the Windows 7 administrator password set in the BIOS can be done a little differently. You will need the instructions from your motherboard. In the diagram you need to find a special jumper, with which you can reset the BIOS settings. The jumper looks like a pair of exposed contacts. In order to reset the password, you will have to change the jumper on the jumper and turn on the computer. It will not start, but all settings will be set to default. Remove the jumper and turn on the PC again. When you first boot, you will be thrown into the BIOS control panel. Don't touch anything, just press the exit button and save your existing settings.

With disk

It is worth noting that if you have set a password for the user, then simply removing the battery is not enough. If you still have the operating system distribution, then you can use the following couple of tricks to reset the Windows 7 local administrator password.

So, first, remember the process of installing your OS. If you did it yourself, then at some point you should have been asked if you wanted to set a password for the “admin panel”. This entry is usually inactive and hidden from prying eyes, and users work on an account with extended rights. If you lose your account password, the administrator can always delete it himself. But what kind of “administrator” can we talk about on a home computer? Therefore, you have to use the system administrator user account, which is installed on the system by default.

To launch it, do the following. Insert the installation disk and on the first welcome screen press the combination “Shift+F10”. This will allow us to bring up the command line. Next, we need to launch the registry editor with the “regedit” command. After this, we perform the following manipulations in the editor.

  1. Select HKEY_LOCAL_MACHINE and click "File" - "Load hive".
  2. Find the SAM file in the Windows folder - Swstem32 - config.
  3. In the new branch that appears, go to the folder 000001F4. It is located in SAM - Domains - Account - Users. The "F" parameter needs to be changed.
  4. Double click on it. We are interested in line 0038. In it we need to change the number located in the very first column. "11" -> "10".
  5. We exit and save.
  6. Select the root folder of our branch and click the “File” menu button, then “Unload hive”.

After all the manipulations have been completed, you can restart the computer. Now you can log into your administrator account and reset your Windows 7 administrator password manually using operating system tools.

Another variant

There are still ways to log into a password-protected account. The fact is that you can reset the Windows 7 administrator password directly from the console running as an administrator. Now you will be offered a rather complicated method, but one that allows you to leave a small loophole for the future.

Perhaps you have come across a program that is responsible for sticky keys? When you press "Shift" or "Alt" many times in a row, you will receive a message asking you to turn off sticky. The fact is that this function also works in the user selection menu when we just turned on the computer. So if we replace it with something useful, we could benefit from it. For example, calling the command line.

To do this, repeat the steps in the previous paragraph and enter the operating system installation menu. Launch the command line. By default, your operating system should be installed on volume "C:\". If not, just replace it with the desired letter. After launching the line, enter a sequence of commands.

  1. "Copy C:\windows\system32\sethc.exe C:\" - a copy of the file with the code that reacts to sticking is created.
  2. "Copy C:\windows\system32\cmd.exe C:\windows\system32\sethc.exe" - copy the contents of the file that launches the command line to the sticky file.

After entering the last command, you must restart your personal computer (laptop). In the user selection menu, when you are asked to enter a password, we activate the sticky function by quickly pressing a few keys. The command line will open, and enter the command “net user UserName NewPassword”. As you might guess, instead of UserName you need to specify your user name, and instead of the second parameter, a new password. After this, you will be able to log into your account on your personal computer. If you want to return everything to its place, you can turn on the command line from Windows and enter “copy C:\sethc.exe C:\windows\system32\sethc.exe”.

But how to reset the Windows 7 administrator password without a disk?

Utility

If the operating system distribution kit is missing, it is always possible to reset the password using a special utility. You will need a program to reset the Windows 7 administrator password. For example, Offline NT Password and Registry Editor. We write it to a disk or flash drive and restart the computer, choosing to boot from external media. Resetting the Windows 7 administrator password from a flash drive is quite easy to learn if you can read and know English. So let's begin.

  1. After launch, a table with hard disks will appear in front of you. Enter the number of the one on which the OS is installed.
  2. Determine the path to the SAM accounts file. "C:/Windows/System32/config".
  3. Enter "1" twice in a row.
  4. We select the user we need in the table. The administrator password reset program only works with Latin, so if the name is not displayed correctly, you can enter its RID in the format 0xRID.
  5. Once again enter "1".
  6. The following is a sequence of commands: exit, save changes, do not continue.
  7. Reboot the computer by pressing "control-alt-divide".

The Windows 7 administrator password reset program did its job. You can enter your "domain" on the computer.

Warning

Finally, it should be noted that any changes that you make to your computer when trying to reset the Windows 7 administrator password, you do at your own discretion, and all responsibility falls on your shoulders. After them, most likely, no service will accept your computer under warranty. especially after opening the cover of the system unit. After all, it is very difficult to prove that you did something with the operating system, but the opened “seals” on the system unit will look very eloquent. This means you will have to pay specialists a round sum for quite simple actions. When following these instructions, be extremely careful, and if something is not clear, it is better to clarify or look for additional information.

Bottom line

We hope this article helped you with your problem, no matter what method you used, be it a remote battery or a super-sophisticated utility from an unknown manufacturer. The main problem you may encounter is data security. Unfortunately, some information may well be lost during this process. Therefore, try to get it from friends or download a version of the operating system on LiveCD. Then you can simply save all the data that is important to you.

In this article, we did not consider the simplest but longest method - a complete reinstallation of the system. Unfortunately, sometimes there are situations in which it becomes completely impossible to access your computer, and reinstalling Windows becomes the only possible option.


A password is the basis for the security of any system and helps to lock your computer from third parties intending to use it. By neglecting safety, you consciously take upon yourself all the possible consequences of your actions. It often happens that it becomes too annoying to enter a password, especially when you are the only owner of the computer. So how to remove the password when logging into Windows 7?

Before removing it, let's take a look at the advantages of such a system.

To achieve the desired result, you do not necessarily need to remove your password set for your account; there is the option to create a new account.

Thanks to these actions, you will be able to:

  1. Be protected from unwanted computer use;
  2. Log in to an unsecured account;
  3. Protect your PC from the harmful actions of some viruses that cannot be executed without the required level of access.

Such an alternative exists, and in this article we will briefly consider it; read in more detail in the next publication. But first, we will perform actions related to the immediate topic of the article. To achieve the desired result, you will need access as an administrator and, of course, a password for recording during the procedure.

Disable Windows 7 login password requirement

1. Open the “Run” line, this is where administrator rights come in handy, without them you will not gain access, press Win + R;

3. You will be taken to the “User Accounts” window, below are all previously created user accounts, select the one you need and uncheck the “Require username and password” checkbox;

4. After this, apply the specified changes, you will be asked to enter the old password to confirm these actions.

There is also another method, it is almost identical to the previous one, except that it does not require you to use the command line to find the account settings window.

The method also differs in that you do not remove the requirement to enter a password before starting the system, but remove the password, thereby removing the need to ask for it.

How to remove a password?

The starting requirements are the same, access to the administrator account and the password for the desired account.

1. The most accessible way to get to the desired menu is to click on the picture indicating your avatar. In your current account, to do this, open “Start” and click on the picture, go straight to step 3;

2. This point has a right to life, because in some versions of themes used from third-party developers there is no such window, you should follow a different path:

  • Click on the Windows sign in the lower left corner, “Start” should open, select the “Control Panel” option;
  • Find, often at the bottom, “User Accounts” and click on it.

3. Go to the “Delete your password” tab;

4. Enter it in the empty line and click “Remove password”;

Another option similar to this could be: instead of deleting the code (point 3), go to “Change your password”, enter the outdated password, and leave the space for the new one empty, so there will simply be no password.

Sometimes the option does not work completely; the computer still asks you for a password when you log in, but allows you to access your account by simply pressing Enter, without a password. If you have such a problem, then use the first method by disabling the Windows feature that requires a password when logging in.

Creating a Windows 7 Account

1. Open the account settings menu as we just did and click “Manage another account”;

2. You will see a window with accounts that already exist, and at the bottom is the “Create an account” button, which is what you need;

3. 2 parameters are required: name and type, regular or administrator access;

4. After everything, click “Create an account” and you can use it.

Now, if you click the button that is located slightly to the left of “Shut down” in the “Start” menu, you will see a list of possible options for stopping the system; you need to click “Change user” and switch between them if necessary. When you start your computer, you can immediately go to the newly created entry.

On our website we already have a description of many functions that are relevant and useful for the user, based on this we will not dwell on this, but it is important to understand the differences between all methods. In the first case, you completely remove the password, in the second, you set an empty one, and in the third, you simply create a new account without a password, and leave the Administrator protected.

You need to understand that the most important system commands can only be executed on behalf of the Administrator.

However, you can create another account with administrator rights, so they will have equal rights to access and edit content. Be careful and do not give them without the proper level of trust, because this will make your computer more vulnerable.

If you still have questions on the topic “How to remove the password when logging intoWindows7?”, then you can ask them in the comments


if(function_exists("the_ratings")) ( the_ratings(); ) ?>

Removing the password when logging into Windows 7 is quite simple. This will require a minimum amount of time and knowledge. This kind of operation usually takes no more than a couple of minutes.

This can be done in various ways: through a special console, command line, or by resetting key data from SAM. Each method has both its advantages and disadvantages.

Why set a password

It often happens that some important and confidential data is stored on the PC, access to which should be limited. Microsoft Windows makes it possible to easily limit the circle of people who have access to files on your computer by installing a special key. Each person can have his own if there are several users.

An access code is also required to protect information on the PC to different owners from each other. For example, this is often necessary for parents so that curious children are not able to get acquainted with some information that they are not entitled to.

Removing the password through the “Run” console

One of the easiest ways to disable entering an access key on the OS is by using the “Run” item. Accessing it is quite simple - just click on the “Start” button. Most often, the item in question is present on the right side of the window that opens.

Entering a command

To disable the function in question, you must enter a specific command. It will open a special applet that allows you to do this.

The process of entering the command is as follows:

  • open the Start button menu;
  • click on the “Run” item;
  • In the field that opens, write “control userpassword2”.

After completing these operations, a window called “User Accounts” will open.

It contains two tabs:

  • "Users";
  • "Additionally".

You need to focus your attention on the first tab. Since this is where all account settings are made, including changing the login, access key and other attributes. In addition, if desired, you can easily add new accounts or remove old ones.

Disabling the password

To disable Password, just open the corresponding window (“accounts” -> “users”). In it, you need to uncheck the box called “Require username and...”. In this simple way you can disable the need to enter Password.

Confirming the user

You can also completely disable the Microsoft Windows login window.

To do this, you need to do the following:

  • in the window called “Accounts”, double-click on the desired line (admin, user or something else);
  • click “OK”.

A window will open containing three fields. Only the top one should be filled in; login is written there. The rest remain empty. After that, click on “OK” again. After performing these operations, when starting Microsoft Windows, there will be no need for Password. Which is quite convenient if only one person has physical access to the PC.

video: Password reset

Removing the password when starting Windows without programs

Also, Password in the operating system in question can be unstuck without using the “Run” item, as well as various third-party applications. To do this, just use a special command line. In this way, you can avoid having to enter Password when you turn on the computer, as well as when it comes out of sleep mode.

Command line setup

In order to configure the command line, you need to use the Windows distribution disk. This method of setting up and resetting the access code is suitable if it is forgotten and it is not possible to start the OS otherwise.

First of all, you need to install it through the BIOS to boot from a CD or other device containing the distribution. After this, you should reboot and start the installation.

After this, the following actions are performed:


  1. CmdLine – enter cmd.exe;
  2. SetupType – replace parameter 0 with 2;
  • select section 999 and click “Unload hive”;
  • extract the distribution package and reboot the PC.

Resetting your password and login

After loading the operating system, the user will immediately see the command line window. To reset the password, you must enter the following command: net user username

If for some reason User has forgotten the account name, then you can simply write net user without parameters. This will allow you to display all available items and select the one you need.

If the new Password is not intended to be used, then it is sufficient to leave the field blank.

If you need to enter a new one, the command will look like this: disk name:Windowssystem32net user user_name new-key.

It is also often necessary to create a new account without an access key.

To do this, you need to run the following commands in strict order:


These commands perform the following operations in strict order:

  1. creating a new User;
  2. adding it to the Administrator workgroup;
  3. removal from the Users group.

The reset method in question is quite complicated, but quite feasible even for not very experienced PC owners.

Method for resetting key data from SAM file

There are a huge number of different ways to reset your login code. But all of them only change in various ways the information stored in a special file called SAM. It is used by the OS to store data related to both User and Password. This abbreviation name stands for Security Account Manager.

The file in question does not have an extension, since it simply does not require one. It is a direct part of the registry, located in the directory systemrootsystem32config. Also, a copy of the file in question is available on the emergency recovery disk, if for some reason this function was not disabled earlier.

Editing this file to change the operating system login parameters is the most difficult way. To work with SAM, you need specialized software from third-party developers. All operations with SAM must be performed with the utmost care and precision.

How it works

The most popular application for changing data in the SAM file is active password changer. Before you start, you need to copy the application to some media or other FAT32 hard drive.

After performing this operation you must:

  1. run the password file from the folder "BootableDiskCreator";
  2. in the window that opens, select "Add USB...";
  3. activate the button "Start".

After completing all the above steps, a bootable USB flash drive will be created.

The process of changing data using the application in question is as follows:


This method of working with accounts and their attributes is as secure as possible. Since it allows you to avoid editing the registry and other manual operations. This can sometimes be difficult for not very experienced users who started working with their PC relatively recently. The likelihood of harming the operating system in this case is practically zero.

Another important advantage of this program is the ability to set a schedule for PC use by individual accounts.

The disadvantages include the fact that some older motherboard models do not support launching from a USB drive. In such a situation, you have to look for some alternative options: a floppy disk, a CD, or something else.

Quite often, especially with beginners, situations arise when the combination of characters required to enter the OS is forgotten or lost for other reasons.

>

There are many ways out of such a difficult situation; reinstalling the system is not always required. Moreover, any computer owner who has minimal skills in interacting with this type of equipment can cope with resetting the OS access code.

Guide to resetting/removing passwords for Windows 7,8,10, XP accounts when turning on the computer.

Navigation Windows To protect personal data from prying eyes on computers with an operating system

It is possible to create user accounts that can only be accessed by entering a set password. But, due to the fact that today almost every person has their own personal PC, the need to set a password rarely arises.

If you have already created an account with a password on your computer, and you want to remove it in order to speed up the loading of the operating system, then in our article we will tell you how to do this.
IMPORTANT: This article presents the most suitable password reset methods for beginners. On the Internet, you can come across options for resetting your password by editing the registry (Windows file system) and using a key file.

If you are not an experienced user and have never encountered such actions, then resorting to these two methods is strongly not recommended, even according to the instructions. The slightest mistake can lead to complete failure of your computer.

How to remove the startup password from a Windows XP computer? Windows XP

has long been outdated and is not supported by Microsoft, but many owners of personal computers still prefer it to other operating systems. How to remove the startup password from a Windows XP computer? IN Windows There are two ways to remove the power-on password. But we will tell you only about one method, which is universal and suitable for all operating systems of the family

. You need to do the following:.

  • Step 1 Turn on your computer, open the start menu and click on “».

Execute.

  • Step 2 In the window that opens, in the text line, enter the command “ cmd " and press "».

Enter.

  • Step 3 A command line window will open, in the field of which you need to enter the command “ control userpasswords2 " and press "».

" and press ".

  • Step 4 Require username and password».

Step 5.

  • At the final stage, you will be asked to enter the password that is currently set on the account you are insisting on. To finish, click on the “ OK».

How to remove the startup password from a Windows 7, 8, 10 computer?

To remove an account password in versions Windows 7, 8 And 10 you can resort to the same method as in the case of How to remove the startup password from a Windows XP computer?, however, it will be easier to do this through the control panel. To do this you need to perform the following steps:

. You need to do the following:.

  • Turn on your computer and run " Control Panel».
  • At the top of the window on the right side in the column “ View" set the parameter " Small icons" and in the updated window find the section " user accounts».

Execute.

  • A window with account settings will open in front of you, where you can set an avatar for them, set a password or change an existing one.
  • To delete an existing password, you need to click on the line “ Removing your password».

Enter.

  • A tab will open on which you need to enter the currently set account password in the appropriate field and click on the button to confirm the action. Remove password».
  • Thus, after restarting the computer, the operating system will no longer require you to enter a password, and you will log in automatically.

How to remove a password from a computer if you forgot? Windows XP, 7, 8, 10

When setting a password for an account in the system Windows You are always additionally required to enter a hint in case you suddenly forget your password. If this happens, the first thing you should do is contact her for help by clicking on the corresponding icon when logging in.

If the hint did not help you in any way, then you will need to do the following manipulations with the computer:

. You need to do the following:.

  • The first thing you need to do is run Windows in safe mode. To do this, restart your computer and, almost immediately after the download starts, press the " F8».
  • A list of operating system boot modes will appear on the monitor. Using the keyboard arrows, go to the line “ Safe mode cmd " and press "» to login.

Execute.

  • After loading the operating system, a window with accounts will appear on the screen. Among them, a standard account should appear “ Administrator", which you need to enter.
  • A window will appear notifying you that the operating system is running in safe mode. Click the button OK" and wait until the OS loads completely.

Enter.

  • Next, as in standard mode, through the menu “ Start» expand « Control Panel", go to the section " User accounts» and select the user whose password you want to reset.

" and press ".

  • In the account settings window, go to the " Changing your password" and then press the button " Change password", leaving all fields blank.

Step 5.

  • Close all windows correctly, restart your computer, and log in normally. Now, when choosing your account, you will be able to log in without asking for a password.

IMPORTANT: When you start Safe Mode, the monitor resolution and color scheme of the operating system automatically changes. To make sure that these changes did not occur as a result of a system failure, make sure that the text “ Safe mode».

VIDEO: How to reset a password in the Windows 7, 8, 10 operating system?