1. Use the XP system boot disk to start the computer. Write a batch file to recover the password a.bat, only need one "n et user" command: "N et user rwd 12345678". The meaning of this command is to set the user RWD password to "12345678" (for the use of the Net command, refer to Windows Help). Then save the file A.bat to "C:windowssystem32grouppolicymachinescriptsstartup".
2. Write a startup/shutdown script configuration file Scripts.ini, this filename is fixed and cannot be changed. The contents are as follows: [startup]0cmdline=a.bat0parameters=
3. Save the file Scripts.ini to "C:winntsystem32grouppolicymachinescripts". Scripts.ini holds setup data for computer startup/shutdown scripts, which typically contain two data segments: [Startup] and [Shutdown]. Under the [Startup] data segment is the startup script configuration, and the [Shutdown] data segment is a shutdown script configuration.
Each script entry is divided into the foot name and the script parameters are stored in two parts, the XP script names are saved under the Xcmdline keyword, the parameters are saved under the Ghost XP 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 is run.
4. Remove the boot disk, reboot the computer, and wait for the startup script to run. The password for the user RWD is restored to "12345678" after the Ghost XP SP3 script is run.
5. After successful login, delete the two files created by the above steps. Description: The computer uses the FAT32 file system, and if you use the NTFS file Ghost XP, you can connect this hard disk to other computers that recognize the NTFS file system (such as Windows 2000 or Windows XP) from disk mode. This method restores the administrator's password. Password recovery is also valid for local computer users and domain users.