Wednesday, 8 January 2020

Restore the Default Domain Policy GPO

Sometimes when we run command "gpupdate /force" we faces the following error;

The processing of Group Policy failed. Windows attempted to read the file \\example.com\sysvol\example.com\Policies\{6AC1786C-016F-11D2-945F-00C04FB984F9}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:

a) Name Resolution/Network Connectivity to the current domain controller.
b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).





When you search it in you will find Event ID: 1058.



For such kind of error you need to restore your default GPO with the help of following command

Syntax:
 DCGPOFix [/ignoreschema] [/target: {Domain | DC | Both}] [/?]


Command:
dcgpofix /ignoreschema /target:DC

The above command will recreate the GPO for the domain. You will loose all the settings you have already. It is recommended that always take backup of your GPO.

Courtey:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh875588(v=ws.11)?redirectedfrom=MSDN

No comments:

Post a Comment