Local admins windows server

Faisal Tahir 0 Reputation points
2024-07-15T14:30:12.7366667+00:00

Is there a Windows policy which enforces that no local users should exist on the server except for sysadmin Unless if a user is a member of an exception group

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,192 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Marcin Policht 25,285 Reputation points MVP
    2024-07-15T22:13:24.0466667+00:00

    Yes - it's restricted groups policy setting. Typically it's used for privileged groups, but it should work for Users as well

    https://wiki.samba.org/index.php/Managing_local_groups_on_domain_members_via_GPO_restricted_groups


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Wesley Li 9,900 Reputation points
    2024-07-23T12:58:27.6433333+00:00

    Hello

    We could try the following group policies.

    Computer Configuration> Windows Settings> Security Settings>Local Policies>User rights assignment

    Allow logon locally

    OR Deny logon locally

    0 comments No comments

  3. Wesley Li 9,900 Reputation points
    2024-08-06T08:59:17.3133333+00:00

    Hello

    Is your problem solved?

    If the above reply is helpful to you, please mark your reply as an answer, thank you very much!

    If you have any further questions, please do not hesitate to contact us.

    Thanks

    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.