Tuesday, July 7, 2009

XP Service Pack 3: Access Denied

I had a stubborn service pack 3 issue. Luckily, there is a solution on the internet.

I found out about it on this website.

http://www.askvg.com/windows-xp-service-pack-3-sp3-setup-error-access-is-denied/

I uploaded the bat file needed here

Here is the excerpt from the website:

Service Pack 3 setup error. Access is denied.

OR

Service Pack 3 setup error. Service Pack installation did not complete.

If you are also facing the same problem, then follow these simple steps and your problem should be solved:

1. Download and install the Subinacl.exe file from here.

2. Open Notepad and paste following code:

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

3. Save the file with name "SP3.bat".

4. Now right-click on the file and select "Run as administrator". It might take some time to complete.

5. After completion, restart your system and now you should be able to install SP3.

No comments: