Let's first take a look at where the SAM files are stored. The location of the SAM file is: C:windowssystem32configsam (as an example of system installation in C disk).
As you know, Windows XP password is stored in the system's C:windowssystem32config Sam file, the Sam file is the account password database file. When we log on to the system, the system automatically and config Sam automatically proofing, such as the discovery of this password and the user name is full with the SAM file in accordance with the encrypted data, you will log on smoothly, if the error can not log in.
So what's the Sam file? Sam is Security account manager, which records passwords, SIDS, permissions, and so on for the account.
Now that the SAM file holds the password and password information, can we delete the SAM file to implement the delete password? The answer is: No. If you accidentally delete the Sam file, you can try to deal with the following methods.
The first thing to be sure is to forget the login password XP, it is not possible to delete the Sam file to solve, some of the online article said that the deletion of Sam files to clear the password to mislead some netizens.
If you encounter this problem, you can do the following: Copy the Sam file for the C:windows Repair folder to the C:windowssystem32config folder.
If you can't get into the system, you can execute the command in DOS:
Copy C:windowsrepairsam C:windowssystem32configsam
Note: The SAM file under repair was created when XP was originally installed, so that you lose the users and user groups you created in your system after you installed the system. After this operation is successfully logged in, you can revert to the most recent restore point if System Restore is turned on.
What if the SAM file deletion causes the computer not to start?
In this case, you can try to start with the "Last Known Good Configuration" by holding down the F8 key while powering on, which is a recovery process after a system file is accidentally deleted.
Attached: Repair folder explanation analysis
Repair as the name implies is the meaning of recovery, which is stored in the file is only the system installed after the completion of the build, only to restore the time will be useful, the current role in the c:windowssystem32config below.
Some netizens said that his system is XP, read on the Internet that if the SAM file under the Windows/repair cover windows/system32 under the SAM, you can restore the administrator password to the initial state, ask his system under the Repair folder without files, is empty , is why?
In fact, this netizen is paranoid, the system normal use of the case, in the C:windowsrepair folder is empty.