When trying to run gpedit.msc, the following message may appear:
Failed to open the Group Policy Object on this computer. You may not have appropriate rights.
Details: Unspecified error
Fix this by deleting the contents of the c:\Windows\System32\GroupPolicy folder.
This will reset your group policy, but it’s already corrupt.