Related Pages

RSS Feed Knowledge Base Feed

Page Options

Unable to access registry keys or reset registry permissions

Problem Description:

You are having trouble installing one of the following or have issues accessing specific registry keys, getting a message that access is denied.

One or more of the following may have trouble installing:

Cause of the Problem:

We are not yet sure exactly why this happens, but do have some possible causes for it:

Your Ad Here


Reset your registry permissions by taking the following steps:

For Windows XP, 2000, and Windows Vista use the following:

1. Make a backup of your registry (as a precaution).
2. Download and install subinacl.exe from Microsoft.
3. Copy the text below into a text file called regreset.cmd and run regreset.cmd with administrative rights (We have seen this take 30 to 40 minutes depending on the speed of the computer.):

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

If you copy and paste the above into Windows XP notepad the quotation marks sometimes become corrupt, simply delete the quotation marks and put them back in to resolve the issue. If you want to download both subinacl and the regreset.cmd from us, use this zip file.

4. Reboot and check to see if the errors go away. Attempt installing the problem update/program again.


Related Programs and Devices:
Windows XP , Windows Vista , Windows 2000 , Service Pack 1 , Service Pack 2 , Service Pack 3 , Internet Explorer 7

Last Updated: 01/03/2009 01:33 PM

blog comments powered by Disqus