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: Error code 80070002, sfc/ scannow command not working

06 Jul 2014   #11
SteelFighting

Windows 7 Ultimate x64
 
 

Aha... I see...
But I have already been there and there was no light at the end of the tunnel. As a matter of fact, this is the message I got when I tried to repair install:

"The following issues are preventing Windows from upgrading. Cancel the upgrade, complete each task, and then restart the upgrade to continue.

Windows needs to be restarted so necessary changes to system files can be made before continuing.


Upgrading Windows will affect the following features:

Any language packs that are installed will not be available after the upgrade. You’ll need to reinstall your language packs after the upgrade.


Upgrading Windows will affect the following devices and/or programs:

These devices might not work properly after the upgrade. Before upgrading, we recommend updating the drivers for these devices. Cancel the upgrade, open Control Panel and search for "update device drivers", or go to the device manufacturer's website to search for updated drivers.
Storage controllers: AUAVXLG3 IDE Controller
Network adapters: 300Mbps Wireless USB Adapter"

The rest don't matter, the first message (marked with a red X) is the one that lefts me with one and only option, to "close" the wizard.


My System SpecsSystem Spec
.
06 Jul 2014   #12
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

I was afraid you'd get that message

I'm going to see if I can get someone to assist - don't run away!
My System SpecsSystem Spec
06 Jul 2014   #13
SteelFighting

Windows 7 Ultimate x64
 
 

Okay! Not a chance of leaving
My System SpecsSystem Spec
.

07 Jul 2014   #14
tom982

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Hi SteelFighting,

Noel has asked me to take a look at this

Can you zip up and attach this file to your next post please?

C:\Windows\winsxs\Pending.xml

Tom
My System SpecsSystem Spec
08 Jul 2014   #15
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

(Thanks, Tom!)
My System SpecsSystem Spec
08 Jul 2014   #16
SteelFighting

Windows 7 Ultimate x64
 
 

There you go... I have also attached a screenshot of some other "pending" issues, I don't know if they could be of any help (judging just from their name) but I' ve uploaded it anyway...
My System SpecsSystem Spec
08 Jul 2014   #17
tom982

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Thanks, but pending.xml is all I need for now There's an awful lot of operations that are pended so we'll have a lot of problems if we skip just these. Let's try reverting them:

Can you boot into the recovery environment, and launch command prompt please: How to use the Windows 7 System Recovery Environment Command Prompt

When command prompt is launched, type in the following command and press enter:

DISM /image:C:\ /cleanup-image /revertpendingactions

Then reboot your computer, booting into Windows normally. Try to update and if it fails again, upload your CBS log and pending.xml please!

Tom
My System SpecsSystem Spec
09 Jul 2014   #18
SteelFighting

Windows 7 Ultimate x64
 
 

I am very happy to announce that I can finally get Windows update!!! But not without any surprises... So, for the record:

I followed your instructions as prompted and the following happened:
1) After entering command prompt through the recovery environment and giving the command, I got a message telling me that the size of scratch directory is insufficient, etc etc and this:
"Error 2

An error occurred reverting the pending actions from the image. For more information, review the log file under Windows\Logs\DISM\dism.log"
You can guess how disappointed I was. But then, after rebooting, miracles happened!
2) No more
"Configuring Windows update
32% complete".
Instead I got:
"Failure configuring Windows updates
Reverting changes..."
and after a while: "Cleaning up" and "Welcome"!
3) I tried to check for updates and it was taking a really long time. I thought that I was on to something good but...
alas... I got error code 80024.... (can't remember exactly the numbers) and I was thinking I should change the title of my thread to error code 80024...something.
Disappointed as I was, I rebooted one more time and thought I should check one last time for updates.
And then all went perfect!
Except for 1 optional update, a driver for my processor-based GPU Intel HD 4000.
But I'll see what I can do later about that.
Thank you so much for your time and advice all!

FYI, CBS log up but I looked for a pending.xml file and there is none anymore! I hope that's a good thing...
My System SpecsSystem Spec
09 Jul 2014   #19
SteelFighting

Windows 7 Ultimate x64
 
 

Just one more happy note: sfc /scannow command just worked fine with a 100% verification and without any integrity violations. Should I mark this thread as solved now?
My System SpecsSystem Spec
09 Jul 2014   #20
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

So long as you're happy that your original question has been answered.... yes, please do mark the thread as solved!

Tom - thanks for the quick course in solving this error-type! I have always until now avoided anything to do with DISM, on the basis that I may do more harm than good - maybe I won't be so reticent next time it's needed!

StreetFighting - well done for following the instructions so well!.... and good luck for the future.
My System SpecsSystem Spec
Reply

 Error code 80070002, sfc/ scannow command not working




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows 7 SP1 failure to install, error code 80070002
I can not for the life of me get SP1 to install. It always gives me the 80070002 error. I've done what the microsoft help says to do which is clear out my updates list after stopping windows update in services then starting them again but it just produces the same error code. I've run the...
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
Error Code 80070002 & 80070057
Hi. I've just tried to update my computer (Haven't updated it in a long time), and I was prompted these 2 errors. The first, Error Code 80070002 was displayed when I attempted to update it via Windows Updater. The second, Error Code 80070057 was displayed when I ran the program 'Windows Update...
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 19:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App