Too much time sitting in front of a computer is not a very good habit, especially for children who would much rather spend hours browsing the internet than doing their homework. To that end, a specific time frame can be set so that a user can only use a computer for a stipulated period of time. Obviously, an NET USER user_account/TIME:day,start_time-end_time is the command to be written in command prompt and some more tweaking can be done thereafter.
If you have multiple user accounts, it is possible using the NET USER command to limit the time spent on the computer for each account; this will stop your children from spending too much time in front of the PC for example.
To do this, you must have at least one administrator account (protected by a password) and a limited account. The administrator has more rights than the limited, therefore we can control the limited account from the account administrator.
Here's how it works:
NET USER user_account/TIME:day,start_time-end_time
What is in upper case will not vary and the other parameters are:
net user Test /time:Saturday-Monday,15:00-21:00
To limit the use of the PC to Saturdays, Sundays and Mondays from 15:00 to 21:00. Outside this range, the "Test" user will receive an error message when trying to connect.
net user Test /time:Saturday,15:00-16:00;Saturday,20:00-21:00
The PC can only be used on Saturdays from 15:00 to 16:00 and from 20:00 to 21:00.