Here's how to set up a Windows 10/8/7 Limited user account to limit the time and scope of Windows usage.
Set Windows Limited User account
To limit the time to use of a local account simply use the Net User command that the administrator is familiar with:
NET user username/times:m-f,10:00-22:00; sa-su,09:00-23:00
NET user
The above command indicates that a Windows local account is set to be used: from Monday to Friday, from 10 o'clock in the morning to 22 o'clock, Six Sunday 9 o'clock in the morning to evening 23 o'clock. After the command has been executed, the account will only be allowed to log on and use Windows within a limited time limit. (m means monday,f of course it means Friday)
Of course, the presentation of time can also be 08:00 or 8am, for example:
NET user username/time:m-f,08:00-17:00
NET user username/time:m-f,8am-5pm
If you cancel the time limit for your account, you can use the following command:
NET user username/time:all