Correct “Access Denied” Error While Installing Windows XP SP3 Release Candidate 2 | MalwareTeks Blog
MalwareTeks - Home Page
Are You Infected? Are you plagued by pop-ups? Problems with Spyware, Malware?
Are you an Anti-Malware Fighter and would like to contribute?
Dedicated to keeping your PC clean of Scumware, Badware, Spyware, Malware, Viruses and Trojans.


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

Posted by ShadowPuterDude on February 23rd, 2008 - Visit Website | Category: Software ShadowPuterDude
Tags: , , , , |

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:
  • Digg
  • Reddit
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati
  • blogmarks
  • Furl
  • YahooMyWeb
  • Fark

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

  1. Correct “Access Denied” Error While Installing XP SP3 RC2 | ARP-Cache CANADA Said on

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

  2. Windows XP Sp3 Access Denied Error « Memoirs and Musings of Loki-undergod UNITED STATES Said on

    [...] 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 AUSTRALIA Said on

    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. ShadowPuterDude UNITED STATES Said on

    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 UNITED STATES Said on

    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. ShadowPuterDude UNITED STATES Said on

    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 AUSTRALIA Said on

    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. ShadowPuterDude UNITED STATES Said on

    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 UNITED STATES Said on

    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 UNITED STATES Said on

    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. ShadowPuterDude UNITED STATES Said on

    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. this is another test » Blog Archive » links for 2008-05-11 UNITED STATES Said on

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

  13. this is another test » Blog Archive » links for 2008-05-11 UNITED STATES Said on

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

  14. Chad Day UNITED STATES Said on

    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. tech news blog » While I was out: Catching up with a Linkfest UNITED STATES Said on

    [...] • 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. ShadowPuterDude UNITED STATES Said on

    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 UNITED STATES Said on

    It worked, thats for the fix.

  18. jacob c DENMARK Said on

    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. ShadowPuterDude UNITED STATES Said on

    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. » sp3 cd install update UNITED STATES Said on

    [...] 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/ [...]

Leave a Reply





Content © 2006-2008 MalwareTeks - Every post is the opinion of the author

Creative Commons License
All works are licensed under a
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License.

Bad Behavior has blocked 291 access attempts in the last 7 days.