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: Code 80070002 when attempting to update; tried everything

13 Nov 2015   #1
boxc

Windows 7 Professional 64-bit
 
 
Code 80070002 when attempting to update; tried everything

When I try to run Windows Update, I get error code 80070002.

I have tried running Microsoft Fixit with no luck.
I have tried deleting the SoftwareDistribution folder
I have tried running the WindowsUpdateDiagnostic.diagcab which tells me that there is an error 8007000D which it can't fix (curiously, after running Microsoft Fixit in aggressive mode and rebooting, running WindowsUpdateDiagnostic actually says all problems were fixed, but if I run it immediately once again, I get the 8007000D error).

I am attaching my CBS.zip file.

sfc /scannow only gives me the message "Windows Resource Protection could not perform the requested operation." I have run a chkdsk /r, did not help.


My System SpecsSystem Spec
.
14 Nov 2015   #2
wben353

Win 7 Home Premium x64/Linux Lite 2.6 x64
 
 

Hi boxc & welcome to sevenforums.

Unavailable repair files:
winsxs\manifests\amd64_microsoft-windows-errorreportingconsole_31bf3856ad364e35_6.1.7600.16385_none_b202231e3c968e42.manifest
winsxs\manifests\x86_microsoft.windows.c..-controls.resources_6595b64144ccf1df_6.0.7600.16385_zh-tw_bb9f7a833cb8946b.manifest
winsxs\manifests\amd64_9eee84c6ac38102e3d7612538ead2473_31bf3856ad364e35_8.0.7600.20908_none_b8b8766 1.manifest
winsxs\manifests\amd6<_microsoft-windgws-printing-spooler-core_31bf3856ad364e35_6.1.7600.16661_none_3252392adb2d25f4.manifest

I'll see if I have them
My System SpecsSystem Spec
14 Nov 2015   #3
wben353

Win 7 Home Premium x64/Linux Lite 2.6 x64
 
 

We'll have to work on the Event Log first - it's going to cause problems otherwise.

Please open an Elevated Command Prompt, and run the following command...

REG QUERY "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon"

post the results


Here are some instructions to make life easier

1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs,Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.

2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.

3) To copy the results... click on the Black/White icon in the top left, and select Edit...'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.
My System SpecsSystem Spec
.

14 Nov 2015   #4
boxc

Windows 7 Professional 64-bit
 
 

Good morning wben353, thank you very much for taking your time.

Here is the result of the query:


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
ReportBootOk REG_SZ 1
Shell REG_SZ explorer.exe
PreCreateKnownFolders REG_SZ {A520A1A4-1780-4FF6-BD18-167343C5AF16}
Userinit REG_SZ C:\Windows\system32\userinit.exe,
VMApplet REG_SZ SystemPropertiesPerformance.exe /pagefile
AutoRestartShell REG_DWORD 0x1
Background REG_SZ 0 0 0
CachedLogonsCount REG_SZ 10
DebugServerCommand REG_SZ no
ForceUnlockLogon REG_DWORD 0x0
LegalNoticeCaption REG_SZ
LegalNoticeText REG_SZ
PasswordExpiryWarning REG_DWORD 0x5
PowerdownAfterShutdown REG_SZ 0
ShutdownWithoutLogon REG_SZ 0
WinStationsDisabled REG_SZ 0
DisableCAD REG_DWORD 0x1
scremoveoption REG_SZ 0
ShutdownFlags REG_DWORD 0x2b
AutoAdminLogon REG_SZ 0
DefaultUserName REG_SZ Daniel

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExten
sions
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLog
onChecked
My System SpecsSystem Spec
14 Nov 2015   #5
wben353

Win 7 Home Premium x64/Linux Lite 2.6 x64
 
 

Do you have win7x64 DVD?
My System SpecsSystem Spec
14 Nov 2015   #6
wben353

Win 7 Home Premium x64/Linux Lite 2.6 x64
 
 

Appears to have fixed event log.

Let's check the services involved.
Please open an Elevated Command Prompt, and run the following commands - post the results.

SC QUERYEX EVENTLOG
SC QUERYEX EVENTSYSTEM
SC QUERYEX WECSVC
SC QUERYEX WERSVC
SC QC BITS
SC QC BFE
REG QUERY HKLM\SYSTEM\CurrentControlSet\Services\eventlog

Here's link to your issue click here. NoelDP is the expert here. As you will see, he tried diligently to correct problem. Repair Install was finally recommended. Takes a few hours for repair install to complete. Day or so for updates.

If you ultimately decide on repair install, it preserves all your installed programs, files, folders, music, pictures, etc., just replaces windows. I do them all the time. Piece of cake.

I have detailed instructions & more on repair install. Let me know what you wish to do. I have no problem with whatever you decide.
My System SpecsSystem Spec
14 Nov 2015   #7
boxc

Windows 7 Professional 64-bit
 
 

Hello again, I started doing a repair install but after the files had finished copying I get
"Setup can't continue. Restart the computer and restart Setup. When prompted, try getting the latest updates".

Here's what I got from running those commands:


C:\Users\Daniel>SC QUERYEX EVENTLOG

SERVICE_NAME: EVENTLOG
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :

C:\Users\Daniel>SC QUERYEX EVENTSYSTEM

SERVICE_NAME: EVENTSYSTEM
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 1096
FLAGS :

C:\Users\Daniel>SC QUERYEX WECSVC

SERVICE_NAME: WECSVC
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :

C:\Users\Daniel>SC QUERYEX WERSVC

SERVICE_NAME: WERSVC
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PID : 0
FLAGS :

C:\Users\Daniel>SC QC BITS
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: BITS
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START (DELAYED)
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Windows\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Background Intelligent Transfer Service
DEPENDENCIES : RpcSs
: EventSystem
SERVICE_START_NAME : LocalSystem

C:\Users\Daniel>SC QC BFE
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: BFE
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k LocalServiceNoNe
twork
LOAD_ORDER_GROUP : NetworkProvider
TAG : 0
DISPLAY_NAME : Base Filtering Engine
DEPENDENCIES : RpcSs
SERVICE_START_NAME : NT AUTHORITY\LocalService

C:\Users\Daniel>REG QUERY HKLM\SYSTEM\CurrentControlSet\Services\eventlog

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog
ServiceDll REG_EXPAND_SZ %SystemRoot%\System32\wevtsvc.dll
ServiceMain REG_SZ ServiceMain
PlugPlayServiceType REG_DWORD 0x3
ServiceDllUnloadOnStop REG_DWORD 0x1
DisplayName REG_SZ @%SystemRoot%\system32\wevtsvc.dll,-200
Group REG_SZ Event Log
ImagePath REG_EXPAND_SZ %SystemRoot%\System32\svchost.exe -k LocalServ
iceNetworkRestricted
Description REG_SZ @%SystemRoot%\system32\wevtsvc.dll,-201
ObjectName REG_SZ NT AUTHORITY\LocalService
ErrorControl REG_DWORD 0x1
Start REG_DWORD 0x4
Type REG_DWORD 0x20
ServiceSidType REG_DWORD 0x1
RequiredPrivileges REG_MULTI_SZ SeChangeNotifyPrivilege\0SeImpersonate
Privilege
FailureActionsOnNonCrashFailures REG_DWORD 0x1
FailureActions REG_BINARY 80510100000000000000000003000000140000000100
000060EA000001000000C0D401000000000000000000

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\ACEEventLog
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\Application
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\COMODO Internet Se
curity CEF
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\COMODO Internet Se
curity Trace
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\HardwareEvents
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\Internet Explorer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\Key Management Ser
vice
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\Media Center
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\ODiag
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\OSession
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\Security
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\System
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\Windows PowerShell


C:\Users\Daniel>
My System SpecsSystem Spec
15 Nov 2015   #8
wben353

Win 7 Home Premium x64/Linux Lite 2.6 x64
 
 

How are you trying to do repair install?

You must run DVD, USB, or win7 folder from windows, not boot from DVD or USB.

If you are in fact, running it from DVD or USB within windows:

What Anti-virus, firewall, etc., are you running?

May be conflict there. Try disabling them, disconnect from internet & try repair install again.

If you're running any Norton products, they are famous for various issues. The Norton license key can be found at: C:\Users\<your system name here>\Documents\Symantec Copy & paste it somewhere else. Download Norton removal utility and run it. Uninstalling from Control Panel, or with Reno Uninstaller, isn't sufficient.

If that fails, try:

Open MSCONFIG, go to the startup tab and uncheck everything, then go to the Services tab and tick "Hide all Microsoft services", then uncheck all Non Microsoft services, restart and try to repair.

If that fails, are you sure your machine is not infected?

Here's a list of FREE, (I like free) programs that I use regularly on default settings, except for CCleaner. On Cleaner tab, under Systems, make sure Windows Logs is unchecked. It usually deletes MSDTC.log with other windows logs. You will then receive error with sfc /scannow or SFCFix.exe by Niemiro.

List of excellent scanners, for virus, rootkit, adware, nagware, pups, (free) I like free.

Malwarebytes

ADWCleaner

SuperAntiSpyware

HitmanPro choose x64 version

Rootkit tools

ASW.mbr

TDSS Killer

One of the above should resolve repair install issue, usually. (we're dealing with Microsoft)
My System SpecsSystem Spec
15 Nov 2015   #9
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Bill could this also be causing a problem.

https://www.comodo.com/home/internet...t-security.php

From log.

Quote:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog\COMODO Internet Se
curity Trace
My System SpecsSystem Spec
15 Nov 2015   #10
wben353

Win 7 Home Premium x64/Linux Lite 2.6 x64
 
 

Yes it could, Norton is also famous for this.
CCleaner free versions, registry cleaner, should remove orphaned key
My System SpecsSystem Spec
Reply

 Code 80070002 when attempting to update; tried everything




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
80070002 error code when trying to update windows 7 64-bit
I have about a 3 year old Win 7 64-bit computer. It has had Windows update issues for quite some time and always been a bit quirky. I just started reading about the error code and have done all of the appropriate response fixes from Microsoft. Let me preface this by saying I have always had...
Windows Updates & Activation
Windows Update Failure, Error Code 80070002
I've exhausted my ability to try to solve this one on my own. I've run all of the automated fixes I can find from Microsoft, so I'm asking for some more targeted help. I'm running Windows 7 Pro x64 SP1. I have run the System Update Readiness Tool (May '14). It completes successfully, but I...
Windows Updates & Activation
windows update error code 80070002
I have been getting the windows update error code 80070002 for a while now. I ran SURT and did not get any errors. When running sfc / scannow I get the error "Windows Resource Protection could not perform the requested operation." after a few seconds. here is a zip of my CBS dir...
Windows Updates & Activation
error Code 80070002 windows 7 update
Hello. 1st hope in right thread? Got a number of error codes and problems with updating my windows update.Microsoft .NET Framework 4.5.1 for Windows 7 x64-based Systems (KB2858725) Installation date: ‎07/‎07/‎2014 14:24 Installation status: Failed Error details: Code 13EC
Windows Updates & Activation
Win 7 x64 SP1 Update Failed, Error Code 80070002
This one has me boggled. I've searched high low looking for a solution to this issue without any success thus far. As the title of the thread say, I've been unable to install SP1. Link to my CBS directory (zipped): https://skydrive.live.com/redir?resid=9D9946E21F538FA!107 SFC /SCANNOW...
Windows Updates & Activation


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 09:06.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App