How to limit or set the time limit for the user account in Windows 10/8/7/7

Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

In this post, we will see how you can limit or set a time limit for each user account in Windows 10/8/7 using the Net User command. Net User is a command line tool that helps system administrators add or change user account behavior. We have already taken a look at some net user commands for administrators, now we want to see how to set time limits for local accounts.

Limit or set a time limit for user accounts

April 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

You can always use Parental Controls or Microsoft Family Safety to do this and more. However, under Windows 10, this integrated function is linked to your Microsoft account.

If you connect to your Windows 10 PC with a local account, this command can be of great help.

Run the command prompt as administrator. Copy the following command and press Enter and replace the user name with the user account name :

net Username /Times:M-F,10:00-22:00;Sa-Su,09:00-23:00

This means that the selected user has access to his account from Monday to Friday, from 10am to 10pm and Saturday and Sunday from 9am to 11pm.

If you set a time limit for a specific user, that user can only log in and access the PC between these periods. The syntax of use is as follows:

net user /times:{day[-day][,day[-day]]]. Time[-time][,Time[-time]]]]].

Specifies the hours at which users are allowed to use the computer. Time is limited to steps of one hour. You can use abbreviations (M,T,W,W,W,Th,F,F,Sa,Su) for daily values. You can use the 12 hour or 24 hour log for hours. If you use 12-hour logging, use AM and PM or A.M. and P.M. This value means that a user can still log on. A value of zero (empty) means that a user can never connect. Separate day and time by commas and day and time units by semicolons (e.g. M,4AM-5PM;T,1PM-3PM). Do not use spaces when specifying times.

This allows you to limit how long a user connects to the Windows PC.

You can use any of these syntaxes – 08:00 or 8:00. For example

    • net user name /zeit:M-F,08:00-17:00
    • net user name /zeit:M-F,8-17 Uhr

To restore the default settings and give the user access at any time, use :

net username /time:all

Trust that it works for you !

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Scroll to Top