Everything is blocked, and I’m the administrator [closed]

  administrator, group-policy, windows

I accidently enabled a policy using gpeditor.msc, that blocks all applications on the computer. I didn’t anticipate that it would block the Gpeditor as well. It blocked the PowerShell and the command prompt too, and I have no idea how to reverse the action.
When I try to open gpeditor or any other application that would, it gives me the error. "This operation has been cancelled due to restrictions in effect on this computer. please contact the administrator." But I’m the administrator. I’m lost, please help.

Source: Windows Questions