How to setup login time limits (a.k.a. "parental controls") if you don't want to login with a Microsoft account?

13

7

When creating accounts on Windows 10, you get a choice between "Your family" and "Other users".

If you choose "Your family" you are forced to use a Microsoft account to sign in. There are various reasons why one wouldn't want to do that, such as too much sharing of private information with Microsoft, etc.

If you choose "Other users" you can create regular accounts just fine. However, if you need to setup time limits for some accounts, it is impossible to do so. It is a feature exclusive to "Your family". Not all time-restricted users I want to create are my family, and not everyone is okay with sharing their info with Microsoft.

So, is there a way to setup login time limits for the "Other users" type of accounts?

Florin Andrei

Posted 2015-08-04T17:38:20.207

Reputation: 919

Answers

8

Setting logon hours using net command will only prevent users from logging in outside the allowed times, but will not lock their sessions or force log out when the logon hours expire.

To lock user session after logon hours expire, run the Local Group Policy Editor and set action to take when logon hours expire:

  1. Press Win+R, then type gpedit.msc.
  2. Under User Configuration -> Administrative Templates -> Windows Components -> Windows Logon Options, click on Set Action to take when logon hours expire.
  3. Choose Enabled, then set the action to Lock or Logoff, depending on your needs.

Mostafa

Posted 2015-08-04T17:38:20.207

Reputation: 81

I believe there must be more to this process than described since I have now enabled user time limits and set the local policy as described and it did not logoff or lock after the time limit. – Calydon – 2016-01-17T20:52:37.210

+1 this works for me! The user will get a 1 minute warning then be logged off, assuming you picked "Logoff". Command to set the times: "net user <USERNAME> /times:M-Su,12:00-22:00". Windows 10 home does not have gpedit.msc by default, had to dig for a way to add that. – SuperJames – 2017-12-14T18:17:30.987

In my case, "Windows Logon Options" don't have that option, 4 others, but not the one about logon expiration :( Any ideas why? – Budda – 2019-03-19T03:33:58.803

3

AFAIK, the parental controls in Windows 10 cannot be used with local accounts. So I researched third party software that can limit time on Windows 10 with local accounts and found these:

Time boss

TimesUpKidz

Time boss officially supports Windows 10 (at least they say so in their FAQ). Not sure about TimesUpKidz. They cost about $30-$50 but maybe a small price to avoid sharing private info with Microsoft?

See this question for more info.

Jonas Kello

Posted 2015-08-04T17:38:20.207

Reputation: 139

Worked successfully on a local account for me, think it may be online accounts that differ. – Dan Devine – 2017-04-08T15:19:05.470

0

The "net" command limits the logon hours, not limiting the usage time. Once user logged on during the allowed logon hours, Windows will not force the user to log off.

However, if a parent set a child account with time limit via Windows Parental Controls, the child will be forced to logoff after the time limit is up.

So, for the time being, there is no other way to set the time limit without Windows Parental Control. But, if you are bold, take a look at Windows Parental Controls API, and build your own app.

TurnPikeBob

Posted 2015-08-04T17:38:20.207

Reputation: 1

This worked in Windows 8 for quite some time, but stopped. – Budda – 2019-03-19T02:36:56.140