Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Errorcode 80070005 when updating Windows 7 x64


21 Aug 2011   #1

Windows 7 Ultimate x64
 
 
Errorcode 80070005 when updating Windows 7 x64

I'm getting so annoyed by not being able to update Windows 7 with 3 particular updates:

kb2529073
kb2532531
kb982018

All will result in error 80070005 (when restarting, windows try to install the patches, an error will occur, and the update will revert).

Windows 7 x64
ASRock 870 extreme3 mainbord
Raccot Kova - mouse
LiveScribe - Penholder on USB
Thomson TG123g - wifi dongle

Software:
Zonealarm
Kaspersky

What have I tried?

1) MS FixIT tool - Aggressive

2) Catroot2
Navigate to your LocalDrive:/Windows/System32 and rename the "catroot2" folder to "cr2old"
Once it is renamed, go back to command prompt and run this command: net start cryptsvc which will restart the Cryptographic Services.
If this doesn’t work, then follow these steps:
1. Delete all the tmp*.cat files in the following folders (use the search option on the top right corner of the screen to find and delete the files):
%systemroot%\system32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE} (there may be no files in this folder if that’s the case then only worry about
the next folder)
%systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} (if no items are found then go to the next step)
2. Delete all the kb*.cat files in the following folders (use the search option on the top right corner of the screen to find and delete the files):
%systemroot%\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE} ( A pop up will ask that you need admin rights to delete, accept and delete,
you may notice that they were deleted however still appear, if you refresh the screen they will be gone)
%systemroot%\System32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE} (again skip if there is no files in the folders)
3. Delete all the oem*.* files from the %systemroot%\inf folder. (again use the search option on the top right hand corner of the screen to find and delete the files)
4. At the command prompt (Run as Administrator), type the following commands. Press ENTER after each command.
A) net stop cryptsvc
B) Next, Navigate to your LocalDrive:/Windows/System32 and delete the renamed Catroot2 folder we made previously and keep the “Catroot2” file
C) ren %systemroot%\System32\Catroot2 oldcatroot2
D) net start cryptsvc
Exit Command Prompt

3) SubInacl.msi

Download Details - Microsoft Download Center - SubInACL (SubInACL.exe)

2. Please go to the Desktop and double click the downloaded file.
3. Please select the C:\Windows\System32 folder as the Destination Folder during the installation. Later we will use this tool to reset the permission settings on the current machine.

Note: If the UAC (User Account Control) window is prompted for permission to continue, please click Continue.

4. Click Start, in the Start Search bar, type: "notepad" (without quotes) and press Enter.
5. Copy the following commands and then paste them into the open Notepad window:

@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

3) WUclean - http://tinyurl.com/wuclean

4) WUfix - http://tinyurl.com/wufixvista15

5) SVC /scannow

6) Enable USB - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor (value 3)

7) Change GPO for 2 USB files
KB982018 is updating the usbstor.inf and the usbstor.PNF.
If you locking down USB devices then these 2 files are explicitly denied access for the following groups:

Everyone
Administrators
User
System

If you change all of these to Full control then the patch will install.

The best solution is to apply a GPO to reverse the explicitly deny security
and give full control back to the above groups. Then apply the patch then
re-apply the original GPO to lock things back down.

8) Run the following script:
: Author = *** E-mailadres is om privacyredenen verwijderd ***
@ Title CLear SoftwareDistibution Folder and Catroot2 (Vista) 1 / %date%
@ %HOMEDRIVE%
@ cd\
@ color 70
@ cls
@ if exist %systemroot%\System32\nsisvc.dll goto :vista
@ goto :xp

:vista
echo THIS IS VISTA
@ net stop wuauserv
@ net stop bits
@ net stop cryptsvc
@ echo De catroot directory wordt nu verwijderd, dit kan enige tijd duren.
@ rd %systemroot%\System32\Catroot2 /s/q
@ md %systemroot%\System32\Catroot2
@ net start cryptsvc
@ echo De SoftwareDistribution directory wordt nu verwijderd, dit kan enige tijd duren.
@ rd %systemroot%\SoftwareDistribution /s/q
regsvr32 /s wuapi.dll
regsvr32 /s wuaueng.dll
regsvr32 /s wuaueng1.dll
regsvr32 /s wucltui.dll
regsvr32 /s wups.dll
regsvr32 /s wups2.dll
regsvr32 /s wuweb.dll
@ net start bits
@ net start wuauserv
@ pause
@ exit

:xp
echo THIS IS XP
@ net stop wuauserv
@ net stop bits
@ net stop cryptsvc
@ echo De catroot directory wordt nu verwijderd, dit kan enige tijd duren.
@ rd %systemroot%\System32\Catroot2 /s/q
@ md %systemroot%\System32\Catroot2
@ net start cryptsvc
@ echo De SoftwareDistribution directory wordt nu verwijderd, dit kan enige tijd duren.
@ rd %systemroot%\SoftwareDistribution /s/q
regsvr32 /s wuapi.dll
regsvr32 /s wuaueng.dll
regsvr32 /s wuaueng1.dll
regsvr32 /s wucltui.dll
regsvr32 /s wups.dll
regsvr32 /s wups2.dll
regsvr32 /s wuweb.dll
@ net start bits
@ net start wuauserv
@ pause
@ exit

9) And this script:
: Author = *** E-mailadres is om privacyredenen verwijderd ***
@ Title WindowsUpdateFix 15 Vista/Windows 7 (x86/x64) / %date%
@ %HOMEDRIVE%
@ cd\
@ color 70
@ cls
@ if not exist %systemroot%\System32\nsisvc.dll echo NOT VISTA
@ if not exist %systemroot%\System32\nsisvc.dll exit
@ %systemroot%\system32\sc.exe config WuAuServ start= auto obj= LocalSystem
@ %systemroot%\system32\sc.exe config BITS start= demand obj= LocalSystem
@ %systemroot%\system32\sc.exe config CryptSvc start= auto
@ %systemroot%\system32\sc.exe config WinDefend start= auto obj= LocalSystem
@ %systemroot%\system32\sc.exe config MsiServer start= demand obj= LocalSystem
@ %systemroot%\system32\sc.exe config TrustedInstaller start= demand
@ %systemroot%\system32\sc.exe config eventlog start= auto
@ %systemroot%\system32\sc.exe config nlasvc start= auto
@ %systemroot%\system32\sc.exe config WscSvc start= auto
@ %systemroot%\system32\sc.exe config nsi start= auto
@ %systemroot%\system32\sc.exe sdset wuauserv DA;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)SA U;FA;CCDCLCSWRPWPDTLOSDRCWDWO;;;WD)
@ %systemroot%\system32\sc.exe sdset bits DA;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A ;;CCLCSWLOCRRC;;;SU)SAU;SAFA;WDWO;;;BA)
@ %systemroot%\system32\sc.exe sdset cryptsvc DA;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLO CRRC;;;SU)S:AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
@ %systemroot%\system32\sc.exe sdset msiserver DA;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLO CRRC;;;SU)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
@ cd\
@ reg add HKLM\Components\ /v StoreDirty /f
@ reg delete HKLM\Components\ /v StoreDirty /f
@ reg add HKLM\Components\ /v AdvancedInstallersNeedResolving /f
@ reg delete HKLM\Components\ /v AdvancedInstallersNeedResolving /f
@ reg add HKLM\Components\ /v NextQueueEntryIndex /f
@ reg delete HKLM\Components\ /v NextQueueEntryIndex /f
@ reg add HKLM\Components\ /v PendingXmldentifier /f
@ reg delete HKLM\Components\ /v PendingXmldentifier /f
@ cd\
@ %systemroot%\system32\net.exe stop WuAuServ
@ %systemroot%\system32\net.exe stop BITS
@ %systemroot%\system32\net.exe stop CryptSvc
@ %systemroot%\system32\net.exe stop WinDefend
@ %systemroot%\system32\net.exe stop MsiServer
@ cd\
@ cd %ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\
del /q qmgr0.dat
del /q qmgr1.dat
@ cd\
@ if not exist %systemroot%\system32\SoftwareDistribution mkdir %systemroot%\system32\SoftwareDistribution
@ copy %systemroot%\SoftwareDistribution\DataStore\DataStore.edb %systemroot%\system32\SoftwareDistribution
@ copy %systemroot%\SoftwareDistribution\ReportingEvents.log %systemroot%\system32\SoftwareDistribution
@ cd\
@ rmdir /q /s %systemroot%\SoftwareDistribution
@ cd\
@ mkdir %systemroot%\SoftwareDistribution\DataStore
@ copy %systemroot%\system32\SoftwareDistribution\DataStore.edb %systemroot%\SoftwareDistribution\DataStore
@ copy %systemroot%\system32\SoftwareDistribution\ReportingEvents.log %systemroot%\SoftwareDistribution
@ cd\
@ if exist %systemroot%\system32\catroot2 attrib -r -s -h %systemroot%\system32\catroot2
@ if exist %systemroot%\system32\catroot2 rmdir %systemroot%\system32\catroot2 /q /s
@ cd\
@ %systemroot%\system32\net.exe start WuAuServ
@ %systemroot%\system32\net.exe start BITS
@ %systemroot%\system32\net.exe start CryptSvc
@ %systemroot%\system32\net.exe start WinDefend
@ echo TrustedInstaller
@ %systemroot%\system32\net.exe start TrustedInstaller
@ echo nsi
@ %systemroot%\system32\net.exe start nsi
@ echo Eventlog
@ %systemroot%\system32\net.exe start eventlog
@ echo nlasvc
@ %systemroot%\system32\net.exe start nlasvc
@ echo WscSvc
@ %systemroot%\system32\net.exe start WscSvc
@ cd\
@start /wait %systemroot%\system32\msiexec /unreg
@ echo regsvr32.exe atl.dll
@ start /wait %systemroot%\system32\regsvr32.exe atl.dll /s
@ echo regsvr32.exe cryptdlg.dll
@ start /wait %systemroot%\system32\regsvr32.exe cryptdlg.dll /s
@ echo regsvr32.exe cryptsvc.dll
@ start /wait %systemroot%\system32\regsvr32.exe cryptsvc.dll /s
@ echo regsvr32.exe initpki.dll
@ start /wait %systemroot%\system32\regsvr32.exe initpki.dll /s
@ echo regsvr32.exe jscript.dll
@ start /wait %systemroot%\system32\regsvr32.exe jscript.dll /s
@ echo regsvr32.exe msxml3.dll
@ start /wait %systemroot%\system32\regsvr32.exe msxml3.dll /s
@ echo regsvr32.exe msxml3r.dll
@ start /wait %systemroot%\system32\regsvr32.exe msxml3r.dll /s
@ echo regsvr32.exe msxml4.dll
@ start /wait %systemroot%\system32\regsvr32.exe msxml4.dll /s
@ echo regsvr32.exe msxml4r.dll
@ start /wait %systemroot%\system32\regsvr32.exe msxml4r.dll /s
@ echo regsvr32.exe msxml6.dll
@ start /wait %systemroot%\system32\regsvr32.exe msxml6.dll /s
@ echo regsvr32.exe msxml6r.dll
@ start /wait %systemroot%\system32\regsvr32.exe msxml6r.dll /s
@ echo regsvr32.exe qmgr.dll
@ start /wait %systemroot%\system32\regsvr32.exe qmgr.dll /s
@ echo regsvr32.exe qmgrprxy.dll
@ start /wait %systemroot%\system32\regsvr32.exe qmgrprxy.dll /s
@ echo regsvr32.exe url.dll
@ start /wait %systemroot%\system32\regsvr32.exe url.dll /s
@ echo regsvr32.exe urlmon.dll
@ start /wait %systemroot%\system32\regsvr32.exe urlmon.dll /s
@ echo regsvr32.exe softpub.dll
@ start /wait %systemroot%\system32\regsvr32.exe softpub.dll /s
@ echo regsvr32.exe wintrust.dll
@ start /wait %systemroot%\system32\regsvr32.exe wintrust.dll /s
@ echo regsvr32.exe wuapi.dll
@ start /wait %systemroot%\system32\regsvr32.exe wuapi.dll /s
@ echo regsvr32.exe winhttp.dll
@ start /wait %systemroot%\system32\regsvr32.exe winhttp.dll /s
@ echo regsvr32.exe wuaueng.dll
@ start /wait %systemroot%\system32\regsvr32.exe wuaueng.dll /s
@ echo regsvr32.exe wups.dll
@ start /wait %systemroot%\system32\regsvr32.exe wups.dll /s
@ echo regsvr32.exe wups2.dll
@ start /wait %systemroot%\system32\regsvr32.exe wups2.dll /s
@ echo regsvr32.exe wucltux.dll
@ start /wait %systemroot%\system32\regsvr32.exe wucltux.dll /s
@ echo regsvr32.exe wuwebv.dll
@ start /wait %systemroot%\system32\regsvr32.exe wuwebv.dll /s
@ echo regsvr32.exe bitsprx2.dll
@ start /wait %systemroot%\system32\regsvr32.exe bitsprx2.dll /s
@ echo regsvr32.exe bitsprx3.dll
@ start /wait %systemroot%\system32\regsvr32.exe bitsprx3.dll /s
@ echo regsvr32.exe bitsprx4.dll
@ start /wait %systemroot%\system32\regsvr32.exe bitsprx4.dll /s
@ echo regsvr32.exe bitsprx5.dll
@ start /wait %systemroot%\system32\regsvr32.exe bitsprx5.dll /s
@ echo regsvr32.exe bitsigd.dll
@ start /wait %systemroot%\system32\regsvr32.exe bitsigd.dll /s
@ echo regsvr32.exe bitsperf.dll
@ start /wait %systemroot%\system32\regsvr32.exe bitsperf.dll /s
@ cd\
@ start /wait %systemroot%\system32\msiexec /regserver
@ start /wait %systemroot%\system32\regsvr32.exe msi.dll /s
@ %systemroot%\system32\net.exe start MsiServer
@ cd\
@ %systemroot%\system32\ipconfig.exe /flushdns
@ %systemroot%\system32\ipconfig.exe /displaydns
@ %systemroot%\system32\netsh.exe winhttp reset proxy
@ %systemroot%\system32\netsh.exe interface ip show config
@ echo fsutil resource setautoreset true c:
@ fsutil resource setautoreset true c:
@ %systemroot%\system32\netsh.exe winsock reset
@ pause
@ %systemroot%\system32\timedate.cpl

10) And tried to manually download the updates from micrisoft website

11) Uninstalled AMD drivers and tried to install the updates.

12) Created a new ADMIN account and tried to install the updates on that account.


What else can I do?
This is driving me crazy..

My System SpecsSystem Spec
.

01 Sep 2011   #2

MS Windows 7 Ultimate SP1 64-bit
 
 

vyndrox,

Welcome to SevenForums.

You have received some incorrect and harmful advice.

With the state that you system is no doubt in at this stage, then I recommend a Repair Instatll.

For the future, I suggest posing your problem here before you shoot yourself in the foot again.

Repair Install
My System SpecsSystem Spec
02 Sep 2011   #3

MS Windows 7 Ultimate SP1 64-bit
 
 

Vyndrox,

Did you ever download and run the System Update Readiness Tool?

Run that tool and attach the checksur.log file to your next post.

BEFORE running some of the more common update repair methods, and incidentally, we have a couple of tutorials on just that, the download the version of the System Update Readiness tool for your system and run it.

Now ignore any message that may appear saying that you don't need to run the tool. Just download and run it.

Now here's the link you need:
Description of the System Update Readiness Tool for Windows Vista, for Windows Server 2008, for Windows 7, and for Windows Server 2008 R2
My System SpecsSystem Spec
.


Reply

 Errorcode 80070005 when updating Windows 7 x64




Thread Tools



Similar help and support threads for2: Errorcode 80070005 when updating Windows 7 x64
Thread Forum
BSOD regardless of activity, errorcode 1E and 1D BSOD Help and Support
BSOD Errorcode 101 BSOD Help and Support
Solved Error 80070005 in W7 Performance & Maintenance
error 80070005 Installation & Setup
Batting .500 with 80070005 on 7 Pro 64bit Windows Updates & Activation
Messenger Error 80070005 Software
msn problem error code 80070005 Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 08:34 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33