GPO - Deny User Local Locally

Sokoban 1,036 Reputation points
2020-11-18T05:44:19.55+00:00

Hi

I want to avoid users to logon locally,
I have find the GPO for do this , How I do that for local users?

Grateful for answer

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,380 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Fan Fan 15,336 Reputation points Microsoft Vendor
    2020-11-18T07:35:21.843+00:00

    Hi,

    Yes , there is a group policy to do this.
    For example , there is a local user local18.
    I create a gpo and link it to the computer container or you can do this through local group policy.
    Right click it and select edit, and find the policy under computer configuration>windows settings>security>local policies>users right assignment>deny logon locally
    40506-11185.jpg
    type the user name directly as following:

    40494-11186.jpg

    Refresh the policy on the client.
    Best Regards,


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.