Reset local Group Policies

Today I noticed several clients which have not updated any GPOs for a while. Even a “gpupdate” was not successful:

gpupdate issue
"The processing of Group Policy failed. Windows could not apply the registry-based policy settings for the Group Policy object LocalGPO."

After a some troubleshooting, the local group policies could be determined as the cause (as already noted in the error above). As viewing or editing via “gpedit.msc” was also no longer possible.

The only solution was to reset the local GPOs. This can be done via CMD or Powershell.

ATTENTION:
All locally defined group policies are lost and have to be reset!

CMD

RD /S /Q "C:\Windows\System32\GroupPolicyUsers" && RD /S /Q "C:\Windows\System32\GroupPolicy"

Powershell

Remove-Item 'C:\Windows\System32\GroupPolicyUsers' -Recurse -Force
Remove-Item 'C:\Windows\System32\GroupPolicy' -Recurse -Force

After the reset a “gpupdate” can be performed again without any problems and the GPOs will be applied again.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments