Re: SUN jre broke registry
- From: "Carsten" <carsten.martens@xxxxxxxxx>
- Date: 23 Jan 2006 16:47:17 -0800
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
.
- References:
- SUN jre broke registry
- From: Carsten
- SUN jre broke registry
- Prev by Date: Computer keeps restarting and then freezes up
- Next by Date: Re: Shutdown and Startup problems
- Previous by thread: Re: SUN jre broke registry
- Next by thread: Re: Spyaxe & Superadblocker
- Index(es):
Relevant Pages
|
Loading