How to fix broken group policy object or Direct Access

Hi Guys,

Some of my users are able to break Direct Access and when they run gpupdate /force they are getting

“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.”

To fix it:
Go to the: C:\Windows\System32\GroupPolicy (This folder is hidden)
Go to the machine folder: rename registry.pol to registry.bak
Run gpupdate /force
Restart computer.

That’s all.