1. Press Windows+X to open the Power User Menu and select Command Prompt (Admin).
2. Enter the following command: net user <username> /times:<days,times>
- Replace <username> with the user account you want to set time limits for. You can get a list of users on the computer by typing in net user and pressing Enter.
- Replace <limits> with the days and times the user would be allowed to use the computer. Days are represented as M, T, W, Th, F, Sa, or Su. Times are in 24-hour format. So, for example, you could limit usage on Tuesday from 9am to 5pm by entering /times:T,09:00-17:00. Separate multiple time limits with a semicolon, e.g.: /times:M-F,09:00-17:00;Sa-Sun,09:00-15:00
3. Press Enter.
Once you set the time limit, the user won’t be able to sign into the computer outside of that set time frame. To remove the time limits for an account, type in net user <username> /time:all and press Enter.