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: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 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.
Recently, many users have reported that the XP system browser opens the webpage prompts and cannot b
No local connection or loss of local connection is a common type of computer failure. There is no lo
The user finds that when a program has an illegal operation or an error message, the system will pop
When we use the computer, we found some problems that we cant solve. In addition to searching for he
Share the tips of how the WinXP system displays the day of the week in the lower right corner
The optical drive is not as simple as it is supposed to use. The technique is open
Can the system log in automatically? What is the setting method?
Not familiar with the latest operating skills of windows xp system _ registry tutorial
XP system can not copy the solution of the document
Briefly analyze the importance of hardware collocation
4 tips for Windows Task Manager
Windows users get rid of hacker attacks (3)
Windows XP SP2 all kinds of stumbling blocks
How to get rid of stealth killers - computer radiation
Report said that Windows XP market share has fallen below 50% in July this year
Turning off Win7 Edge Auto Maximize
How does the XP system enter the dos system?
Win10 start menu and cortana Xiaona can not open how to do
Windows 7 will highlight Microsoft's "killer instinct"
How does the Robbin ribbon in the Win10 File Explorer menu bar disappear?
Win7 system to modify the disk properties, such as the M disk can be changed to F disk
Win8.1 view system hidden account skills
Modifying File Access Control Permissions under Windows Command Line
Entering a key does not activate the system when upgrading Win10