The Net User command is a DOS command that must be run in MS-DOS mode under Windows XP, so first enter MS-DOS mode: select the sub-option of the "Start" "Accessories" option “Command prompt”, or enter “cmd.exe” in the "Start” menu"Run" option (shortcut key for Win+R) to enter MS-DOS mode. The following features are based on this mode. Create a normal new user Enter the following command at the MS-DOS prompt: <;net user john 123 /add”, enter. You can create a new user named “John” with a password of “123”. The Add parameter indicates a new user. It is worth noting that the username can have up to 20 characters and the password can have up to 127 characters. Establishing a user with limited login time The following methods can be used to control the computer's usage time. For example, you need to create a John user account with the password "“123", login privileges from 8:00 am to 10:00 pm Monday to Friday and 7:00 pm to 9:00 pm on weekends. 1. For the 12-hour system, type the following command: <;net user john 123 /add /times:monday-friday,8AM-10PM;saturday-sunday,7PM-9PM”, enter OK. 2. For the 24-hour system, type the following command: <;net user john 123 /add /times:M-F,8:00-22:00; Sa-Su,19:00-21:00”, Enter to confirm. It is worth noting that the increase in Time is limited to 1 hour. For the Day value, the full name or abbreviation (ie, M, T, W, Th, F, Sa, Su) can be used. A 12 hour or 24 hour time representation can be used. For the 12 hour representation, please use AM, PM or A.M., P.M. The All value means that the user can always log in; a null value (blank) means that the user can never log in. Separate the date and time with a comma and separate the date and time units with a semicolon (for example, M, 4AM-5PM; T, 1PM-3PM). Do not use spaces when specifying time. In addition, the Passwordchg:{yesno} parameter can be used to specify whether the user can change their own password. The default setting is Yes. Limiting the user's usage time The Net User command can also use the parameter Expires: {{mm/dd/yyyy dd/mm/yyyy mmm, dd, yyyy} never} to make the user account expire the user according to the specified Date. The expiration date can be in the format [mm/dd/yyyy], [dd/mm/yyyy] or [mmm, dd, yyyy]. It depends on the country code. The user account expires at the beginning of the specified date. For month values, a number, full or three-letter abbreviation (ie, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec) can be used. For year values, you can use two or four digits; separate each part of the date with a comma and a slash; do not use spaces. For example, to limit the user account John to expire on November 5, 2004, you can type the following command: <;net user john /expires:Nov/5/2004”, enter OK. View User Information, Modify Existing User Password, and Delete User If you use it without parameters, Net User will display a list of users on the computer, such as typing the following command: <quo;net user”, press Enter to display the system All users. If you type: <quo;net user john”, press Enter to display the information of the user John. If you type the command: <quo;net user john 123456 /add”, press Enter to force the password of the user John (John is an existing user) to be changed to 123456. If you type the command: <quo;net user john /delete”, press Enter to delete the user John. There are so many introductions about the usage of the Net User command. In fact, there are many skills like this, and you need to constantly explore and communicate with each other.
Added the Remote Desktop Connection feature in Windows XP. With Remote Desktop Connection, users can
To install the system, you must set the computer to boot from the CD. This needs to be set in the BI
The computer is an XP system. After right-clicking on the folder, select “Share & Secu
“ How to remove the shadow of the desktop icon? & rdquo; often asked by some novices such a pr
[WindowsXP] Restore files after emptying the recycle bin
Troubleshooting a Faulty Service in XP
Windows XP system auto-restart problem detailed analysis
XP computer can not shut down the solution
Windows XP installation graphic video tutorial (2)
Fast horse whip 20 seconds into win XP operating system
Win XP input method can not switch solution
Windows XP operating system experience sharing
Running the disk cleanup caused the computer system to crash
Win10/win8 dual system settings only open a system when booting
How Windows 7 resists attacks from malicious programs
Rookie buy computer must read carefully these misunderstandings
Four technologies that make WinXP performance superior
Win7 taskbar preview window shows too slow solution
How to install Nvidia Quadro graphics driver for Ubuntu system
Win 7 system theme default restore solution
Windows 7 Comic Album: Protecting the Internet Privacy (1)
Storm video 4 large use setting skills
How does Win7 add hot folders to the taskbar to improve work efficiency?