How to Fix Corrupted Default Domain Group Policy in Windows Server

RECOMMENDED: Click here to fix Windows errors and optimize system performance

When you try to check the Default Domain Group Policy on the computer’s configuration page, users may receive the following error:

Administrative Templateshide
An error has occurred while collecting data for Administrative Templates.

The following errors were detected:
The file “\\\sysvol\\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\Machine\registry.pol” is not in a valid format. The file might be corrupt. Use Group Policy Object Editor to reconfigure the settings in this extension.

First of all, you should never change the default policies in a Windows environment (workstation, standalone, member server or DC), the right way is to create strategies based on what you want to achieve and link these strategies to the appropriate OU. For example: Desktop control, User station settings, Basic security settings, Network settings, Internet control, etc. Well, you’ve understood the idea, use your imagination and keep it simple, but don’t go too far by creating a Gpo for each parameter you want to change.

January 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


Even if we reset the default domain GPOs to a default setting, this can cause other problems. So make sure you have a current back of your default domain so that you can easily undo this change if necessary.

How to fix corrupted domain policies by default

There are so many variables that may or may not cause corruption of standard domain policies. Most users change the default rules directly instead of creating new ones.

Use dcgpofix

To fix this, there is a tool called dcgpofix.exe that allows you to restore default policies and fix corrupted or misconfigured default policies.

  1. Please go back before this step, even if policies are violated. You never know………
  2. Simply run dcgpofix.exe at the command prompt.
  3. You will receive a warning that the policies will be overwritten, answer Yes to the warning.
  4. You are done!

Now that you can see where the settings are stored when you create and configure a group policy setting, you can review other settings yourself. The general point is that when a parameter is defined, a file is created that stores the parameters and configuration details. There are two main configuration levels: Users and computers. These levels determine where the setting is stored based on the part of the GPO that is configured. Now that you have this information, you can fix, study and solve almost any GPO storage problem.

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance