How can I force delete locked registry key with command-line?

  command, editor, registry, tweak, windows

With Registry permissions I’m a little familiar with and unlock tools like SetACL were helpful in the past, but currently I faced microsoft block a key which isn’t so easy to get deleted.

For everyone who cares about details:
In Windows 11 I’d like to reactivate the old context menu for ALL USERS at once (not only for current user). The key is stored in"HKEY_LOCAL_MACHINESoftwareClassesCLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" (NOT THE HKEY_CURRENT_USER ONE!). But Microsoft keep it unimaginably safe (even the SYSTEM user has no access to it, only the TrustedInstaller, bah!)
I know there is a way for unlocking without damaging the system, because with "RegistryDeleteEx" it works technically. Unfortunately this app doesn’t have any possibility for operate with in background (there aren’t command line options).

So, my question now is:
In which way, I’m able on Windows 11 to delete the key {86ca1aa0-34aa-4e8b-a509-50c905bae2a2} with command line or at least silently?

Source: Windows Questions

LEAVE A COMMENT