First, the use of net command
The WinXP provides the "net User" command, which can add and modify user account information in the form of the following syntax:
NET user [UserName [Password | *] [options]] [/domain]
NET user [UserName {Password | *}/add [options] [/domain]
NET user [UserName [/delete] [/domain]]
Now take the example of restoring the local user "ZHANGBQ" password to illustrate the steps to resolve the Forgotten logon password:
1, restart the computer, in the Start screen immediately after pressing the F8 key, select "Safe Mode with command line."
2. At the end of the operation, the system lists the system super User "Administrator" and the local user "ZHANGBQ" menu, the mouse clicks "Administrator", enters the command line mode.
3, type the command: "NET user Zhangbq 123456/add", forcing the "ZHANGBQ" user's password to change to "123456". If you want to add a new user here (for example, the username is abcdef and the password is 123456), type "NET user abcdef 123456/add", which can be added "net localgroup Administrators Abcdef/add" command to promote users to the System Management Group "Administrators" and to have super privileges.
4, restart the computer, select Normal mode to run, you can use the changed password "123456" login "ZHANGBQ" user.
Ii. the use of "Administrator"
We know that when you install Windows, you first log in as "Administrator," and then ask to create a new account to log in with this new account when you enter the WinXP, and only the user account created in the WinXP login interface will appear. "Administrator" does not appear, but the "administrator" account still exists, and the password is empty. Understand this point, if you forget the login password, in the login interface, hold down the Ctrl+alt key, and then hold down the DEL key two times, you can appear classic login screen, at this time in the user name type "Administrator", the password for empty entry, and then modify the "ZHANGBP" 's password.