Re: SUN jre broke registry



Hi Folks,

I solved it and I want to share this information since it might be
helpful for others.

It was several corrupted registry keys indeed. Corrupted as in having
no permissions at all. That made it impossible to even grant
permissions with regedit.exe (catch 22). Even uninstallers and the
usual registry cleaners had no way of restoring or deleting those keys.

What did the trick was the MS tool "subinacl.exe" from the windows
ressource kit. It can be downloaded from here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

Wrote a little script for that tool that did for every key (and each
subkey under that key) the following ("jarfile"-key as an example):

subinacl /keyreg \HKEY_CLASSES_ROOT\jarfile\shell
/grant=administrators=f
subinacl /keyreg \HKEY_CLASSES_ROOT\jarfile\shell\open
/grant=administrators=f
subinacl /keyreg \HKEY_CLASSES_ROOT\jarfile\shell\open\command
/grant=administrators=f

Funny enough, this tool was perfectly able to restore the permissons
even though in other threads people (MSVP's even) suggested either
using restore points or reinstalling from scratch.

Once all those keys were fixed I could delete all of them and reinstall
a jre from scratch. Now java is working just fine again.

cheers anyway

Carsten

.



Relevant Pages

  • Re: Media Player 11 will not install
    ... There's information in those keys that the player is not expected to restore, so generally it's a better plan to just fix the permissions issue directly. ... If it won't let you, first click on "advanced", go to "owner" tab, and change owner to the Administrators group; then you'll be able to set permissions. ...
    (microsoft.public.windowsmedia.player)
  • Re: Lost IE and Outlook access
    ... To resolve this issue, delete the corrupted registry keys, and then ... Step 2: Install TCP/IP ... Click Protocol, and then click Add. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Automatic Update: Access is Denied
    ... The same boot menu shows up when one presses F8 prior to Windows loading in order to reach Safe Mode. ... The final problem was that Windows Update was disabled... ... According to many web posts this is a permissions problem. ... Remove the check marks named values and Data (only Keys ...
    (microsoft.public.windowsupdate)
  • Re: Automatic Update: Access is Denied
    ... The final problem was that Windows Update was disabled... ... According to many web posts this is a permissions problem. ... Maybe this would have worked if I had run it in safe mode, ... Remove the check marks named values and Data (only Keys ...
    (microsoft.public.windowsupdate)
  • Re: Problem installing Windows script 5.6
    ... Before attacking my registry permissions, I used a program to help ... find offending keys in HKCR like you did, ... When you say "none of my user accounts have access to these registry ... I was able to change all my offending keys' permissions to allow full ...
    (microsoft.public.windowsxp.help_and_support)

Loading