Restrict/set Time Limit for User Account in Windows 10-8-7

To Restrict Time Limit for User Account use the Net User command. Net User is a command-line tool that helps system administrators add or modify user account behavior.

While you can always use Parental Control or Microsoft Family Safety to do this and more. But in Windows 10, this built-in feature is tied to your Microsoft Account.

If you use a Local Account to sign in to your Windows 10 PC, then this command can be of great help to you.

To begin, run cmd as administrator. Now copy-paste the following command and hit Enter, replacing username with the name of the user account:

net user username /times:M-F,10:00-18:00;Sa-Su,10:00-14:00

This means that the selected user will have access to his account from Monday to Friday, from the times 10 am to 6 pm and on Saturday and Sunday from 10 am to 2 pm.

When you set a time limit for a particular user, then that user will be able to log in and access the PC only between that times. The usage syntax is as follows:

net user <username> /times:{day[-day][,day[-day]] ,time[-time][,time[-time]] [;] | all}

To restore default and allow the user access at all times, use:

net user username /time:all

 

Leave a Comment