Failure in uninstalling Java and resolution

Recently, when I had a failure in uninstalling Java on Windows, I used ProcMon, and discovered that there were permission issues with accessing some of the registry keys.

So here's what I did:

  • subinacl /subkeyreg HKEY_USERS\.DEFAULT\Software\Classes\CLSID /setowner=administrators
  • subinacl /subkeyreg HKEY_USERS\.DEFAULT\Software\Classes\CLSID /grant=administrators=f /grant=system=f

I downloaded the subinacl tool, and changed the owner for the above subkey and all its children to the administrators group.

I then granted the administrators group and the SYSTEM user full access to the above subkey and all its children.



Published Mon, 24 Oct 2016 @ 10:52 AM by chuacw
Related articles: ,