On the domain controller where Group Policy cannot be edited, use these checks and fixes:
- Confirm which DC is being used by GPMC
On the working server, open Group Policy Management → right‑click the domain → Change Domain Controller and note which DC is selected. Ensure the problematic DC is fully replicated and then explicitly select it there. This guarantees that when editing GPOs, the same DC (or the intended one) is used and avoids conflicts in a multi‑DC environment. - Avoid editing GPOs on out‑of‑date DCs
Before editing GPOs on the problematic DC, verify that it has an up‑to‑date copy of the GPOs. If a GPO is edited on two DCs before replication completes, merge conflicts can corrupt the configuration. Only edit GPOs on a DC after replication has completed. - Check for SYSVOL/Registry.pol locking issues
If the error on the problematic DC mentions a file in use or similar when editing a GPO, the issue may be an exclusive lock onRegistry.polin SYSVOL. In that case:- Install the relevant hotfix on the domain controller that cannot edit GPOs (Windows Server 2008 R2 SP1 or Windows Server 2012 only).
- Create the registry value on that DC:
-
HKLM\Software\Policies\Microsoft\Windows\System -
DWORDname:GroupPolicyForceCloseSysvolFileHandle - Value:
1(any non‑zero value enables it)
-
- Restart the Group Policy service or the domain controller.
- If the DC is not the PDC for certain GPO types
Some GPOs (for example, DirectAccess client and application server GPOs) are managed specifically by the PDC. Ensure that when editing those GPOs, the PDC is the DC used by GPMC or by any PowerShell cmdlets (for example, via the-DomainControllerparameter withOpen-NetGPO).
If, after these steps, the DC still cannot edit GPOs while the other can, keep all GPO edits on the working DC (typically the PDC) until the problematic DC’s SYSVOL and AD replication and file locking issues are fully resolved.
References: