23 Feb 2008 @ 10:16 PM 
 

Correct “Access Denied” Error While Installing Windows XP SP3 Release Candidate 2

 

While installing Windows XP SP3, you receive the following error:

Windows XP Service Pack 3 installation failed.
Access is denied.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Resolution:

1. Backup the Registry

2. If subinacl.exe is not installed, download and install subinacl.exe.

3. Create a file called reset.cmd with Notepad. Copy the text below into the file reset.cmd and run reset.cmd from an account with administrative privileges:

Windows XP Home Edition:

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

Windows XP Professional:

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%\repair\secsetup.inf /db secsetup.sdb /verbose

4. Run windows update.

Windows XP SP3 should now install.

EDITS:
09 May 2008 – Article changed to reflect the release of Windows XP SP3 RTM
10 May 2008 – Windows Batch script updated to a more comprehensive/complete fix.

Share our articles with others by publishing them to:
  • RSS
  • E-mail this story to a friend!
  • Turn this article into a PDF!
  • Google Bookmarks
  • Live
  • Digg
  • Twitter
  • Facebook
  • MySpace
  • LinkedIn
  • StumbleUpon
  • Technorati
  • Reddit
  • del.icio.us
  • Slashdot
  • blogmarks
  • Fark
Tags Tags: , , , ,
Categories: Software
Posted By: ShadowPuterDude
Last Edit: 13 May 2008 @ 08 55 AM

EmailPermalink
 

Responses to this post » (34 Total)

 
  1. [...] News Source: MalwareTeks Blog View: Detailed Fix [...]

  2. [...] that frighteningly hasn’t been resolved yet in Sp3–I thought I’d post a quick link on how to get around this [...]

  3. MarkS says:

    I ran this Access Denied fix for SP3 and my computer went mad with hundreds of “EOLeSysError in Module aasp.dll at 0000DBE5″ messages popping up then the pc speaker started alarming.


  4. MarkS / 05052008, 17:11:

    I ran this Access Denied fix for SP3 and my computer went mad with hundreds of “EOLeSysError in Module aasp.dll at 0000DBE5″ messages popping up then the pc speaker started alarming.

    aasp.dll is an ASUS driver. Update your motherboard drivers and try installing SP3 again.

  5. Cat says:

    Hi,
    Will MS put a patch through update?
    I am not very computer literate and my computer keeps telling me in auto update mode to install SP3 for my XP. Right now I have disabled auto update to just notify me when a update is available and checked box for icon not to come back up in the trey.
    Please email me with a answer if you can.


  6. Cat / 05072008, 10:59:

    Hi,
    Will MS put a patch through update?
    I am not very computer literate and my computer keeps telling me in auto update mode to install SP3 for my XP. Right now I have disabled auto update to just notify me when a update is available and checked box for icon not to come back up in the trey.
    Please email me with a answer if you can.

    Service Pack 3 for Windows XP is now available for download via Windows Update.

    SP3 is a critical security update to Windows XP and should be installed when prompted by Windows Update.

  7. MarkS says:

    I updated my motherboard and found their was more of a problem. After installing then rebooting to complete the installation XP locked up as it was running the USB update in the command window and gave a cannot load EI0.dll. So I downloaded it and placed it into Windows\System 32 folder, also uninstalled Smartdoctor (I think this may part of the problem). Rebooted, entered as Administrator and the motherboard update worked ok. Now to try SP3 but I might hold off hoping a Styles XP update comes out that will work with SP3.

  8. It is always best to make sure your drivers and applications are up-to-date and compatible with Service Pack 3 for Windows XP; before installing SP3.

  9. Dennis Lachance says:

    The resolution with subinacl.exe posted above finally cured the SP3 install “access denied” error for me (after 3 previous tries). Thanx for the solution. If only Microsoft would prevent/fix these issues themselves… or at least warn users of potential problems and offer work-arounds like that above. Now I’m fully up-to-date. Whew!

  10. Jim says:

    The code provided for reset.cmd contains at least 2 errors.

    1. It contains “smart” quotes in the first line which are invalid syntax with cmd.exe. To fix it, change these to regular double quotes after copy and pasting.

    2. The file %windir%\inf\defltbase.inf referenced in line 7 does not exist on windows Xp pro sp 2. However, these is a file %windir%\inf\defltwk.inf

    Obviously this code has not been tested, so use at your own risk.


  11. Jim / 05102008, 19:29:

    The code provided for reset.cmd contains at least 2 errors.

    1. It contains “smart” quotes in the first line which are invalid syntax with cmd.exe. To fix it, change these to regular double quotes after copy and pasting.

    2. The file %windir%infdefltbase.inf referenced in line 7 does not exist on windows Xp pro sp 2. However, these is a file %windir%infdefltwk.inf

    Obviously this code has not been tested, so use at your own risk.

    The smart quotes were caused by WordPress and the preformatted text for reset.cmd now displays correctly.

    defltwk.inf is the correct security template for Windows XP. Microsoft’s solution uses defltbase.inf.

  12. [...] Correct “Access Denied” Error While Installing Windows XP SP3 c’est bourrin comme solution quand même … (tags: microsoft windows sp3) [...]

  13. [...] Correct “Access Denied” Error While Installing Windows XP SP3 c’est bourrin comme solution quand même … (tags: microsoft windows sp3) [...]

  14. Chad Day says:

    All, here is the solution to this problem. Use “Method #3″ from this OFFICIAL MICROSOFT SITE: http://support.microsoft.com/kb/949377

    The syntax in it is tested and this solved the Access Denied error on my laptop! :)

  15. [...] • After pulling them for incompatibilities, Microsoft finally pushed Windows XP SP3 and Windows Vista SP1 into the tubes. The company delayed the release of XP SP3 and pulled Vista SP1 after a last-minute discovery that they are incompatible with its own point-of-sale software, Microsoft Dynamics RMS. You can now get both service packs via Windows Update, and through the Microsoft Download Center. However, some who have installed XP SP3 have reported problems — continuous reboots on some PCs with AMD processors and “Access Denied” errors during the installation process. A workaround for the reboot issue is here; a fix for the Access Denied problem is here. [...]


  16. Chad Day / 05112008, 22:56:

    All, here is the solution to this problem. Use “Method #3″ from this OFFICIAL MICROSOFT SITE: http://support.microsoft.com/kb/949377

    The syntax in it is tested and this solved the Access Denied error on my laptop! :)

    The example given in the MS KB Article is for Windows XP Professional. Windows XP Home Edition does not include secedit.exe as part of the Operating System.

  17. William R Farrar says:

    It worked, thats for the fix.

  18. jacob c says:

    Here is what I did to fix the “access denied” issue with SP3 an an XP Home system. The problem is permissions with some key(s) in the registry.

    Solution:

    1: I downloaded a freeware program named “Dial a fix”….extracted the zip it on the desktop.

    2: dbl clicked “dial-a-fix-full.exe” to start program.

    3: In the lower right part of the “dial a fix” screen there is a hammer icon….clicked the hammer icon…and the tools window opens.

    4: scrolled down to “repair permissions”….then clicked go……it takes a while.

    5: When finished I closed “dial a fix” and installed SP3 with no issues.

    Hope it will help.

    Jacob

  19. Dial-a-Fix is an advanced tool, and should only be used by experience users.

    The batch files listed in this article repair the damaged permissions.

  20. [...] i used the sp3 cd without a hitch on my home built with xp pro. the Dell was another story, it continued with the access denied just like with the download, i tried safe mode-no luck, i turned off anti-virus, fire wall and any spyware detectors still no luck BUT (and someone else i think posted this) but here it is http://blog.malwareteks.com/co.....ndidate-2/ [...]

  21. Conrad says:

    I tried the fix from microsoft, no luck. I had turned off bit defender anti virus, no luck. I uninstalled bit defender, then installed sp3 no problem, and then reinstalled bit defender.

  22. David US says:

    I was able to load SP 3 with the work around, but several of my services were not restored including clipboard, print spool, drag and drop, sound, … I have not been able to restart these services with the Administrative tools. I have not been able to uninstall SP 3 — “The system cannot find the file specified.” I am unable to use System Restore — “System Restore is not able to protect your computer.”


  23. David US / 08082008, 14:05:

    I was able to load SP 3 with the work around, but several of my services were not restored including clipboard, print spool, drag and drop, sound, … I have not been able to restart these services with the Administrative tools. I have not been able to uninstall SP 3 — “The system cannot find the file specified.” I am unable to use System Restore — “System Restore is not able to protect your computer.”

    Hello, David.

    This isn’t a work-a-round, but instead a fix for file system and registry permissions that prevent SP3 for Windows XP from installing.

    Services are not altered by this fix.

    You have deeper problems with your OS, that are either caused by the security applications you have installed, Malware on the system, or a combination of both.

  24. John (Ireland) says:

    Adding to the list of happy customers….

    I turned off BitDefender, Picassa, Nokia Suite and anything else that was in the bar on the bottom of my PC and then followed the instructions above.

    After three previous aborted attempts, it worked flawlessly.

    One point to highlight. As the script was running, it was giving me constant feedback about which files were being touched. There was a few that it said it had failed to update the permissions on. This didn’t stop the SP3 install from working later on.

    Thanks for the help.

    john

  25. Steve (Texas) says:

    Followed your instructions to the letter and… IT WORKED! You are the best! Thank you!

  26. Kristine says:

    Thank you, thank you, thank you Jacob! I downloaded dial-a-fix, followed your step-by-step instructions and now I have Service Pack 3 installed!

  27. allen CANADA says:

    After experiencing many, many failures, and being unable to unravel MS’s solution, I found that Jacob’s Dial- A- Fix was easy to apply and produced an untroubled installation of SP3.
    Many thanks to Jacob, Prince of Denmark.
    Allen

  28. Bill says:

    Bit Defender was the problem for me as well I uninstalled it ran the SP3 install and it installed without issue then I reinstalled Bitdefender

  29. john says:

    Dial-a-Fix worked like a charm. Just follow instructions listed above as listed (May 14,2008) by Jacob C.
    After repairing permissions, I went back to main screen and check marked other fixes and clicked go — just to make sure all Microsoft items were being addressed.
    I was then able to install service pack 3 with no problems. Thanks.
    John

  30. bookie buster says:

    thank you the “fix” worked like a treat !! Oh man that sp3 error was really starting to piss me off cause i am sad like that ;)

  31. Chuck J says:

    Thank you for this info. I’ve been trying to install sp3 on winxp pro since it came out with the same error. After using this fix I got sp3 installed without a hitch. Thanks again.

  32. Joand315 says:

    This worked like a charm on my Windows XP Home Edition. I had tried so many other solutions I was about to give up. Thanks so much for posting this helpful “hack”.

  33. Jaakko says:

    Thanks Jacob!

    Works fine. My problem is gone..

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

\/ More Options ...
Change Theme...
  • Users » 9
  • Posts/Pages » 194
  • Comments » 129
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

ASAP Member Sites



    No Child Pages.

Malware Complaints



    No Child Pages.

Privacy Policy



    No Child Pages.

Software Piracy Policy



    No Child Pages.



    No Child Pages.