Regedit and PsExec: how to edit and delete every key in the Windows registry

If you think that running the regedit as administrator then you can edit or delete every key present in the Windows registry then you are in error.

Even running the regedit as administrator there are some low livel keys that can't be edited or deleted, trying we have this explicit error:

Access Denied


Error while deleting key

If we have to edit or delete one of these untouchable keys we can start the regedit through a PsExec:

psexec -s -i regedit