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

polomora 1 Reputation point
2022-10-23T14:06:09.52+00:00

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:
is-it-possible-to-restrict-an-administrator-account
time-restriction-on-administrator-account

Many thanks, Paul

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

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,331 Reputation points
    2022-10-25T14:27:14.977+00:00

    Hello,

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.