How to change the Windows XP user password with no knowledge

Source: Internet
Author: User
Tags ini net command

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.