Welcome to MSDN Blogs Sign in | Join | Help

Solving setup errors by using the SubInACL tool to repair file and registry permissions

A while back, I wrote a blog post about a .NET Framework 2.0 beta 2 installation problem that was caused by incorrect access control list (ACL) permissions on some registry hives.  In that post, I described how to use a tool in the Windows Resource Kit named SubInACL to reset file and registry ACLs to help solve this problem.

Ever since I wrote that post, I have run into installation errors for several other products that have been solved by using the SubInACL tool.  Therefore, I wanted to write a standalone set of instructions for how and when to use the SubInACL tool because the previous blog post is specific to the .NET Framework 2.0 setup and does not always appear in search results when people run into this kind of a problem and search the Internet for assistance.

How to download and run SubInACL

Here are some steps that can be used to download and run the SubInACL tool to repair file and registry permissions that are often needed to successfully install programs on Windows, particularly for MSI-based (Windows Installer) setups:

  1. Download the SubInACL tool and install it.  By default it will install to c:\Program Files\Windows Resource Kits\Tools
  2. If you are running Windows Vista, click on the Start menu, choose All Programs, then Accessories, then right-click on the item named Command Prompt and choose Run as administrator
  3. If you are running an OS other than Windows Vista, go to the Start menu, choose Run, type cmd and click OK
  4. Type notepad reset.cmd and click yes to create a new file named reset.cmd
  5. Copy and paste the following contents into reset.cmd (or download it from this location on my file server and rename it from reset.cmd.txt to reset.cmd):

    cd /d "%programfiles%\Windows Resource Kits\Tools"

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /setowner=administrators > %temp%\subinacl_output.txt
    subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /setowner=administrators >> %temp%\subinacl_output.txt

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators >> %temp%\subinacl_output.txt
    subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators >> %temp%\subinacl_output.txt

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators >> %temp%\subinacl_output.txt
    subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators >> %temp%\subinacl_output.txt

    subinacl /subdirectories %programfiles%\ /grant=administrators=f /grant=system=f /grant=users=e >> %temp%\subinacl_output.txt
    subinacl /subdirectories %windir%\ /grant=administrators=f /grant=system=f /grant=users=e >> %temp%\subinacl_output.txt

  6. Change the values named YOURUSERNAME to be the Windows user account that you are logged in with.
  7. Save and close reset.cmd. 
  8. Type reset.cmd and press enter to run the SubInACL tool.  This tool will take several minutes to run, and it requires that the user account you are using has administrator privileges on the system.  This is why it is necessary to run it from an elevated cmd prompt on Windows Vista.  Step 2 above can be used to start an elevated cmd prompt on Windows Vista.
  9. After reset.cmd completes, try to install the product that previously failed to install correctly on your system

Note: There are a couple of scenarios where installing or running SubInAcl can fail.  For example, some non-English versions of Windows have the name of the Administrators group translated to another language, and the command lines listed above will fail in that case.  I have posted workarounds for the issues that I know of in this separate blog post.

Also note: Running the above command lines will cause SubInAcl to create a log file named %temp%\subinacl_output.txt.  If you see any errors reported in the cmd prompt after running SubInAcl, you can look in this log file for more detailed information about what file(s), folder(s) or registry value(s) are causing the errors.  To open this log file, you can click on the Start menu, choose Run, type notepad %temp%\subinacl_output.txt and click OK.

When is SubInACL useful

I have found that the SubInACL tool is most useful when a setup package fails with error code 5 or 0x5 or 0x80070005.  All of these error codes mean Access Denied, and this type of error code is often caused by missing ACLs for the Administrators group or the built-in System account.  The Windows Installer service runs with System account permissions in most cases.  If the System account does not have sufficient permissions to access the file system or parts of the registry, an MSI-based setup package will fail with an Access Denied error.

SubInACL can also help resolve Internet Explorer script errors caused by incorrect access control permissions for specific user accounts on the system.

Example of a setup failure that was fixed by SubInACL

A customer contacted me with a problem installing Visual Studio 2005.  I looked at the main Visual Studio log file located at %temp%\dd_vsinstall80.txt, and I found that Windows Installer 3.1 setup was failing.  Then, I looked at the Windows Installer 3.1 setup log file located at %windir%\KB893803v2.log.  It showed the following error:

30.844: DoRegistryUpdates:UpdSpInstallFromInfSection Failed for MSI.Reg.Install: 0x5
30.844: DoInstallation:DoRegistryUpdates failed
30.875: Access is denied.

I had the customer run the above steps to use the SubInACL tool to update the file and registry ACLs on their system, and then they were able to install Windows Installer 3.1 and Visual Studio 2005 with no further problems.

<update date="11/15/2006"> Updated subinacl command lines to include recursive ACL updating for folders and files under %windir% </update>

<update date="3/22/2007"> Updated the steps to make them easier to follow by moving the directory change into the batch file. </update>

<update date="9/25/2007"> Updated the notes to indicate that some Internet Explorer script errors can be resolved with this tool as well. </update>

<update date="5/30/2008"> Updated command lines based on customer feedback regarding their experiences on Windows Vista. </update>

<update date="6/16/2008"> Updated command lines to cause SubInAcl to create a log file in the %temp% directory in case it is needed for troubleshooting afterwards. </update>

<update date="6/17/2008"> Added a link to a blog post where I describe a couple of workarounds for problems that can occur while trying to install and/or run SubInAcl. </update>

<update date="6/20/2008"> Updated command line to include a backslash after %SystemDrive% in the 2nd to last command. </update>

<update date="6/24/2008"> Updated wording of link to the post for troubleshooting SubInAcl errors to try to make it more visible. </update>

<update date="7/29/2008"> Updated directory ACL command lines to not affect the Documents and Settings sub-folders. </update>

 

Published Monday, September 04, 2006 10:17 AM by astebner

Comments

Saturday, December 02, 2006 1:37 PM by ALF1328

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I can't thank you enough for writing this quide. I was having installation problems which I spent a few days constantly trying to solve. I finally found information telling me to use the SubInACL tool but wasn't told how to create the file named Reset.cmd.

I have now sorted my problem thanks to your EXTREMELY HELPFUL instructions.

Thankyou so much!

Monday, January 15, 2007 4:42 AM by racecarfl

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Thanks for your help with this. I too had been days trying to get either dotnet 2 or dotnet 3 to install and they kept stopping on permission errors and I was admin and reset file permissions on the one file with no luck. I used the cleaner and it helped with other problems but this got dotnet 3 working finally !! Great Job...

Tuesday, February 20, 2007 10:24 AM by danlanier

# This post is a gift for techs battling this issue

Aaron, Thank you so much for this posting. On the campus I work we have encountered a host of issues. All while I kept think that the issue wasn't this "program" or this "update" or install. You excellent work here has validated what my gut has been telling me.

Your solution goes to the very root a problem that may plauge more users than I'd care to think about.

As an analyst in the field, THANK YOU!!

Thursday, March 22, 2007 6:44 AM by FuzzyBS

# Contributing my (slightly) enhanced version of the Reset.cmd script

Add me to the ranks above lauding your efforts.  I wish I had found this information at least 3 or 4 years ago.  Ever since Visual studio .NET, I've had problems opening websites on my local IIS using FrontPage extensions which I recently found out is caused by registry permissions in HKCR (thanks to researching my IE7 installation problems).  I hope this will either get me straightened out permanently or at least give me a quicker resolution when it happens.

To give something back, I've enhanced the Cmd batch script above so it's capable of being run without going into a shell or changing directories, so it's easier to give to novice users needing help.  I'm not sure the best way to post this, so I'll paste it here and perhaps Aaron can make it into a link.  (By the way, I called my file ResetACLs.cmd.)  If this gets munged, email me for a copy of the file.

@echo off

title Resetting ACLs...

cd /d "%ProgramFiles%\Windows Resource Kits\Tools"

echo.

echo Resetting ACLs...

echo (this may take several minutes to complete)

echo.

echo ==========================================================================

echo.

echo.

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f

echo.

echo.

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f

echo.

echo.

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

echo.

echo.

echo System Drive...

subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f

echo.

echo.

echo Windows Directory...

subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f

echo.

echo.

echo ==========================================================================

echo.

echo FINISHED.

echo.

echo Press any key to exit . . .

pause >NUL

Thursday, March 22, 2007 3:46 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi FuzzyBS - Thank you for contributing this updated version of reset.cmd.  I've updated the version on my file share to contain these contents so it will be easier to use in the future.

Tuesday, April 03, 2007 1:46 PM by Mattie

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Do you have any guidance on a 64-bit version of SubInAcl?

It's been over a year, but I seem to recall that it didn't work properly on x64 (at least for registry usage) because it couldn't access the 64-bit registry hive. I asked for a 64-bit version of the tool at the time, and the response was that none were planned. I thought I'd check to see if there was anyone else running into this, or thought towards an x64 version.

Wednesday, April 04, 2007 11:31 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Mattie - I've never tried SubInAcl on 64-bit systems, but it wouldn't surprise me if it didn't work on that processor architecture.

On a 64-bit system, you might need to use one of the built-in Windows tools such as cacls to reset ACLs on your system.  You can click on the Start menu, choose run, type cmd and click OK, and then run cacls /? to list usage information for this tool.  Hopefully this will help in your scenario.

Thursday, August 09, 2007 1:10 AM by larz65

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

As an admitted hack (Step 1 of the 12), I am compelled to address you as Mr. Stebner.

I've been puzzled by the persistant registry errors I received while trying to install IE7. The directions in your post finally fixed the problem. I'm adding my IE7.log with the error string for others that might be encountering the same problem. Thanks again for the excellent advice!

0.265: ================================================================================

0.265: 2007/08/08 21:49:11.328 (local)

0.265: c:\b7a15deb6e2d1a90b811b9a464769875\update\update.exe (version 6.2.29.0)

0.281: Hotfix started with following command line: /quiet /norestart /er /log:C:\WINDOWS

2.187: IECUSTOM: Scanning for proper registry permissions...

2.969: IECUSTOM: Scanning for proper registry permissions...

3.156: IECUSTOM: Scanning for proper registry permissions...

3.469: IECUSTOM: Unwriteable key HKLM\SOFTWARE\Classes\Interface\{3B7C8862-D78F-101B-B9B5-04021C009402}

3.469: IECUSTOM: Unwriteable key HKLM\SOFTWARE\Classes\Interface\{859321D0-3FD1-11CF-8981-00AA00688B10}

3.484: IECUSTOM: Unwriteable key HKLM\SOFTWARE\Classes\Interface\{E9A5593C-CAB0-11D1-8C0B-0000F8754DA1}

3.484: IECUSTOM: Unwriteable key HKLM\SOFTWARE\Classes\Interface\{ED117630-4090-11CF-8981-00AA00688B10}

3.500: IECUSTOM: Backing up registry permissions...

3.500: IECUSTOM: Unable to backup DACLs HKLM\SOFTWARE\Classes\Interface\{ED117630-4090-11CF-8981-00AA00688B10}

3.500: IECUSTOM: Finished backing up registry permissions...

3.500: IECUSTOM: An error occured verifying registry permissions. ERROR: 0x80070005

3.500: DoInstallation: CustomizeCall Failed: 0x3f5

3.500: IECUSTOM: Restoring registry permissions...

3.500: IECUSTOM: Unable to restore DACLs HKLM\SOFTWARE\Classes\Interface\{ED117630-4090-11CF-8981-00AA00688B10}

3.500: IECUSTOM: Unable to restore DACLs HKLM\SOFTWARE\Classes\Interface\{E9A5593C-CAB0-11D1-8C0B-0000F8754DA1}

3.500: IECUSTOM: Unable to restore DACLs HKLM\SOFTWARE\Classes\Interface\{859321D0-3FD1-11CF-8981-00AA00688B10}

3.500: IECUSTOM: Unable to restore DACLs HKLM\SOFTWARE\Classes\Interface\{3B7C8862-D78F-101B-B9B5-04021C009402}

3.500: IECUSTOM: Finished restoring registry permissions...

3.500: The configuration registry key could not be written.

3.500: Internet Explorer 7 installation did not complete.

3.500: Update.exe extended error code = 0x3f5

0.375: ================================================================================

Tuesday, October 23, 2007 2:58 AM by d.cochran

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I'm going to go ahead and preemptively thank you for this - I've been getting this error (with installer 3.1, curiously enough) for *ages* now and until I found this site, no one really had any functional ideas on how to fix it.

When/if this works, if I ever meetcha in real life, I'm buyin you a pizza and/or beer, whichever you prefer ;)

Tuesday, October 23, 2007 12:41 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi D.cochran - Hopefully these steps will end up working for you.  As my wife can attest - I'm always up for pizza  :-)

Tuesday, November 06, 2007 2:59 PM by psale

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

There is but a single account on my Win XP Pro SP2 notebook, an Administrator account, so of course I am the Administrator. Prior to installing any new software on this notebook I like to temporarily disable all Startup programs by running MSCONFIG, un-checking "Load Startup Items" and clicking OK. I then re-boot and continue with the installation of my new software. Very recently, while this procedure seems to continue to work, it also displays an ominous message, "An Access Denied error was returned while attempting to change a service. You may need to log on using an Administrator account to make the specified changes." A Google search revealed Aaron Stebner’s Weblog for “Solving setup errors by using the SubInACL tool to repair file and registry permissions” as a possible solution to this vexing problem.

The good news is that Mr. Stebner’s cmd file runs correctly, and breaks nothing. The bad news is that I continue to get that ominous message even though the change I make inside MSCONFIG seems to “take” just fine. That is, I can successfully disable and later re-enable all “Load Startup Items”.

-

Peter Sale

Santa Monica CA USA

Tuesday, November 06, 2007 5:28 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Psale - I'm sorry for the hassle this is causing for you.  Each object in the OS has specific ACLs assigned to it, including files, registry keys, services, etc.  Even if you're running as an administrator, if your administrator group doesn't have correct ACLs, you won't be able to modify an object.  The SubInAcl tool adds administrator and system permissions for files and registry entries, but it doesn't modify other objects like services.  It is possible that there is a service that you have to manually go and change the ACLs for in order to fix this issue.  You can use a tool like Process Monitor (http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/processmonitor.mspx) to narrow down what object is causing the access denied error.  From there, you should be able to use Windows Explorer or the Services control panel to right-click on the object, choose the Security tab and add the missing ACLs.

Tuesday, December 11, 2007 11:20 AM by jcmeyrignac

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I encountered a similar problem during the installation of VS2008 on Vista (more exactly, it crashed during the installation of Document Explorer 2008).

I fixed the problem myself, by writing a small tool that was similar to SubInACL.

After spending more than one day on fixing the problem, I discovered this nice page. Argh !

Anyway, here is a way to reproduce the bug, since it appears to be a bug from Vista:

1) Install Vista on a computer

2) Create a temporary admin account

3) Install Visual Studio 2005 or Office with this account (I disabled UAC, but it may be possible to reproduce the problem by running the installer as Administrator).

4) Use another account, or simply log into a domain

5) Delete the temporary admin account.

Now, Vista's registry is completely broken, with a ton of registries giving access denied, even if you are admin.

In my case, I had 729 broken registries, and it was impossible to manually repair.

Friday, December 14, 2007 6:05 PM by michaelflinn

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Beautiful article.  Now to see if it will solve my problems....

I reproduced JC's scenario above inadvertently - perhaps by trying the easy way to do things - which should work.  

Had Vista RC1 installed and Office 2007 Beta.  Office Beta expired. Needed quick edits in a web page, Installed Front Page 2003.

Everything - IE 7, Search, Cntrl Panel -- working.  RC1 Expired.  

Installed RTM Vista Ultimate.  As an upgrade, which succeeded without complaint. Installed Office 2007.       Left FP 2003 on there.  Ran a little .reg file that turned of the completely inappropriate control over directory appearance in Explorer.  

Now, IE7 wouldn't start.  Search from the start menu wouldn't start.  Control panel would not show any entries on the so called "Control Panel Home" (but would work in classic view).  Running ProcMon while starting IE7 showed an "Access Denied" followed by a thread exit and then a few thousand more events as it shut down without opening.  I changed the permissions on the questionable key (had to take ownership as others have noted -as admin, not dev, knew this) and now it would start, that is the window would open.  But it was absolutely dead.  Nothing in the window would work.  

Looked at the reg again - now, a couple subkeys had appeared, and behold, they lacked the proper permissions.  

Same sort of thing happened when monitoring the attempted start of Search.  10 access denieds.  Monitored a boot sequence: 423 access denieds.  Gave up and started searching for something like this.  Two days of failure - using search on MSFTs site - Live lost the search battle, because Google, not Live, found this blog the fourth entry down.  

Thanks for the article!

Whether it works or not....:)    

Friday, December 14, 2007 7:33 PM by michaelflinn

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Double plus good beautiful!

Reported that it took about 2.6 minutes, but took closer to 10.  Changed several hundred thousand entries.  Good lord, no wonder vista needs horsepower- a wonder it works at all.  

It solved the three problems noted above and also fixed the inability to copy files and directories from another (XP) machine.  AND the failure to find a file when Excel started.  And Access's refusal to start because there was no license on the machine.  

You the man, you the reg man!  

PS:

Note to other msft devs: please learn to think.  Not to code, to think.

Also learn to write halfway intelligent error messages.  "Access can not start because there is no license on this machine."  That's your error message and it is to stupidly wrong there are no words to describe it.  How about: "this program failed to start because it could not access the following registry key[s]....xxxxx...."  How hard is that?  Jeeez.

PPs

Thx again for the article.

Sunday, December 30, 2007 7:49 AM by JayAh

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

You Sir, are a genius. I had problems installing Quicktime - was getting a 'you don't have sufficient permissions' nonsense whenever I installed it...I tried everything but nothing worked. Apple told me to re-install Windows but that's their answer to everything when they can't figure out what to do. I followed your tips, and everything installed beautifully. Well done, sir, well done!

Sunday, December 30, 2007 9:02 AM by GaryE

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Dear Aaron,

I am somewhat computer "illiterate" but I found your posts via a search on Windows XP advice site.

I have the same problem trying to open any program files, Windows Updates, "run", etc...same message continually appears:

Windows cannot access the specified file, program or device. You may not have the appropriate permissions to access..."

My system is Windows XP Home Edition.

I followed the instructions you gave but when I attempt to "run" the downloaded file SubInACL.exe, I get the following error message:

"Windows Installer - The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package "subinacl.msi" in the

box below:"

The "box below" shows Desktop as the only location. When I browse the Windows files I do not see a folder called "Windows Resource Kits\Tools" anywhere on my system.

I saved the downloaded file to the folder "Downloaded Installations" in any event, but when I click the file to run it, I get the same exact message as

above.

When I click OK, the following message appears:

"The installation source for this product is not available. Verify that the source exists and that you can access it."

I am frustrated beyond measure and would greatly appreciate any and all pertinent advice.

I am the Administrator and the only person using the laptop.

In "Safe Mode" I gave myself permissions for all program files, Windows files, etc...

Kind regards,

Gary English

Abu Dhabi, UAE

Monday, December 31, 2007 1:36 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi GaryE - It sounds like something went wrong with the installation of the SubInAcl tool on your system.  I'd suggest trying to do the following:

1.  Use the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx to manually remove the SubInAcl product from your system.

2.  Re-download it and re-install it from http://www.microsoft.com/downloads/details.aspx?FamilyId=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B

3.  Try again to use the steps listed above in this blog post.

Also, in general, it is not sufficient to just grant your user account permissions.  Usually you have to also grant the local system account and the Administrators group access as well (which is essentially what the instructions above will achieve).

Hopefully this will help.

Tuesday, January 01, 2008 2:41 AM by GaryE

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Thanks Aaron - I deleted Windows Installer and dowloaded a newer version, the was able to install SubInAcl. I followed your instructions to the letter...but I still receive the message:

"Windows cannot access the specified device, path or file. You may not have the appropriate permissions to..."

A colleague here suggested it might be caused by a "worm" which has taken control of registry files..? Scans do not show any viruses or worms but he said they can be hidden, or "removed" but still cause havoc.

Many thanks and Happy New Year to everyone,

Gary

Tuesday, January 01, 2008 5:25 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi GaryE - If SubInAcl didn't help resolve the permission problem, then there are a few other things I typically suggest.  First, you can try to disable some services to see if there is something else preventing you from accessing those resources (such as an anti-virus program or anti-spyware program).  You can use the steps listed at http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx to try this out.

If that doesn't help, you can try to use a tool like Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) to try to manually narrow down which file/folder/registry key is causing the access denied error and then try to fix the permissions directly.

I've also heard of cases where this type of error has been caused by a virus, but typically in those cases, the virus is discovered by running a scan on the system.

Hopefully one of the above suggestions helps.

Thursday, January 03, 2008 3:11 PM by BobbyL

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Yep..I have the same problem with script errors on wife's account only when she opens Adobe Photoshop Elements (not an install problem just opening existing app).  The SubIn ACL fix looks very promising, but like Gary E, I have XP Home SP2, not Pro as the MS descriptin at the SubInACL download site says.  That is pretty clear that it will not work with XP Home.  Has anyone been successful with this tool with XP Home?  I'm pretty reluctant to try it for fear of screwing things up a lot worse.

BobbyL

Thursday, January 03, 2008 4:31 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi BobbyL - The web site doesn't specify this, but SubInAcl will run fine on Windows XP Home just like on XP Professional.  I'd suggest giving the steps a try to see if they help at all on your system.  If they don't work, you may need to try the additional suggestions I posted in my most recent reply above to GaryE.

Hopefully this helps!

Friday, January 04, 2008 10:00 PM by BobbyL

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Aaron,

The URL you provided right in the beginning of your blog to the MS site for SubInACL tool does indeed in the System Requirements section explicity say XP Pro...no mention of XP Home.  The problems that GaryE had may be traced to the fact that he is using XP Home, as he said in his very first comment above on 12.30.07.  

I was hoping that someone might have successfully used the SubInACL fix under XP Home.  I am willing to try it if I had some confidence that I would not further hose up my system.  You think I might be safe to proceed if I had a Ghost image to restore the system to if things went south?

BobbyL

Saturday, January 05, 2008 12:21 AM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi BobbyL - I understand that the wording on the SubInAcl download page seems to indicate that it supports XP Pro but not XP Home, but from what I can tell and what I know about the tool, that is just an oversight in the wording on the page and not an indication that this tool won't work on XP Home.  Nearly all of the operating system code for Windows XP is identical between the Home, Pro, Tablet and Media Center versions, including this type of security permissions management code that SubInAcl interacts with.  As a result, I don't believe you run any risk of further damage to your system by trying it out.

The issues that GaryE has run into simply mean that for some reason SubInAcl didn't help resolve the issue he was encountering.  The SubInAcl steps listed in this blog post do not work for 100% of the possible cases where an access denied error can occur.  These steps have been tailored to help in the majority of cases I've seen in the past though, so they tend to work most of the time.  GaryE's system had some other missing permissions that these command lines didn't help fix, so additional troubleshooting steps are needed to narrow down the cause further.  These issues weren't caused by trying to run SubInAcl though - they existed before the tool was even attempted on his system.

Saturday, January 05, 2008 10:32 AM by BobbyL

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Aaron,

I took the plunge and tried your fix...and it did the job!!  No problem with running XP Home. Thanks so much for sharing your knowledge and encouragement on this...you are the man!

BobbyL

Saturday, January 05, 2008 11:15 AM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi BobbyL - I'm really glad to hear that these steps helped solve this issue on your system.  I'm sorry for the hassle it caused for you along the way, and I'm also sorry for the confusion caused by the documentation on the SubInAcl download page.  Please let me know if you run into any additional problems on your system.

Monday, January 07, 2008 1:35 AM by clockman

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I found this post on Google. 2 years and no SP2 because of permission errors on my XP Home OS. I followed BobbyL's bravery and tried the SubINAcl install too. I am happy to report SP2 now is installed on my XP Home Edition with now problems. - except for the install of 61 - SP2 MS updates that took awhile to complete. :-)

Tuesday, January 08, 2008 2:54 AM by GaryE

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi again,

Sorry for the delay in getting back to you but I was down with what is known as "Abu Dhabi Flu" which is going around this time of year.

I did download and install Process Monitor but to be honest, I have no idea at all what I am looking at when it is running...or what I should be looking for.

I ran the codes you listed above once again and when it completed, I had the following messages (some of my spacing my not be correct as I copied it quickly):

C:\Program Files\Windows Resource Kits\Tools>subinacl /subdirectories C: /grant=administrators=f /grant=system=f Access is Denied

Also another >subainacl with the following:

/subdirectories C:\Windows\*.* /grant=administrators=f /grant=system=f Access is Denied

Any thoughts about this?

Kind regards,

Gary

Tuesday, January 08, 2008 4:11 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi GaryE - I'm sorry that you ended up getting sick.  I've been fighting something similar to that myself  :-(

It can be difficult to narrow down exactly what to look for in Process Monitor.  What I usually do is start by adding a filter based on the process name - typically that is the name of the setup program you are trying to install, or if the setup is an MSI then it will be msiexec.exe.

Then, I run the setup and reproduce the failure, and start looking for errors listed in the output.  From the errors, you can see the cause of the error in one of the columns in Process Monitor - they should be listed as access denied in this type of scenario.

I've never heard of a case where running SubInAcl itself gave an access denied error though.  Are you running it when logged in as an administrator on your system?  You may need to go and manually try to do what each of those failing SubInAcl steps are doing.  You can manually change the permissions for a folder or registry key using Windows Explorer or regedit.exe.  You will want to add the Administrators group and grant that group full control and also add the SYSTEM account and give it full control.  You can do this for the root of your C drive, the c:\windows directory, and the roots of the HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT and HKEY_CURRENT_USER registry hives and hopefully that will help.

Saturday, February 02, 2008 11:18 AM by kevin@greatriverdesign.com

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I found a copy of this fix on another blog that mentioned they had used it on Vista to fix it so that the latest beta of Safari would run. I backed up my system, created a system restore point, and ran the script.

Upon restarting, most of my services failed to start.  I could not run any properties boxes, nor run most system programs without getting a message that "The system does not have enough memory to complete this task (0x8007000e).

Even using the Vista DVD and trying to do a system restore would not work correctly.  It was completely crazy.

Finally I stumbled on another page where someone else had used this tool with a slightly different command.  Since I was on the verge of re-installing everything anyway I figured it was worth a try, and it fixed EVERYTHING.

cd /d "%programfiles%\Windows Resource Kits\Tools"

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=USERNAME=f /grant=restricted=r /setowner=administrators

subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=USERNAME=f /grant=restricted=r /setowner=administrators

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators

subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /setowner=administrators

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators

subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators

I wouldn't use this fix at all unless you are desperate!!

Sunday, February 03, 2008 6:21 PM by KenBanks

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Using the subinacl tool has solved this similar problem on my HP Pavillion Media Center running Vista Home Premium which I first ran into after installing Pinnacle software for use with a Pinnacle Show Center ( and this was with UAC enabled).  It has recurred a few more times all related to installing other sorts of media server related software.   I still cannot get beyond the Media Center receiver Service (ehRecvr.exe) form continuosly crashing and the Hauppauge tuner card can no longer be found in the MS Media Center, even though it works perfectly with WinTV.

BUT these issues are not what I want to call attention to here (I just mentioned them in case other see similar problems or can suggest anything)

What I really want to point out are some of the side effects of running the above script using subinacl.exe on a Vista system which has more than one user login.  If you have several family members and multiple logins on your initial login screen, these logins (except for your Administrator member Accounts) will disappear after running the above script.

I was completely stumped when I saw mine had vanished, but yet I could still see all of them  in the Control Panel under User Accounts.  I found a simple solution to bring them back by simply running 'net localgroup User /ADD username' for each.   HOWEVER, I still run into all kinds of permissions issues with various applications and service, like printing, etc. which require their own varied security settings.

I have added  this to the script to help out on some of this, but there is still something missing

for %%i in (TYPE YOUR USERNAMES HERE) DO (

     echo Fix USER: %%i

     net localgroup Users /ADD %%i

     subinacl /subdirectories c:\Users\%%i  /grant=administrators=f /grant=system=f /grant=%%i=f /grant=Users=r

)

I don't know if grant=r is enough for regular Users or what other permissions need to be reinstated to get things completely back to normally.

So what I'm saying here is that you may think everything is great again after running these subinalc commands, but I guarantee something will turn up somewhere, and things become a lot more complicated when you have multiple user accounts.

What I really wish we had was some sort of permissions map which states what permissions should be assigned for what and whom by default on a vanilla install.  Trying to figure this out by tweaking this and that (which is what I have been doing) is much too dangerous.   This seems to be a half-baked permissions scheme which breaks and falls apart with little effort and there has been provided no patch to correct it.  This horrible experience has caused me to discourage anyone who asks from moving to Vista.  It is unreliable and I wouldn't be able to help them, if they ran into his problem, with much confidence.

Ken Banks

Sunday, February 03, 2008 6:42 PM by KenBanks

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

MY BAD.

this command is the culprit for disabling my user accoutns...

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

and it is not referenced in the above script of subinacl commands.

However, the permissions issues that I pointed out still apply when you have multiple logins on Vista.

Ken banks

Monday, February 04, 2008 10:55 AM by Allan1

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Recently had a similar issue and am unable to resolve it. I'm taking the liberty of pasting a full description of the issue as posted on my forum. As stated in the text, the SubInACL tool did not help (btw, when I ran it I noticed severl "error" messages, the the utility did run to completion. Here's the issue - any assistance will be greatly appreciated:

Over the weekend I tried to upgrade my setpoint software to the latest release. After installation I opened setpoint to find there were no tabs - either for the mouse or the keyboard. Spoke with Logitech and they asked me to do a selective startup. When I tried to do so I received the following message from msconfig:

"An Access Denied error was returned while attempting to change a service. You may need to log on using an Administrator account to make the specified changes."

Logitech says that's the problem - setpoint will only install when logged into an Admin account. I am the only user and am logged on with full admin rights. I then went to my office system and got the exact same message when I tried to do a selective startup. My first thought was that it might be some services I disabled - so I changed them all to default XP Pro settings - didn't help. Other things I've tried:

Ran the SubInACL tool to repair file and registry permissions

Per a suggestion on the web I changed an HP registry setting

Tried making the changes from Safe Mode

Ran full scans with AV, AdAware & SpyBot

BTW, I do not use ZA

Bottom line, I still get the same error message in msconfig on both systems and still cannot install the latest setpoint sw. I have a current Acronis image of my system partition and have been reverting to that after each unsuccessful attempt

Monday, February 04, 2008 11:43 AM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Allan1 - The SubInAcl commands that I list above in this blog post are not guaranteed to fix all possible access denied errors on a system.  Specifically, it only changes the permissions on some files/folders and some parts of the registry.  It does not make any changes to service permissions.  You may need to try to manually correct any remaining permission issues on your system.

One other thing I should note here - if you get an access denied error, it does not necessarily mean that the account you're logging in with is not a member of the Administrators group on your system (as its seems to be implied by the Logitech error message above).  It means that whatever account you're logged in with doesn't have sufficient permissions to whatever resource the system is trying to access.  Not all resources on a system are accessible even by administrators, plus permissions can be changed by other software or by the user.

Also, selective startup mode does not cause the logged in user to no longer be a member of the Administrators group.

I'd suggest trying to contact Logitech again to find out exactly what files, registry and/or services are being accessed when you tryt o start your software and see if they can walk you through steps to fix the permissions manually.

Tuesday, February 05, 2008 11:38 AM by zArchASMPgmr

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I have some good news, and some so-so news.

Always starting off with good news:  SubInACL works on Vista x64 (in this case, Ultimate).  

So-so news:  I think I also discovered a bug related to depth.

My HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID branch is huge.  (Well, so is Classes.)  At some point, the path name printed during the progress message starts to be inaccurate; the Wow6432Node starts repeating in the display, but it does work (based on the last messages after a ^C).  But eventually SubInACL crashed.  I was able to specify just Classes and it eventually worked (after about 4 million updates).  I manually updated the other Wow6432Node branches.

I'm happy to report that this has cleared up the 80070005 and 8020(something or other) errors that I've been having with Automatic Update.

Wednesday, February 06, 2008 8:14 AM by Allan1

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Okay, here's an update.

First, after some trial and error (and several hours on the phone with Logitech) I was able to install Setpoint 4.00 (not the latest version, but close enough). Turns out it had nothing to do with permissions or rights.

Second, a couple of us have done some trial and error and we think the message in msconfig may be related to systems that have .Net Framework 2.0 (SP1) or higher installed.

Last, when all is said and done it appears that the system will indeed still boot to diagnostic mode even though that message is displayed.

Thanks so much for taking the time to respond and for this superb thread and tutorial :)

Wednesday, February 06, 2008 12:11 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Allan1 - I'm glad you were able to get this software to work, but I'm sorry for all of the hassles you had to go through.  What was the underlying issue in this scenario?

One comment - I don't know of any dependencies between MsConfig and the .NET Framework.  MsConfig should work fine regardless of whether or not you have any versions of the .NET Framework installed on your system.

Thursday, February 07, 2008 7:48 AM by Allan1

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

There were a couple of things. First, Logitech support told me that Setpoint versions newer than 4.00 and had me download that version from their FTP site. Second, I had to rename a specific file in \windows\system32\drivers (wdf01000.sys) to a non-usable name (ie, .bak) and then plug in the dongle for the new mouse (XP would not install the HW if that file existed). I still got a "could not complete HW install) at this point, but upon reboot XP did report finishing the hw installation(it recognized the new mouse and installed the new wdf01000.sys driver file - same version as the old one). Then I installed the setpoint sw and it did recognize both the new mouse and my old keyboard. Logitech acknowledges the problem I had (no tabs after upgrading to Setpoint 4.x) is not uncommon and they can generally get it to install with some known work-arounds, but they say my problem was a little more sever than most. They did make note of the steps I had to take to get it to work and entered the "fix" in the DB.

As for .Net Framework and msconfig I agree - there should be no issue. But we've found the problem exists on those systems where we have ver.2 (sp1) installed and does not appear on other systems. Could be coincidence I suppose.

Friday, February 08, 2008 9:57 AM by firecop1

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I followed the instructions to setup and run SubInACL but I am unsure that what I am seeing is success.

When I run it, and the window is open there is a red bar across the top showing "Done:, Modified and Failed. It seems that the same number that were modified also failed. Is this what I should be seeing or did I do something wrong?

Friday, February 08, 2008 1:10 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Firecop1 - I haven't heard of SubInAcl displaying this type of information in the past.  Would it be possible for you to post a screen shot of what you're seeing?

Also, did you try to run SubInAcl because you received an "access denied" error while trying to install a product on your system?  If so, did you try to re-run that product setup after running SubInAcl to see if it helped?

Monday, February 18, 2008 6:03 PM by hairball

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hey Aaron, i had the same type of display that firecop1 talks about, but out of all of the registry entries shown, it only threw up 3 errors. I believe you may get this "red bar" screen when it is actually modifying registry entries, as i had a lot of those. Anyway, I do have a screenshot of what it looks like, but don't know how to post it here, but I'll gladly send it if you'd like.

SubInACL did fix my problem, which was a failing Windows Update for KB885836 that has stumped me for the last 6 months. I noticed a lot of other folks have this same type of problem with other Windows Updates, so I downloaded and tried to manually install KB885836 which is when it gave me the registry permission denied error code 5, that led me to your awesome article/application!

Thanks a bunch, my machine is fully patched again.

Saturday, March 01, 2008 5:36 PM by pdotnet

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

kevin@greatriverdesign.com... thank you so much for that comment!  The original reset.cmd in the blog post totally killed my Vista install.  Not even System Restore would work.  Thankfully I took an image of my entire drive using a 3rd party tool before running it!  

After restoring my drive, I ran your version of the script and everything works brilliantly now!  No more access denied registry warnings when trying to install and run certain software.  Thanks!!

Wednesday, March 12, 2008 5:45 AM by Grzyb

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I have some good news, and some so-so news.

Always starting off with good news:  SubInACL works on Vista x64 (in this case, Ultimate).  

So-so news:  I think I also discovered a bug related to depth.

My HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID branch is huge.  (Well, so is Classes.)  At some point, the path name printed during the progress message starts to be inaccurate; the Wow6432Node starts repeating in the display, but it does work (based on the last messages after a ^C).  But eventually SubInACL crashed.  I was able to specify just Classes and it eventually worked (after about 4 million updates).  I manually updated the other Wow6432Node branches.

I'm happy to report that this has cleared up the 80070005 and 8020(something or other) errors that I've been having with Automatic Update.

I am running Vista Ultimatex64 & I am having the same issues. Could someone please tell me how to "specify" Just Classes & Manually Update all the Other Now6432Node Branches???

Regards

Grzyb

Wednesday, March 12, 2008 12:41 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Grzyb - When you install the SubInAcl tool, it also installs a readme file to the location C:\Program Files\Windows Resource Kits\Tools\subinacl.htm.  That readme provides detailed usage information, including how you can specify exact sub-keys to update.  Hopefully this will help in your scenario.

Thursday, March 13, 2008 10:05 AM by Thomas1981

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hello at all,

i have the 80070005 Update Problem at Vista, so i tryid this, installed SubInAcl successfully, but when i run the reset.cmd, i get syntx errors for every line, like this:

Error when checking arguments - HKEY_Local_Machine

any solutions to this?

Thursday, March 13, 2008 12:33 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Thomas1981 - You need to make sure to run subinacl.exe from an elevated cmd prompt on Windows Vista.  To open an elevated cmd prompt, you can click on the Start menu, choose All Programs, then Accessories, then right-click on the item named Command Prompt and choose Run as administrator.

I'm not sure that will solve this error though - I haven't heard of this exact issue while running subinacl before.  You may want to review the readme at C:\Program Files\Windows Resource Kits\Tools\subinacl.htm to see if you can figure out possible causes of this error.  You may also want to review the other comments on this blog - there are some specific notes posted by others who have tried running subinacl on Vista and run into issues, and they have posted other suggested workarounds that may be useful to you as well.

Thursday, March 13, 2008 5:32 PM by Thomas1981

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

I've solved the problem, i deleted the

/grant=administrators=f

argument and it works fine. Vista Update is working too!

Thanks alot

Sunday, March 23, 2008 3:36 PM by olamoree

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

XP Pro SP2 Media Center, Toshiba Satellite A105

Hi Aaron,

Since July 15th of 2007, altho WGA always reports Genuine, all Updates FAIL to install, even individual installs, reporting Error Code 0x80070005. Looked around, modified a couple of Registry Permissions with no luck and FINALLY found your blog, DLed and INS SubInACL tool and ran your script.  Report:

Elapsed Time: 00 00:04:26

Done: 28654, Modified 28654, Failed 0

Last Done: C:\WINDOWS\wt\wtupdates\wtwebdriver\update_info\data.wts

C:\Program Files\Windows Resource Kits\Tools_

Now, I am going to Restart and pray... Back to MS Update, 9 Hi-priority updates listed, A-V, malware and Firewall stopped, Install Updates, a long pause (20 minutes), "Installation started...done!, then Installing".... the rest following suit, taking 45 minutes and Toshy restarted! and 10 optional updates selected, A-V, malware and Firewall stopped and Installed without problems.

I am wondering, with what SubInACL repairs and your script resolves, does any of that have to be returned to its original state?  Has a "hole" been left anywhere that could cause problems?

At any rate, I want to compliment you on your diligence, knowledge and craft as well as sharing it with those who will listen.  I have no choice, I am subscribing to your Blog... and will sit at the feet of the guru... just tell me what to think!

Ali

Monday, March 24, 2008 2:13 PM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Olamoree - The steps listed in this blog post use SubInAcl to add full control permissions to the Administrators group and the local system account to the following parts of your system:

1. The HKEY_LOCAL_MACHINE registry key and any sub-keys.

2. The HKEY_CLASSES_ROOT registry key and any sub-keys.

3. The HKEY_CURRENT_USER registry key and any sub-keys.

4. The %windir% folder and any sub-folders and files.

5. The %systemdrive% folder and any sub-folders and files.

Most installers for applications and OS hotfixes require this type of permission to be able to install successfully.  You shouldn't need to reverse any of these things later on.

Thanks for the compliment on my blog.  Please let me know if you run into any issues in the future.

Tuesday, April 01, 2008 11:11 PM by aoshrin

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Thank you !!  I am running an old machine with the world loaded on it, running under Windows XP Home SP2. After recently installing Norton 360, some problems on my wife's (administrator account) got worse. I saw the apparently classic unending Script error windows in IE7, Control Panel/User Accounts, etc. Though I was somewhat concerned about using your fix under XP Home, I saw that you addressed this issue, and said it would work.  I took more than a few minutes to run (our registries have grown huge over the years), but it worked. Control panel works, IE7 works, Flash 9 works. I didn't even have to reboot or uninstall any software.

It's hard to express how appreciative I am.

Thursday, April 03, 2008 3:41 AM by staura

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Aaron

Thanks for your info, I have a problem with my registry and I think your solution regarding SubInACL may well work, however I am rather concerned that it could also make the situation worse?  I have had issues with iTunes so I decided to uninstall and reinstall iTunes, uninstalling went fine however half way through reinstalling, the following error msg came up

"Could not open key:

HKEY_LOCAL_MACHINE/software/Classes/Interface/(915DA835-02FA-624BDF5D85AB)/ProxyStubClsid.

 Verfiy that you have sufficient access to that key. or contact your support personnel"

after this I was unable to install iTunes.  In desperation I restored the pc back to before I uninstalled iTunes at which point iTunes was back on the system however now it won't run, and I can't uninstall it.  I tried to roll back the restore point and iTunes is still there and still won't work... HELP!!!  It’s driving me crazy!  I have contacted, iTunes, Microsoft, Acer and the closet I they have come to helping me is to advise I restore the factory settings.

I am confident that if I can gain access/permission to the HKEY mentioned it would resolve the problem.  I was going to try the SubInACL idea you suggested, however I am running Vista and the reviews other people have left across the net have been very mixed where Vista is involved.  Do you think this registry fix would be the solution to my iTunes problem or have I misinterpreted the use of the SubInACL tool and I am likely to cause more problems with my already problematic Vista laptop???

For  the record, I have AVG 8.0 always running and I have no viruses, rootkits, etc!

Any suggestions would be greatly appreciated

Thanks

Thursday, April 03, 2008 11:18 AM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Staura - It sounds like you have a permission problem for this registry key, which is typically something that SubInAcl will allow you to solve.  However, before running the tool, you could attempt to manually fix the permissions for just this one registry key and see if it helps resolve your iTunes installation issue.  To do that, you can launch regedit.exe, then find this registry key, right-click on it and choose Permissions.  From there, you can add the SYSTEM account and the Administrators group, and grant them Full Control permissions.

Hopefully this helps!

Friday, April 04, 2008 7:13 PM by staura

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Aaron

Thanks for the feed back, I have just tried and the key says

"ProxyStudClsid32 cannot be opened.  An eror is preventing this key from being opened.  Details: Access is denied"

It then allows me access to the Permissions but I can't save any chages or add any admistration groups.  I think I will try your SubInACL soloution and if it doesn't work, I will restore the factory settings and start again!  To be honest we are having so many problems with Vista anyway; recyling files is now taking a good minute regardless of size (Microsoft have been no help on this), Windows media player won't work either despite installing all kinds of codecs to resolve the issue (we are now running classic version as it is the only one that will work), I think a complete system restart really could only improve the situation.

Thanks for you help, its really appreciated

Monday, May 05, 2008 10:31 AM by bfrederi

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Aaron:

Thank you. Thank you. Thank you.

Sunday, May 18, 2008 8:57 AM by dbd7

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi,

I've been having problems with Office 2003 updates since I upgraded to XP SP3. When I start MS Expression Web, Windows Installer would start and try to reinstall Office 2003 and then it would fail due to a registry key permission issue (which I tried to fix manually in the registry, but it didn't help). Also, I couldn't install Office updates I received from Windows Automatic Updates. I found reference to your blog on the Windows XP Microsoft Discussion board. I followed your directions above using the SublnACL tool and it worked!  I no longer get the Window Installer popping up all the time and I was able to install the Office 2003 automatic updates. Thank you for posting these instructions! I will amend my post to the discussion board where I sought help for this issue, and state that I found the answer here on your blog. Thanks again! Great job!

Wednesday, May 28, 2008 9:08 PM by ex19

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

ok, blackberry works now... but now all my sound is not working and the network monitor and updates are disabled. Ummm, not like I knew what I was doing running this but I was desperate last night. How now to re-enable those other devices.

Thanks

Thursday, May 29, 2008 11:53 AM by astebner

# re: Solving setup errors by using the SubInACL tool to repair file and registry permissions

Hi Ex19 - I'm sorry for the hassles this is causing for you.  I'm not sure what to suggest to fix your sound and network monitor.  What kind of specific errors do you get for those things?  It might help to try to update drivers for your sound card to fix your sound issue.

Friday, May 30, 2008 12:56 AM by speedytina

# re: Solving setup