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



RECOMMENDED: Click here to fix Windows errors and optimize system performance

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



January 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • 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



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 !



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance