The appearance in a Windows Update log of an error of "Access Denied" is not unique to Vista, but is seen more commonly when Service Packs are installed in any of the NT Family of operating systems. The issue can occur prior to, during or after the installation of SP1 for Vista. Below is a fix that can also be used under Windows XP if you have the same issue; for example, some of the .NET Frameworks fail to install under XP for exactly this error.
1. Download the
SUBINACL.EXE utility by Microsoft from here:
http://www.microsoft.com/downloads/deta ... laylang=enInstall it to its default location.
Using your mouse,
Highlight and then Right-click |
Copy the
entire contents of the Code box below, including blank lines:
Quote:
@echo off
cd %~dp0
pushd
C:
CD "%userprofile%\desktop"
copy c:\Program Files\Windows Resource Kits\Tools\subinacl.exe>nul
REM

Aumha Forum Registry Permission Repair script
REM

Authored by MS-MVP & VSOP Bill Castner, AumHa Forum
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
del /q subinacl.exe
popd
del %0
exit
Open a new
Notepad document. (Do not use a Word Processor or WordPad). Click "
Format" and be certain that Word Wrap is not enabled.
Right-click |
Paste the Quote box contents from above into Notepad. Click File,
Save as..., and enter (including quotation marks) as the filename:
"FixPerms.cmd". Exit Notepad.
Right click your new file,
Run as Administrator, to run the script. It will take approximately twenty minutes to run, but the exact time is difficult to guess.

Reboot when finished.
Note: There is no utility value to be had in running this more than once.