Windows XP startup scripts (startupscripts) are batch files that are run before the computer appears on the login screen. It functions like autoexec.bat in Windows9× 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 "netuser" command: "Netuserrwd12345678".
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:windowssystem32GroupPolicyMachineScriptsStartup".
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: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 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 mount this hard disk from the disk mode to other computers that recognize NTFS file systems (such as Windows2000 or WindowsXP). The above operation. 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.
I believe that everyones operating system has a lot of fonts, using different fonts in web design an
When a user finds that a folder is open in WinXP, the upper back button is grayed out. Although the
I believe many users are confused about the concept of virtual memory, what is virtual memory? What
The NetBIOS protocol is primarily intended for small LAN protocols and allows user software to use L
Create self-extracting files with WinXP's own tools (1)
WinXP system shutdown firewall tutorial
Some notes about the commonly used services in the win xp system
How to forget the login password can be restored
Windows XP system can't teach you how to start quickly.
XP: 23 strokes to create speed WinXP
Win XP printer sharing problem solving method
Ending the virus intrusion in CMD
Malware on the desktop? Master easy to deal with coups
Win2003 system encounters software can not open, experts teach you how to solve
Use system commands to observe system changes.
Several issues that must be noted when reinstalling the system
System administrator essential Ten Windows Server Tools (2)
The win10 system comes with a calculator
Win7 Bluetooth driver installation failure how to solve
Windows 7 enters RC stage Official version released in late summer
SVN1.6 server and client installation configuration steps
Common knowledge and frequently asked questions about Win7 sleep and hibernation
What if the Win7 wireless network icon disappears?
System restore point is missing doubts