Win7 How to set the Limit logon time

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.