Thursday, April 03, 2008

Windows Vista Fix

Ok, I think I finally fixed that annoying problem, where Vista didn't give appropriate registry permissions (or whatever), so certain software (like Office, Acrobat, iTunes ...) needed to go through the 'windows installer' routine every time I opened it. and for each Outlook e-mail. pain.

***

well, in case it happens again, here is what worked:

Patrick Gaul on Tuesday, March 25, 2008 8:46:35 AM

OK, I think I have found a solution.

For a while I've had a suspicion that this was related to registry permissions, and I found a post on one of the Adobe forums for the same behaviour, but related to a completely different product - in that case, Adobe Acrobat. Here is the proposed solution (extracted from http://www.adobeforums.com/webx/.3bc34e46). Please note that this approach involves making system-wide security changes, so make sure you create a restore point first. I accept no responsibility whatsoever for how this may affect your system. Proceed at your own risk.


It concernes VISTA OS and registry permissions. It seem that one of the updates caused this problem. The System and the administrators need full access to the registry keys to allow any instalation to complete. If it is corrupted the program keeps reinstalling. I already had to do it to install properly Visual Studio 2005, so I tried it again to solve the Acrobat reinstalling problem and it worked. This are the steps :

1. Make a backup of your registry (i.e. create a new resotre point - PG)

2. Now you need to download a program called subinacl.exe from microsoft. This is the link :

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

3. Install subinacl.exe.

4. Copy the code below into a text file and then name the text file reset.cmd

--------------------- THIS IS THE CODE TO COPY --------------------

cd /d "%ProgramFiles%\Windows Resource Kits\Tools"
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

-----------------------------------------------------------------

  • ** remember that reset.cmd must be run with administrator rights.

    Some people reported that this kind of reset can be long. I did it under "Safe Mode", and it was about 15 minutes, but other users complained about the long time it took.

    Once finished, reboot the computer and try (running the program that keeps installing).

    This solution corrected several problems linked to the registry corruption in my case.

    Good Luck and hope it helps.

  • This solution worked for me.

    Edited by Patrick Gaul on Tuesday, March 25, 2008 8:49:18 AM
    Correction

    oOo

    No comments: