gpedit.msc is not accessible even with administrator account.
- Open “Run” & enter
%systemroot%\system32\GroupPolicy\User - Delete
registry.pol(if it exists). - Go to
%systemroot%\system32\GroupPolicy\Machineand deleteregistry.pol(if it exists). - Reboot your system.
- Log in using your administrator account & create a new administrator account.
- Reboot the computer & login as under new administrator account.
- Open “Run” & enter
gpedit.msc - Go to “Local Computer Policy” → “User Configuration” → “Administrative Templates” → “system” → “Run only specified Windows applications” (as shown below) & disable it.

- Run
gpupdate /forceand login with your old administrator account.