Windows News and info 15th Anniversary 2009-2024
Windows 11 | Windows 10 News on these iconic operating systems. => Windows 10 Help | How To & Fixes | Tips & Tricks => Topic started by: javajolt on February 12, 2016, 10:41:30 PM
-
In this post we will see how you can restrict or set a Time Limit for any 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 modify user account behavior. We have already taken a look at some Net User commands for administrators, now let us see how to set time limits for Local Accounts.
Restrict or set Time Limit for User Accounts
(http://i65.tinypic.com/xnw3a1.jpg)
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 command prompt 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-22:00;Sa-Su,09:00-23:00
This means that the selected user will have access to his/her account from Monday to Friday, from the times 10 am to 10 pm and on Saturday and Sunday from 9 am to 11 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.
In this way, you will be able to restrict a User’s logon hours on Windows PC.
You can use any of these syntax – 08:00 or 8am. For example:
• net user username /time:M-F,08:00-17:00
• net user username /time:M-F,8am-5pm
To restore default and allow the user access at all times, use:
net user username /time:all
twc