Forget WinXP user passwords with script recovery

  
A way to recover the administrator password without using third-party software, you can see how this trick is.

Windows XP startup script (startup scripts) is a computer running a batch file before the logon screen appears, its function is similar to a batch file to automatically execute DOS and Windows 9 × in autoexec.bat. With this feature, you can write a batch file to reset the user password and add it to the startup script, which is the purpose. The following are the specific steps (assuming the system directory is C:Windows).

1. Windows98 boot disk using the computer. Write a batch file a.bat that can recover the password. The content only needs a "net user" command: "Net user rwd 12345678". The meaning of this command is to set the password of the user rwd to "12345678" (for the usage of the Net command, refer to the Windows help). Then save the file a.bat to "C:windowssystem32GroupPolicyMachineScriptsStartup".

2. write a startup /shutdown script configuration file scripts.ini, the file name is fixed and can not be changed. As follows:

[Startup]

0CmdLine = a.bat

0Parameters =

3. scripts.ini saved to the file "C: winntsystem32GroupPolicyMachineScripts "under. The scripts.ini holds the setup data for the computer startup/shutdown script. The file content usually contains two data segments: [Startup] and [Shutdown]. The [Startup] data segment is the startup script configuration, and the [Shutdown] data segment is the shutdown script configuration. Each script entry is divided into two parts: the script name and the script parameter. The script name is saved under the XCmdLine keyword, and the parameter is saved under the XParameters keyword. Here, X represents the script sequence number starting from 0 to distinguish multiple script entries and flags. The order in which each script entry runs.

4. Remove the Windows 98 startup disk, restart the computer, wait for startup scripts to run. The password of the user rwd is restored to "12345678" after the startup script finishes running. Delete the above steps to establish after the success of two

5. Log files.

Description: Ren Weidong friend's computer using the FAT32 file system, if you use the NTFS file system, you can mount the hard drive to Slave mode to the other can recognize NTFS file system (such as Windows 2000 or Windows XP The above operation is performed on the computer. This method can restore the password of the administrator (Administrator). Password recovery for local computer users and domain users in Windows 2000 systems is also valid.
Copyright © Windows knowledge All Rights Reserved