Search This Blog

Thursday, November 3, 2011

When you try to install Windows XP Service Pack, you receive the error message "Access is denied" or "Service Pack installation did not complete"

  1. Download and then install the Subinacl.exe file. To do this, visit the following Microsoft Web site: (
  2. Start Notepad.
  3. Copy and then paste the following text into Notepad.
    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
    Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
  4. Save this Notepad file as Reset.cmd.
  5. Double-click the Reset.cmd file to run the script.

    Note This script file may take a long time to run. You must run this script as an administrator.
  6. Install Windows XP SP3.


No comments:

Post a Comment

Popular Posts