Win7 How to use the Net USER command line statement to limit logon time:
1. Click Start, and then click Run.
2. In the Open box, type cmd, and then click OK.
3., type NET user Username/time:logon_times (where username is the name of the user account, Logon_times is the date and time that the user is allowed to access the domain), and then press ENTER.
4./time and/times equivalents
5, the following values must be date and time
6. You can use the net Help user to view detailed instructions
The following are instructions for using the/time switch:
1, date can be spelled out (such as Monday), can also be abbreviated (such as M, T, W, Th, F, Sa, Su)
Can be used for 12 hours (1PM or 1P. M.) or 24 hour (13:00) time system.
2, a null value indicates that the user can never log on.
3, the value of "all" means that users can log in at any time.
4. Use a hyphen (-) to mark the date or time range. For example, to create a range from Monday to Friday, you can type m-f, or Monday-friday. To create a time range from 8:00 to 5:00, you can type 8:00am-5:00pm, 8am-5pm, or 8:00-17:00.
5. Separate the date and time items with commas (for example, monday,8am-5pm).
6. Separate the date and time unit with semicolons (e.g. monday,8am-5pm;tuesday,8am-4pm;wednesday,8am-3pm).
7. Do not use spaces between dates or times.
Win7 How to set the Limit logon time