Access Denied when installing SP3
If you get an "Access Denied" error while installing SP3 here is something that restores permissions. This was a problem that was occuring for
people when they were updating to XP SP1 and also to XP SP2.
1. Download and install subinacl from:2. Create a file named reset.cmd in C:\Program Files\Windows ResourceKits\Tools folder.
3. Edit the reset.cmd file with the following content.
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=fsubinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f4. Enter into CMD prompt.
5. Enter the following commands one at a time and click Enter.
cd\
cd C:\Program Files\Windows Resource Kits\Tools
reset.cmd
6. After a few minutes by processing subinacl, please test the problem
again
Answers
Plenty of history on this issue in threads such as this:
All Replies
This is a common addition to the registry to allow RC2 refresh or any of the RC's to install properly. How ever it should be done to an Adminstrator account that is not used frequently. Changing the registry to allow full Adminstration access and running malicious processes may currupt the computer sysem.
A sugguested pratice is to install this from a full adminstrator account. And uninstall in safe mode and to avoid applying this registry change. If you are in a coperate environment. If you thing I am being critical I am only sugguesting this, and not critiziing. Since the environment I use is a custom image provided by the goverment. They are behind many layers of fire walls. Not going into the rest of the details.
*if you could changed the heading on the right to solved. It would help others see this. Instead of thinking this is a posting needing a solution.
_______________________________
Not a Microsoft employee
Plenty of history on this issue in threads such as this:
- Hi thank you for your info, but i am having a problem, i am a little computer dumb. i can follow instructions easy but i don't know how to edit the file in step 3 could you please explain that a little bit. much thanks :-)
Kara krelsafty wrote: i can follow instructions easy but i don't know how to edit the file in step 3 could you please explain that a little bit. krelsafty,
I believe the step of solutions in this thread (http://forums.microsoft.com/technet/showpost.aspx?postid=2586439&siteid=17&sb=0&d=1&at=7&ft=11&tf=0&pageid=2) written by Shashank Bansal [MSFT] are understandable.
Take your time to read carefully. After reading, and if you need me to rewrite or list the steps out again, let me know.
Regards,
Thomas
krelsafty wrote: i can follow instructions easy but i don't know how to edit the file in step 3 could you please explain that a little bit. krelsafty,
I have listed the steps at this thread (http://forums.microsoft.com/TechNet/ShowPost.aspx?PageIndex=2&SiteID=17&PageID=2&PostID=2574095#3082529).
Regards,
Thomas
- Create a text file renaming it completely to "reset.cmd" within 'Tools' folder
Highlight & copy everything below step 3's first line (below) into reset.cmd by opening it up with an editor such as notepad++. Save it.
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=fsubinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=fRun reset.cmd from a dos box. Using freecommander from the tools folder I can run the cmd immediately.
I got the same error which is strange as I did the sp3 thing twice before without this denied issue.
- The dumb Beethoven thing was no problem on any of my machines I upgraded to SP3, except my wife's machine. Hers had Windows Media Player 9 installed, whereas the other machine had WMP 10 or 11. Upgrading her machine to WMP11, gave her a brand spanking new copy of Beethoven's Scherzo, whereupon SP3 installed like a champ,
Apparently nobody at Microsoft play-tests these things except on machines with the latest and greatest apps installed? What a bunch of hacks!- Proposed As Answer bybannackfood Saturday, May 30, 2009 4:59 AM
