Windows XP cannot be started after replacing SAM file

  
Q: I recently deleted the SAM file under DOS when I found that I had forgotten my password when I used the computer. After restarting, the error message appears after the welcome screen appears. I can't log in to the system. What should I do?
A: Actually, deleting the SAM file to clear the account login password is only applicable to Windows 2000 without the Services Pack installed, but in subsequent versions. The vulnerability has been fixed in Windows, so deleting the SAM file will directly result in failure to enter the system. If the SAM file is deleted and there is no backup, we can overwrite the SAM, security, default, system, and software files under \\windows\ epair to the same file under \\windows\\system32\\config. The specific steps are: Go to &ldquo After the recovery console, run the following command:
Copy C:\\windows\ epair\\SAM C:\\windows\\system32\\
Copy C:\\windows\ epair\\security C:\\windows\\system32\\
Copy C:\\windows\ epair\\default C:\\windows\\system32\\
Copy C:\\windows\ epair\\system C:\\windows\\system32\\
Copy C:\\windows\ epair\\software C:\\windows\\system32\\
Then restart your computer. However, the system has been restored to the initial state, so many of the software we installed will not be available, and some system settings will be lost.
Small Tip: In the future, it is recommended to use DreamPack, ERD Commander 2003 and other tools to clear or modify the account login password.

Copyright © Windows knowledge All Rights Reserved