Microsoft has always tried to keep the users inside their ecosystem. The grand plan of Windows 10 to keep it free for 1 year surely went the right way. Still, many users uninstalled it due to privacy issues (which you can certainly disable). Also, there are some settings that can only be enabled if you’re logged in with your Microsoft account. One of the settings that become unusable when logged in with the local account is Family Controls. (Well, if you’re on Windows 7 then here’s a complete guide on using parental controls.)
So, what would you do if you want to restrict your child’s computer usage (or of anyone else) without these parental controls? Well, of course, you’d surely opt for an alternative software but if you’re one of those geeky Mom or Dad then you’d probably like do it via Command Line. So, let’s see how you can do it.
Restrict Windows 10 Usage for Any User
We’re going to use the net user command to limit the usage of a particular user. Open Command Prompt as Admin. Here’s the syntax of the command.
Here’s an example.
net user abmac /time: M-Sa, 5pm-7pm
This will limit the usage of the user from Monday to Saturday and time limited to 5pm to 7pm. Outside this time limit, the user won’t be able to log in the account. You can even set a different time for different days by separating them using a semicolon. Here, take a look.
net user abmac /time: M-Fr, 5pm-7pm; Sa-Su 5pm-10pm
While setting time in 24-hour format, make sure that it should be in full hours (11:00 or 12:00). Half an hour (11:30 or 12:30) won’t work. Now, if you want to give complete access to the user then you use the following command.
net user abmac /time:all
This will remove the time limits and the user will be able to access the account all the time. Now, if you leave the /time value blank then it will never allow the user to access the account. It’s equivalent to blocking the user.
If you want to see complete details of the user, like when the user can access his/her account then use the following command.
That’s it! This a quick and geeky method to block or limit usage of users using Command Prompt. You only need to take care that your child or target user might be geeky like you and might figure out how you limited their usage. If you’ve got any other method to quickly block users then do let us know.