Fixing Windows Update Issue CODE:80070005

1. Download subinacl.msi:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads

2. Install it C:\Windows\System32 folder

3. Create a .BAT file with the following code

@echo off




subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f


subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f


subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f


subinacl /subdirectories %SystemDrive% /grant=administrators=f






subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f


subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f


subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f


subinacl /subdirectories %SystemDrive% /grant=system=f




@Echo =========================


@Echo Finished.


@Echo =========================


@pause
4. Run the BAT file as administrator

1 comment: