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.
Now, more and more people upgrade Windows XP to SP2. In this article, the author will give y
Windows Home (www.Windowszj.com): If you use your computer, it feels so sour and uncomfortab
File copy movement is one of the most frequently used operations in our daily use. Do you of
In Windows XP, the default My Computer layout has changed a lot compared to previous versions of Win
Windows XP fax function uses the full Raiders
Windows Caozuoxitong in three files hidden skills
Undo Windows comes with useless features (a)
Solve the problem that Windows XP cannot log in after upgrading
Windows XP operating system security
Change the Windows XP parameters to make the thumbnail display faster
Analysis of classic misunderstandings after forgetting the password
XP taskbar fake death solution [on]
System security: Win XP SP2 configuration and troubleshooting techniques revealed
Optimize the taskbar button for grouping Win XP
Outlook express to send and receive mail needs to set up the system
Only two strokes immediately give the right-click menu "Reduce"
Win8 IE10 show supernatural powers: one-click share link
What if the Win7 volume icon is gone?
Ways to secure Windows 7 operating system
Possible ways to lock the recycle bin icon to the taskbar on Windows 10
How to set the Win8 system boot entry? Manually manage the boot entry method
Win8.1 switch local account detailed tutorial
How to backup the registry in Win10 system? Win10 method of recovering the registry
Why does the pp assistant computer version automatically quit? How to fix?