maps-outline
maps-outline
maps-outline
Username:    Password:    Remember me       [Forgot Password?]

Correct "Access Denied" Error While Installing Windows XP SP3 Release Candidate

INFORMATION
info.pngThis article was orginally published in the MalwareTeks blog on February 23rd, 2008, and has been moved here.

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:
    reset.cmd
    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:
    reset.cmd
    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.
COPYRIGHT NOTICE
copyright.pngYou may not reproduce this article in whole or part without the express permission of the author and MalwareTeks.
REVISED: December 29th, 2009


< About Us | Terms of Service | Acceptable Use Policy | Copyright Notice | Privacy Policy | Software Piracy | Infected? | Want to Help? | Link to Us | Contact Us >


Copyright 2006-2010 MalwareTeks

All products mentioned herein are the trademarks of their respective owners.
In addition, images, logos, pictures or other material may be trademarks or registered trademarks of their respective owners.

This site is powered by e107, which is released under the terms of the GNU GPL License.
Internet X theme by Flash


ICRA.org
Banner