Showing posts with label security filtering. Show all posts
Showing posts with label security filtering. Show all posts

Tuesday, September 12, 2017

Powershell Tips – Get Users and Group from a GPO Security Filtering

image

Using security filtering on GPOs it’s a nice way to apply a GPO to specific groups or users.
But you may find yourself a little bit lost if you need to know every user or group you have configured.

Since Group Policy Management doesn’t allow you to export the users and groups, you’ll need to use a Powershell command to do it.

Here’s how:
Get-GPPermission –Name ‘GPO NAME’ -All | Where Permission –eq GpoApply

And…you’re done!

GPOs – Attention! MS16-072 May Cause Security Filtering GPOs to Fail !!

image_thumb3

Here’s an important one!

If you’re using GPOs with users or groups security filtering you may need to make changes after installing MS16-072.

Basically the group policy just…stops working!

This happens because GPO is missing the Read permissions for the Authenticated Users group.

To resolve this:

  • Open Group Policy Management Console (GPMC)
  • Navigate to the GPO and click Delegation tab on the right
  • Add the Authenticated Users group with Read permissions on the GPO

And the GPO works again!