Windows 10: Time limit on Pc or allow pc to use for certain hours. Solved

Page 1 of 2 12 LastLast
  1.    17 Dec 2017 #1

    Time limit on Pc or allow pc to use for certain hours.

    HI. I am not sure if similar post exist b4. So my question is I want to set time or timer that Windows log out after few hours use of PC or set time like no use of pc more than 10 PM With admin access. I know that If I make standard or Kid account may do it. But I want it in admin account with full access because some programs wont run thx
      My ComputerSystem Spec

  2.    17 Dec 2017 #2

    I forget to mention that after log out windows should not allow user to login back until next day thx
      My ComputerSystem Spec

  3.    17 Dec 2017 #3

    Look at the Parental Controls on your router.
      My ComputerSystem Spec

  4. Posts : 981
    Windows 7/64 Professional
       18 Dec 2017 #4

    I'm not sure because I'm the only one on my computers, but I did find this tutorial by Brink that might be helpful.

    Take a read. Just might be something you are looking for.

    Family Child - Manage Activity Reporting Settings User Accounts Tutorials

      My ComputersSystem Spec

  5. Posts : 13,619
    Windows 10 Pro
       18 Dec 2017 #5

    Open an elevated Command Prompt, following command would allow user JohnDoe to sign in only weekdays between 09:00 and 17:00 (9AM and 5PM):

    net user JohnDoe /time:M-F,09-17

    All weekdays the same time:

    net user JohnDoe /time:M-S,09-17

    Time can be given both in 12 and 24 hour formats:

    net user JohnDoe /time:M-F,9AM-5PM

    Day or day range and time are separated with comma. Time can only be given in full hours (13 or 1PM is OK, 13:15 or 1:15PM not). Days can be given either as full names (Monday, Tuesday etc.) or abbreviations (M,T,W,Th,F,Sa,Su), or combination of these. Days can always be given in English regardless of Windows display language, but localized day names can also be used. For instance in Swedish Windows it's the same if I use Monday - Friday or Måndag - Fredag.

    Following command would allow user JohnDoe to sign in only on Mondays and Tuesdays between 09:00 and 17:00 (9AM-5PM), on Wednesdays and Thursdays between 11:00 and 15:00 (11AM-3PM), on Fridays and Saturdays between 08:00 and 14:00 (8AM-2PM), and on Sundays between 16:00 and 22:00 (4PM-10PM):

    net user JohnDoe /time:M-T,9-17;W-Th,11-15;F-Sa,8-14;Su,16-22

    Semicolon (;) separates days / day ranges.

    Reset login access to 24/7:

    net user JohnDoe /time:All

    Click image for larger version. 

Name:	image.png 
Views:	3 
Size:	433.0 KB 
ID:	168656

    Access can be restricted for all standard and admin accounts, be it a local, Microsoft or Azure AD (Work / school) account. Exception: built-in administrator's access can't be restricted. In domain environments restrictions should be done from domain controller.

    If user signs in just before end of allowed login time, user can remain signed in as long as PC is not shut down, restarted or user has not signed out. Signing back in is then not allowed, user must wait until start of next allowed login time. If you also want user to be forced to sign out at the end of the allowed time, you can use a scheduled task for it.

    Last edited by Kari; 18 Dec 2017 at 15:48. Reason: Lots of typos!
      My ComputerSystem Spec

  6.    18 Dec 2017 #6

    PressF5 said: View Post
    I want it in admin account with full access because some programs wont run thx
    Anything that you set up, a user who is part of Administrators group can undo. There is a trade off between this (how rigorously you want to enforce hours) and granting them permission to do whatever they want (including bypassing restricted hours).

    The problem (perhaps) is if it is an admin account then that user can undo any changes - they could run net user JohnDoe /time:All for example. They would have to signed on and remember to do it before their time was up of course. If they did this the fact would be stored in the event log (unless they cleared the event logs). You could tell they had done something but you can't stop them doing it.

    Even if you have some old program that requires administrator privileges you should be able to run it as administrator from a standard account. You can even grant this authority automatically (See here Elevated Program Shortcut - Create for Standard User - Windows 7 Help Forums) but that again lets the user run with Administrator rights if they know what they are doing.

    Perhaps you need to look into what programs will not run as a standard user. Which programs do you have a problem with?
      My ComputerSystem Spec

  7. Posts : 13,619
    Windows 10 Pro
       18 Dec 2017 #7

    lx07 said: View Post
    Anything that you set up, a user who is part of Administrators group can undo.
    The OP's question is an oxymoron: Restricting access for user who has rights to revoke and cancel those restrictions. Instructions in my previous post suit better for restricting access for standard users but as the same commands can be used to restrict admin account's access, the post answers OP's question.

    But, as you said, it really is useless because an admin whose access has been restricted can just reset any restrictions next time he / she is allowed to sign in.

      My ComputerSystem Spec

  8.    19 Dec 2017 #8

    Thanks to all reply guys. Parent control only work with child account not in another admin account. Because some program in child account require admin access and that should not be pop up. Anyway I try it. Thx for info and time
      My ComputerSystem Spec

  9.    21 Dec 2017 #9

    My main reason to limit for my small bro. He play games too much about 5 - 7 hours. So I want to reduce his time. Most games he play requires admin access this is where I having problem. So even I set account as child or standard account those games won’t work which require admin access. Idk what actually I need to do
      My ComputerSystem Spec

  10.    22 Dec 2017 #10

    Just tell him to stop then.

    You are the adult in this conversation.
      My ComputerSystem Spec

Page 1 of 2 12 LastLast

Related Threads
how to limite Ondrive to upload only 2 files at one time ?? just see below OneDrive latest app is uploading around 8+ ( my upload speed in India is so slow :o:o 118570 and due to this upload fails again and again , & Onedrive app retry it...
I may have never noticed this in Windows 10 but after the 1607 anniversary update was released I noticed that Mail notifications that turned on the Action Center Icon and the Email subject and sender information in the action center, over time,...
clock five hours ahead of time in General Support
i try both of those options, the time zone is correct , make sure the clock in bios is correct; but every time i start windows 10, it always shows the clock five hours ahead of time. I always have to go to settings and turn the auto time set button...
My timezone is set correctly to Eastern (UTC-05:00) but Windows sets the clock ahead four hours after every boot cycle. It even sets the hardware clock in UEFI fours hours ahead. I've run a boot-time virus can using Avast Internet Security. Two...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:36.
Find Us