About the author
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:
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.
Learn the command line used to compile System.pas in Delphi