Windows XP startup scripts are batch files that are run before the computer appears on the login screen. It functions like the autoexec file autoexec in Windows 9x and DOS. 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. 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". 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:\\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:\\winnt\\system32\\GroupPolicy\\ Under 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.
In Windows XP, there are several system-defined folders on the left side of many software op
For the most part, Windows XP sp2 focuses on security improvements, but the impact of these
After the installation of Windows XP, it will occupy 1.5G-2G space on the hard disk. If the
Recently, Jelly received several complaints from colleagues. They reported that they could not acces
Win 2000/XP system input method loss solution
WinXP system network can not visit the seven major solutions
Tips for using disk scanning under Windows XP
Protection system security, prevention of network bombs four strokes
The signs and repairs of bad sectors in the hard disk (1)
Quickly reinstall Windows to move flowers to wood
Windows XP system to achieve rapid shutdown of the latest techniques in
Deep technology xp system automatically installs
Windows XP SP3 patch package integration and engraving method
Windows XP uses the console to solve computer problems.
Windows8 synchronization settings detailed
After the win7 system is activated, how to detect and streamline the
Let the Windows system taskbar come and go
Five changes in the media playback of Win10
How to turn off SSD hard disk indexing service under Windows 8 system
Win10 system how to cancel the lock screen interface
Questions to know before activating Win XP with sp2
Microsoft produced: Win8 RP release preview version Simplified Chinese product guide