Let us remind you that there can be several user accounts on a computer at the same time and it is recommended that each user use his own account. If the password of a regular user is lost, then access to the account can be restored by the computer administrator, but if the computer administrator password is forgotten, then problems begin. Of course, the Windows developers foresaw this development of events and made it possible to create a password reset disk in advance, but how many people will do such nonsense...
Therefore, let's consider the most common situation: the administrator password is lost and the password reset disk is missing. Let’s immediately make a reservation that we will consider recovering the computer administrator password using standard Windows capabilities, without using third-party programs. This method is applicable to Windows XP, Windows 7 and Windows 8 with a regular account.
We will need a Windows installation disk or a system recovery disk (although you are unlikely to have one). A LiveCD with Windows PE is also good. The boot process itself is described in detail in the article “booting into the Windows RE recovery environment”, so we will not repeat it. After booting into the system recovery environment, select the item command line.
In the command line window that opens, type regedit and press the Enter key on your keyboard. In the registry editor, select the section HKEY_LOCAL_MACHINE.
Now select File ⇒ Load hive from the top menu.
Open the system drive (its letter will most likely be different from “C”) and follow the path <диск>:\Windows\System32\config and open the file SYSTEM.
If the system drive is not visible, then when you boot into the recovery environment, you need to load the driver that was used during the installation of the Windows operating system.
Enter any name for the registry hive to load. IN in this case "primer".
Open the subsection of the registry key we created, in in this example HKEY_LOCAL_MACHINE\primer\Setup
Now we change the values of two parameters. Select on the right side of the window CmdLine and right-click on it. Select the “Change” item in the context menu and enter the value in the field "cmd.exe". We do the same with the parameter SetupType, only we change its value from «0» on "2". The result looks something like this.
Select the primer section we created on the left side of the registry editor and select “Unload hive” from the “File” menu and confirm the operation.
Close the registry editor, the command line, remove the CD from the drive and click the “Restart” button in the system recovery options window.
All preparatory steps have been completed and now we proceed directly to recovering the administrator password in Windows. The computer will restart and at the end a black screen will appear with the message “The installation program is preparing the computer for first use” and a command prompt window. Now you can go several ways.
To replace the password of an existing account with a new one, use the following command, after entering it, press the Enter key.
Net user username new password
If they contain a space, they must be enclosed in quotation marks. To see existing accounts on your computer, enter the command net user without parameters.
You can also easily create a new account or upgrade an existing one to the computer administrator level. To create a new user account with computer administrator rights, simply run the following commands in sequence, separating them by pressing the Enter key.
Net user new_user_name password_for_this_user /add
net localgroup Administrators new_username /add
net localgroup Users new_username /delete
To make an existing user a computer administrator, just run the last two commands. When you have completed all the required actions, close the command prompt window and you can log in using the changes made.
Now you know how to reset your computer administrator password using standard means if you lose it. At first glance it may seem that it is very difficult and time-consuming, but this is not at all the case. The whole operation takes a few minutes and most of the time is spent rebooting the computer. This is exactly the case when describing it is long and tedious, but in practice everything is done simply and quickly.
Of course, some irresponsible citizens may use it for personal gain to illegally access someone else's computer. We can only rely on their conscience and fear of the criminal code. Also, do not forget that this method requires physical access to the computer being hacked, which greatly limits the scope of its application. The most difficult place to protect yourself from hacking your computer administrator password is at home or in the office where a local hacker decides to gain access to your computer, but there are certain protections that can make his life more difficult.
The computer administrator in Windows XP is a member of the privileged user group and has maximum rights in the system. By default, the account created during Windows installation is given administrator rights.
Using a password increases the security of your operating system and the data on your hard drive, even if you are the only user of the computer.
Password protects:
The more people use a computer, the more important password protection is.
You are prompted to set an administrator password for the first time during the installation of Windows XP, during the account creation process.
Many users skip this, so Windows gives you the option to set a password later, at any time. Let's look at three ways to do this.
Now, when you log in as an administrator, you will enter your password. A hint will be displayed on the screen.
If you are not a PC administrator, but you need to log in with administrator rights, you can try to determine the password. To do this, you need two things: knowledge of the administrator account name and a cracking program.
Passwords for all Windows XP users are stored in a special database that is connected to the registry. This database is located in the file C:WindowsSystem32ConfigSAM (without extension). There is no point in trying to view this file or registry - all data there is contained in encrypted (hashed) form.
However, encryption is not at all an obstacle for special utilities, such as:
These programs are capable of detecting passwords different ways: by dictionary, by “rainbow” tables, by types of hash sums, by brute force, etc. Simple passwords, consisting of numbers or in the form of a known word, are calculated quickly. Complex ones - for example, combining upper and lower case letters, numbers and special characters - sometimes cannot be determined.
Let's look at a technique for cracking the Windows XP administrator password using Proactive Password Auditor from Elcomsoft.
As you can see, you don’t need deep knowledge to use password crackers. This and others similar programs almost equally easy to operate.
The reset method is used when it is impossible to log in to the system, but there is no need to save the administrator password. Resetting involves deleting the unknown password and setting a new one. There are also a lot of applications for this that are included in various bootable system recovery collections, such as ERD Commander (the “ Locksmith"), Alkid Live CD (programs Active Password Changer, Password Renew for NT's etc.) and others. Or they are released separately as ISO images for burning on CDs and DVDs.
If you don’t have anything suitable at hand at the right time, you can use any bootable media that allows you to edit the Windows registry. Kaspersky Rescue Disk 10 and various Live CDs with Windows or Linux (chntpw utility) “on board” are also suitable.
Let's look at a simple way to connect the registry of Windows XP installed on a computer to the registry of the portable BartPE system.
Sometimes it happens that you have forgotten or lost the administrator password for your Windows PC. To restore it, it is not at all necessary to reinstall the system or call specialists for help. After reading the article, you will be able to cope with this problem yourself.
The easiest way is to concentrate and try to remember the keyword using the hint that is located near the input field on the welcome screen. If a hint has not yet been created on your PC, and you tend to forget passwords, it is better to do this right now, through these steps:
You can change the password of any PC user only from the administrator account. The situation gets worse if the code word here is also lost. To change the administrator password, we need a third-party software, for example "Microsoft Windows miniPE edition". It is an emergency boot disk that contains a special assembly of the Windows OS for diagnostics and system recovery. We follow this scheme:
This assembly performs functions completely similar to Microsoft Windows miniPE edition. Perhaps it will be more convenient for you to work with ERD. As in the previous paragraph, boot from the disk on which the software is recorded, select “Start” (the same “Start”) -> section “System Tools” -> subsection “Locksmith Wizard” -> line “Next”. Here we find required account, enter a new password, confirm the changes with the “Confirm” button, select “Next” and “OK”. We reboot and get a new password.
These recommendations are verified and 100% working. Under no circumstances follow the advice to delete certain files from the system folder, do not rename or move them. In most cases, this will simply lead to instability in the PC, followed by the need to reinstall the operating system.