Solved Error 00009C59 when updating Windows 7

Nadia

New member
Local time
7:17 AM
Messages
6
Hello!

I have tried to run update to my Windows 7 laptop without success. It always fails and the error code is 00009C59.

I have run sfc /scannow, SURT .

My CBS logs are big and can be found here:

https://www.sendspace.com/file/55zqne

Could you help me?
Regards,
Nadia
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium 64bit
Antivirus
Kaspersky PURE 3.0
Browser
Firefox
The SFC scan appears to have crashed when it met file access problems with one of the files that appear in the CheckSUR report...
Code:
Checking Component Store
(f) CSI Payload File Missing 0x00000000 msdtcprf.h amd64_microsoft-windows-c..gement-perfcounters_31bf3856ad364e35_6.1.7600.16385_none_814c249ec2a32783 
(f) CSI Payload File Missing 0x00000000 msdtcprf.ini amd64_microsoft-windows-c..gement-perfcounters_31bf3856ad364e35_6.1.7600.16385_none_814c249ec2a32783

I'll post a fix protocol soon.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
I've uploaded a file - nadaa.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:\nadaa
hit the enter key - if you get a 'Not Found' error try
DIR D:\nadaa
or
DIR E:\nadaa



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



XCOPY <drive>:\nadaa <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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium 64bit
Antivirus
Kaspersky PURE 3.0
Browser
Firefox
Here's the SFC crash data....
Code:
2014-12-07 11:10:55, Info                  CSI    0000006a [SR] Beginning Verify and Repair transaction
2014-12-07 11:11:33, Error                 CSI    0000006b (F) c0000185 [Error,Facility=(system),Code=389 (0x0185)] #1419780# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowFileNotFound|AllowSharingViolation|AllowAccessDenied), handle = {provider=NULL, handle=0}, da = (SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_READ_DATA), oa = @0xcfd030->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[133]"\SystemRoot\WinSxS\amd64_microsoft-windows-c..fcounters.resources_31bf3856ad364e35_6.1.7600.16385_en-us_fc20f78323775e2a\msdtcprf.ini"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0xcfd0e0, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)
[gle=0xd0000185]
2014-12-07 11:11:33, Error                 CSI    [EMAIL="0000006c@2014/12/7:18:11:33.358"]0000006c@2014/12/7:18:11:33.358[/EMAIL] (F) d:\win7sp1_gdr\base\wcp\sil\merged\ntu\ntsystem.cpp(2057): Error c0000185 [Error,Facility=(system),Code=389 (0x0185)] originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
[gle=0x80004005]
2014-12-07 11:11:34, Error                 CSI    0000006d (F) c0000185 [Error,Facility=(system),Code=389 (0x0185)] #1419779# from Windows::Rtl::SystemImplementation::CDirectory::OpenExistingFile(...)[gle=0xd0000185]
2014-12-07 11:11:34, Error                 CSI    0000006e (F) c0000185 [Error,Facility=(system),Code=389 (0x0185)] #1419778# from Windows::Rtl::SystemImplementation::CDirectory_IRtlDirectoryTearoff::OpenExistingFile(flags = (MissingFileIsOk|SharingViolationIsOk|AccessDeniedIsOk), da = (SYNCHRONIZE|FILE_READ_DATA), oa = @0xcfd6d8->SIL_OBJECT_ATTRIBUTES {s:40; on:"msdtcprf.ini"; a:(OBJ_CASE_INSENSITIVE)}, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE), file = NULL, disp = Invalid)
[gle=0xd0000185]
2014-12-07 11:12:12, Info                  CBS    Session: 30413385_1390045790 initialized by client WindowsUpdateAgent.

are you sure the file copy commands worked OK?
Please run the following command and post the results...

Code:
ICACLS C:\Windows\WinSxS\amd64_microsoft-windows-c..fcounters.resources_31bf3856ad364e35_6.1.7600.16385_en-us_fc20f78323775e2a /T

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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
I did what you want me to do, result is on picture . May be you are going to be mad on me I ran chkdsk/r, so there are some files with bad clusters. Anyway after chkdsk sfc/scannow has finally finished on 100% and there is a new cbs https://www.sendspace.com/file/yr4ir0
What do you think?
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium 64bit
Antivirus
Kaspersky PURE 3.0
Browser
Firefox
Problem solved! I don't know what did I or you do, but Internet Explorer updated to 11! I'm so happy! Thank you so much for your support and help!
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium 64bit
Antivirus
Kaspersky PURE 3.0
Browser
Firefox
There's still errors in your CBS log
Code:
 Line 7398: 2014-12-07 19:57:18, Info                  CSI    00000327 [SR] Repairing 3 components
 Line 7399: 2014-12-07 19:57:18, Info                  CSI    00000328 [SR] Beginning Verify and Repair transaction
 Line 7400: 2014-12-07 19:57:18, Info                  CSI    00000329 [SR] Cannot repair member file [l:24{12}]"msdtcprf.ini" of Microsoft-Windows-COM-DTC-Management-PerfCounters.Resources, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), 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 7401: 2014-12-07 19:57:18, Info                  CSI    0000032a [SR] Cannot repair member file [l:68{34}]"_TransactionBridgePerfCounters.ini" of WCF-M_TX_BRIDGE_PERF_C_INI, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
 Line 7402: 2014-12-07 19:57:18, Info                  CSI    0000032b [SR] Cannot repair member file [l:64{32}]"_TransactionBridgePerfCounters.h" of WCF-M_TX_BRIDGE_PERF_C_H, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing
- and the fact that you had bad clusters doesn't bode well.

You need to be thinking about replacing your hard drive, since it's likely to fail sooner or later.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Thank you for advise, of course you are right - I need to replace it. Do you know why is it happen? Was it my fault or just fate?
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium 64bit
Antivirus
Kaspersky PURE 3.0
Browser
Firefox
Laptop drives take a lot of punishment because of being moved around while still spinning - as a consequence they tend to fail earlier than desktop ones. It mostly 'just happens' :(
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Ok, then, thank you for your help and advise! I can mark this thread like SOLVED.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Home Premium 64bit
Antivirus
Kaspersky PURE 3.0
Browser
Firefox
Back
Top