Fix Group Policy error 1058

 

So I tried to change the scope of the problem and looked for error events in System event log and Voilaa! There were massive amounts of 1058 Group Policy errors which were directly related to processing group policy.

I opened one of those events and noticed that it gives information about a GPO with its GUID. The error looked like this:

The processing of Group Policy failed. Windows attempted to read the file \\Contoso.com\sysvol\Contoso.com\Policies\{99A6554D-6618-4C47-99FB-5A71589AFB3F}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved.

I wanted to investigate that GUID and see if that exist or not. Once I opened SYSVOL I noticed that the folder related to that GPO does not exist! Considering this explanation, it is a normal behavior and because the folder which holds the gpt.ini file of that GPO did not exist, the problem occurred.

Since you cannot create folders in SYSVOL directly (Do not even think about creating a dummy folder with same GUID name) you have one other choice to remove those problematic GPOs from GPMC and re-import them back using your backed up settings and documentations. Once you re-create the GPOs, their folders will be created in SYSVOL and problems will fade away.

But since you cannot delete “Default Domain Policy”, you should take another approach for fixing “Default Domain Policy” and “Default Domain Controller Policy”. For these two lovely GPO’s you better use DCGPOFIX and fix them automatically. After fixing your default policies, you need to take a look at your documentations and re-import your settings back.