There must either be a 2 way transitive trust; or minimum trust necessary is that the test domain (Test.com below) trusts the service account's domain (Main.com below). If this is the case, then the service account can be granted access to the GPOs in test.com, and the ExternalDomains registry key should work (instructions below).
Follow these steps after the trusts have been confirmed, and the environment above has been configured (or similar):
- Create/ add the following registry key to the GPOAdmin server in MAIN.com:
HKLM\Software\quest software\quest group policy manager\vccconfig - Create a new String Value, Name "ExternalDomains" (Without the quotes) data= TEST.com Domain
- Restart the GPOAdmin service
- Open the GPOAdmin Console
- TEST.com is visible under Live Environment
- Register the GPOs you want to compare
- Select Reports, New Report, Difference Report. This will provide the ability to choose any 2 registered GPOs on this server to run the difference report on.
NOTE: If using GPOADmin 5.16 using an SQL configuration store the following steps are also necessary to use this key. To use the ExternalDomains registry key on a new GPOADmin 5.16 SQL configuration store, or an upgraded GPOADmin SQL configuration store where no permissions had previously been set for any ExternalDomains do the following for each domain in the ExternalDomains key:
- Get the objectGUID for each domain in the ExternalDomains list from ADSIEdit
- For each domain run the following SQL:
INSERT INTO [dbo].[Domains] ([DomainID], [DomainName], [ShowInLiveView], [IsAzure]) Values ('<DomainObjectGUID>','<DomainFQDN>',1,0) - For each domain Get the objectSID for the Domain Users group for each of the domains using ADSIEdit
- For each of these run the following SQL:
INSERT INTO [dbo].[DomainSecurity] ([DomainID],[TrusteeSID],[DomainRights]) values ('<DomainObjectGUID>', '<DomainUsersSID>', 255)