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: Update issues with windows 7 SP1 error 8007002

27 Jun 2014   #1
Cargo48

Windows 7 Home Premium x64
 
 
Update issues with windows 7 SP1 error 8007002

It's been a problem for a while and I've been putting off getting it sorted for a while, I've tried the windows readiness tool and also done a few things like restarting the service. All to no avail.

I was wondering if you guys could help me get this error fixed!


thanks,
Cargo


My System SpecsSystem Spec
.
27 Jun 2014   #2
NoelDP

Microsoft Community Contributor Award Recipient

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

Please follow the Windows Update Posting Instructions and post the requested data
If the file is too large (8MB compressed), remove the older CBSPersist cab files until the final file is below the limit - you can always post them separately after zipping them. (the forum doesn't allow the upload of bare CAB files, for a number of reasons)
My System SpecsSystem Spec
27 Jun 2014   #3
Cargo48

Windows 7 Home Premium x64
 
 

Okay - I've attached the CBS folder but removed some of the older files as you suggested. The SURT takes a while but then just says it was successful, and the update still does not complete and gives the same 80007002 error.


Cargo
My System SpecsSystem Spec
.

27 Jun 2014   #4
NoelDP

Microsoft Community Contributor Award Recipient

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

CheckSUR appears to have crashed before completion for some reason.

The SFC san shows the following problem...
Code:
 Line 5589: 2014-06-27 18:50:00, Info                  CSI    000002fc [SR] Repairing 1 components
 Line 5590: 2014-06-27 18:50:00, Info                  CSI    000002fd [SR] Beginning Verify and Repair transaction
 Line 5591: 2014-06-27 18:50:00, Info                  CSI    000002fe [SR] Cannot repair member file [l:84{42}]"System.Management.Automation.Resources.dll" of System.Management.Automation.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
 Line 5592: 2014-06-27 18:50:00, Info                  CSI    000002ff [SR] Cannot repair member file [l:84{42}]"System.Management.Automation.Resources.dll" of System.Management.Automation.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
 Line 5593: 2014-06-27 18:50:00, Info                  CSI    00000300 [SR] This component was referenced by [l:266{133}]"Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~en-US~6.1.7600.16385.Microsoft-Windows-Client-Features-Language-Pack"
 Line 5598: 2014-06-27 18:50:00, Info                  CSI    00000302 [SR] Repair complete
The background CBS data shows a number of problems, beginning (I think!) with this one...
Code:
2014-06-27 03:06:12, Error                 CSI    00000015@2014/6/27:02:06:12.063 (F) d:\win7sp1_gdr\base\wcp\primitiveinstallers\fileinstaller.cpp(1482): Store corruption detected in function CFileInstaller::ChangeFileCompression expression: 0
  MissingFileSystemResource on resource [149]"\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6.1.7601.17514_en-us_92e4c7898423b181\system.management.automation.resources.dll"[gle=0x80004005]
2014-06-27 03:06:14, Error                 CSI    00000016 (F) STATUS_OBJECT_NAME_NOT_FOUND #10744029# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowSharingViolation), handle = {provider=NULL, handle=0}, da = (SYNCHRONIZE|FILE_READ_ATTRIBUTES), oa = @0x19fd790->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[163]"\??\C:\Windows\WinSxS\msil_system.management.automation.resources_31bf3856ad364e35_6.1.7601.17514_en-us_92e4c7898423b181\System.Management.Automation.Resources.dll"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x19fd770, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = Invalid)
[gle=0xd0000034]
2014-06-27 03:06:14, Error                 CSI    00000017@2014/6/27:02:06:14.731 (F) d:\win7sp1_gdr\base\wcp\sil\merged\ntu\ntsystem.cpp(2057): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
[gle=0x80004005]
2014-06-27 03:06:43, Error                 CSI    00000018 (F) STATUS_OBJECT_NAME_NOT_FOUND #10744028# from Windows::Rtl::SystemImplementation::CDirectory::OpenExistingFile(...)[gle=0xd0000034]
- which tallies nicely with the SFC error

Hopefully fixing that one will allow CheckSUR to finish next time we run it.

I'll post a fix protocol for it a bit later.
My System SpecsSystem Spec
27 Jun 2014   #5
NoelDP

Microsoft Community Contributor Award Recipient

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

I've uploaded a file - c48aa.zip - to my OneDrive at Noel's OneDrive
Please download and save it.

Right-click on the saved file and select Extract all...
Change the target to C:\ and click on Extract
Close all windows (it would be a good idea to print these instructions!)

Now reboot to the Repair Environment - as soon as the machine restarts, start tapping F8 - this should bring up the Advanced Boot Menu, at the top of which should be the option 'Repair my Computer'
Pick that
You'll have to log in with your username and password.

Pick the option to use a Command Prompt
At the prompt type
DIR C:\c48aa
hit the enter key - if you get a 'Not Found' error try
DIR D:\c48aa
or
DIR E:\c48aa



The drive letter in use when you find the folder will need to be substituted (for<drive>) into the following command...



XCOPY <drive>:\c48aa <drive>:\windows\winsxs /y /i /s /v /h



(e.g. XCOPY P:\wfire P:\windows\winsxs /y /i /s /v /h )



run the command (it should take almost no time) and when the prompt returns, type
EXIT
and hit the Enter key to exit Command Prompt - reboot to Normal Mode Windows.

Now run SFC /SCANNOW in an Elevated Command Prompt
then reboot and upload the new CBS.log file to your reply
My System SpecsSystem Spec
27 Jun 2014   #6
Cargo48

Windows 7 Home Premium x64
 
 

Okay thanks for these speedy replies! I have done the steps you have said and it works fine, the directory was D:\ in the end - i have attached the new CBS logs after rebooting,

Thanks
Cargo
My System SpecsSystem Spec
27 Jun 2014   #7
NoelDP

Microsoft Community Contributor Award Recipient

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

How very strange....
The error is still present in SFC, but CheckSUR now completes properly, and also flags the problem - as well as flagging a second file .
Code:
Checking Component Store
(f) CSI Payload File Missing 0x00000000 System.Management.Automation.Resources.dll msil_system.management.automation.resources_31bf3856ad364e35_6.1.7600.16385_en-us_90b3b3c187352de7 
(f) CSI Payload File Missing 0x00000000 System.Management.Automation.Resources.dll msil_system.management.automation.resources_31bf3856ad364e35_6.1.7601.17514_en-us_92e4c7898423b181
I want to play a little before I post a new fix, to see what I can find out.

back later.
My System SpecsSystem Spec
28 Jun 2014   #8
NoelDP

Microsoft Community Contributor Award Recipient

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

I was hoping to use CheckSUR for the repair, rather than my usual methods, but it seems only to diagnose, rather than effect any repairs.
Since the earlier repair appears to have (at least partially) failed, I think it would be worth checking a few things before diving in at the deep end

Please open an elevated Command Prompt, and run the following commands...

Code:
 
ICACLS C:\Windows\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6.1.7600.16385_en-us_90b3b3c187352de7  /T
ICACLS C:\Windows\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6.1.7601.17514_en-us_92e4c7898423b181 /T
  
.
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
28 Jun 2014   #9
Cargo48

Windows 7 Home Premium x64
 
 

Thanks for this - I've followed the instructions provided and here are the results from the elevated command prompt;

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\winsxs\msil_system.management.automation.r
esources_31bf3856ad364e35_6.1.7600.16385_en-us_90b3b3c187352de7 /T
C:\Windows\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6
.1.7600.16385_en-us_90b3b3c187352de7 NT SERVICE\TrustedInstallerI)(OI)(CI)(F)

BUILTIN\AdministratorsI)(OI)(CI)(RX)

NT AUTHORITY\SYSTEMI)(OI)(CI)(RX)

BUILTIN\UsersI)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\winsxs\msil_system.management.automation.r
esources_31bf3856ad364e35_6.1.7601.17514_en-us_92e4c7898423b181 /T
C:\Windows\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6
.1.7601.17514_en-us_92e4c7898423b181 NT SERVICE\TrustedInstallerI)(OI)(CI)(F)

BUILTIN\AdministratorsI)(OI)(CI)(RX)

NT AUTHORITY\SYSTEMI)(OI)(CI)(RX)

BUILTIN\UsersI)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>





Thanks,
Cargo48
My System SpecsSystem Spec
28 Jun 2014   #10
NoelDP

Microsoft Community Contributor Award Recipient

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

OK - that shows and confirms what CheckSUR is telling us, at least.
The question is why did the first attempt at a fix fail?
let's have a lookat what may have happened...
open an Elevated Command Prompt, and run the following commands...

DIR C:\c48aa
DIR C:\Windows\winsxs\c48aa


post the results.

My System SpecsSystem Spec
Reply

 Update issues with windows 7 SP1 error 8007002




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows Update Install Issues - error 0x80070057
I have been having issues getting all Windows Updates to install and I've tried a number of things to correct. Nothing seems to solve the problem. I ran the Update Readiness Tool with no problems. I am now trying to do a manual install of SP 1 - KB947821 and it's failing too with error...
Windows Updates & Activation
Windows Update Error/Variety of Issues
Hi there guys, So, most of the time, when I run Windows Update, it'll give me the message: "Windows Update cannot run because windows update is not started" or, you know, something like that. I've checked the services, both the Windows Update and the Background intelligent transfer are started....
Windows Updates & Activation
Tenfold Increase In Boot Time: Failed Win 7 Update KB2862335 (8007002)
Hello and thank you in advance for any help. I try to keep my Windows 7 Home Premium up to date and typically manually install Windows Updates monthly without issue. This month (October 2013), however, while installing all of the important updates (except IE10 and the Windows Malicious Software...
Windows Updates & Activation
Windows Could Not Search For New Updates Error 8007002
Win 7 SP1 - Home Premium - 64bit - Dell - 8GB Ram I'm working on fixing a friend's computer. I've resolved the BSOD problems and the WINWORD issues. But I cannot get it to update. I don't know if it has ever been updated, the CP and the Update screen both say they haven't, but I don't know how...
Windows Updates & Activation
Update issues and Error 8024402F
I've just restored my Asus Eee PC and proceeded to install the available updates. This it did, until I got the above error message and the text Windows Update encountered an unknown error. As I hadn't installed anything, I restored and tried again. Same thing happened. I did notice, however, that...
Windows Updates & Activation
Windows 7 Service Pack 1 language packs (Kb2483139) error (8007002)
Hello! I get error code 8007002 when I install language packs(English). I'm sure installed the English language pack on my computer and switch to English. After reboot my computer it show up original(Chinese language). Than I check my computer is show currently Display:English I try to...
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:11.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App