Problem
Running gpupdate resulted in errors like below:
PS C:\> gpupdate /force
Updating policy…
Computer policy could not be updated successfully. The following errors were encountered:
The processing of Group Policy failed. Windows could not apply the registry-based policy settings for the Group Policy object LocalGPO. Group Policy settings will not be resolved until this event is resolved. View the event details for more information on the file name and path that caused the failure.
User Policy update has completed successfully.
To diagnose the failure, review the event log or run GPRESULT /H GPReport.html from the command line to access information about Group Policy results.
Solution
- Navigate to C:\Windows\System32\GroupPolicy\Machine
- Rename registry.pol file to registry.bak
- refresh the policy with gpupdate /force