On Windows 10, is it possible to restrict the administrator account login times?

polomora 1 Reputation point

This is my first post on this forum.

I have several family PCs at home for which I am the administrator, all running Windows 10.

I have strange request. I would like to restrict administrator access to the PCs to certain times of the day, namely evenings. Is this possible? I'm aware of the net user <user-name> /time command, to restrict access to user accounts. Can I do something similar for the administrator account?

I've found the following, but the original question wasn't really answered:

Many thanks, Paul

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
9,524 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 43,311 Reputation points


    Unfortunately, the timely restrictions available, both in Domain or Workgroup, apply only to the Log On capability. In case a user with Administrator priviledges is able to log in, the capability to run elevated permission actions will be present.

    The best option in this case would be:

    • Create a new account to be used as priviledged account (part of Administrators group) and set up the logon hours with NET USER command
    • Set the built-in "Administrator" account as Disabled (as best practice for security)
    • Remove other Logon users from Administrators group, but will need to introduce new credentials (the new account you created) when they require elevation or priviledge access.

    This way, you can timely limit the usage of the account with priviledges, while the users can still login and use the system.


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments