Windows – Unable to modify registry as admin on Windows 2012

permissionswindowswindows-registrywindows-server-2012

On Windows 2012, I'm trying to change the AppIDFlags value in the registry key HKEY_CLASSES_ROOT\AppID\{E62A7A31-6025-408E-87F6-81AEB0DC9347} to allow interaction with the desktop as documented here: http://forums.arcgis.com/threads/69842-Debugging-your-SOE-on-Windows-8

However, even when running regedit.exe as administrator I'm not allowed to change the value or take ownership of the registry key. On saving the value it says:

Cannot edit AppIDFlags: Error writing the value's new contents.

When trying to take ownership of the key, I get this error:

Unable to set new owner on {E62A7A31-6025-408E-87F6-81AEB0DC9347}

Access is denied.

Why am I not allowed to make any changes to the registry as administrator?

Best Answer

Apparently some process was having a handle open to the registry key. After rebooting I was able to edit the value.