Source from the network using scripts to restore user passwords for Windows XP systems
Use a method that does not need a third-party software to restore administrator passwords, you can check how this trick is.
Windows XP Startup Scripts is a batch file that the computer runs before the login screen, which is similar to the automatic execution batch file autoexec.bat in Windows 9 × and DOS. With this feature, you can write a batch file to reset the user password and add it to the startup script so that the purpose is achieved. The following is a specific step (assuming the system directory is C: / Windows).
1. Use the Windows98 boot disk to launch your computer. Write a batch file A.BAT that can restore your password, you only need a "net user" command: "NET USER RWD 12345678". This command means setting the user RWD password to "12345678" (see Windows Help) about the use of NET commands). The file A.BAT is then saved to "C: / Windows / System32 / GroupPolicy / Machine / Scripts / Startup".
2. Write a start / shutdown script configuration file Scripts.ini, this file name is fixed, and cannot be changed. The content is as follows:
[Startup]
0cmdline = a.bat
0Parameters =
3. Save the file scripts.ini to "C: / Winnt / System32 / GroupPolicy / Machine / Scripts". Scripts.ini saves the setting data of the computer start / shutdown script, and the file content usually contains two data segments: [Startup] and [Shutdown]. The [startup] data segment is the startup script configuration, and it is a shutdown script configuration under the [shutdown] data segment. Each script entry is divided into feet name and script parameters two parts stores, the script name is saved under the XCMDline keyword, the parameters are saved under the XParameters keyword, the x represents the script serial number starting from 0 to distinguish multiple scripts and flags The order of operation of each script entry.
4. Remove the Windows 98 boot disk, restart your computer, wait for the startup script to run. After the startup script runs, the password of the user RWD is restored to "12345678".
5. After the login is successful, delete the two files established by the above steps.
Note: The computer uses the FAT32 file system. If you use the NTFS file system, this hard disk can be used to monitor the above operation on a computer that can identify NTFS file systems (such as Windows 2000 or Windows XP). This method can restore the password of the administrator. The password recovery of local computer users and domain users in Windows2000 systems is equally effective.