Windows XP startup scripts are batch files that are run before the computer appears on the login screen. It functions like the autoexec.bat autoexecute file in Windows 9x and DOS.
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 specific steps (assuming the system directory is C:\\Windows).
1. Start the computer with the Windows 98 boot disk. Write a batch file a.bat that can recover the password. The content only needs a "net user" command: "Net user rwd 12345678".
This command means 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:\\windows\\system32\\GroupPolicy\\Machine\\Scripts\\Startup".
2. Write a startup/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:\\ Under winnt\\system32\\GroupPolicy\\Machine\\Scripts". 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 boot disk, restart the computer, and wait for the startup script to run. The password of the user rwd is restored to "12345678" after the startup script finishes running.
5. After the login is successful, delete the two files created in the above steps.
Description: The computer uses the FAT32 file system. If you use the NTFS file system, you can attach this hard disk from the disk mode to other computers that recognize NTFS file systems (such as Windows 2000 or Windows XP). Do the above. 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.
Windows Server 2003, 2008 as the Microsoft server family operating system, used in the start
We can greatly improve the operating efficiency of WIndows XP Once the Microsoft Windows XP operatin
Windows Movie Maker is a multimedia component used to create home movie files in Windows XP. It firs
1. Reinstall Windows XP does not need to be activated If you need to reinstall Windows XP, you usua
Using WPS mail merge function to realize data batch insertion into document
Windows XP Tips Ultimate Killing Complete Works
How to automatically change file names in Windows XP
XP LAN settings and inaccessible solutions
My machine is controlled by me. It is forbidden by Win XP. It is
Internet cafe diskless workstation maintenance knowledge
Window xp network management secret: block seven weapons of BT download
Two alternative gadgets for Windows
Microsoft's new software UPHClear helps you quickly shut down
New ideas to restore system administrator password with Gene (3)
The computer can start at night and can't start what happened in the evening
Windows 10 uses troubleshooting tips for fixing system failures
Win8/8.1 system encountered a quick fix failure attempt
Ubuntu 11.04 and 11.10 comprehensive comparison
How to quickly install wireless network card with Win8
What to do if there is garbled setting improperly
How to use the win7 system computer dot matrix printer
How to view the printer port (text) in WIN7 system
Win7 vs Vista graphics driver performance comparison
Let Windows 7 Media Center support more file formats and folders