Correct "Access Denied" Error While Installing Windows XP SP3 Release Candidate
While installing Windows XP SP3, you receive the following error:
Resolution:
- Backup the Registry
- If subinacl.exe is not installed, download and install subinacl.exe.
- 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
- Run windows update.
Windows XP SP3 should now install.
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.
 You may not reproduce this article in whole or part without the express permission of the author and MalwareTeks.
REVISED: December 29th, 2009
|