Sunday 10 July 2016

Find the GPO name with GUID

If you run GPupdate /force command to update the Group policies in the GP clients, the results will display only GUID (Global Unique Identifier) of the GP which is failing to update. It will not show you the name of the GP. 

At that time, as a server admin, you should be able to find the GP name which is failing.

A.            Below PowerShell command will help you to find the GP name using its GUID.

1      1. Open PowerShell on Active Directory Server and type “Import-Module GroupPolicy”
2.       Get-GPO -Guid 31a09564-cd4a-4520-98fa-446a2af23b4b -Domain gmail.com

****Note: Here domain name would be your domain name where you are trying to apply the policies****

B.             We can get the GP name from Group Policy Management console as well. Below are the steps


1.       Open Group Policy Management console (GPMC.msc)
2.       Right click on domain name and click on Search, it will open a search box.
3.       Select “GUID” from the Dropdown and copy the GP GUID including {}. Click on Add
4.       Click on Search to search in Domain. You will see the GP name in search results. Below is one example.


\


Once you get the GP name, it is easier to identify the problem. 

No comments:

Post a Comment