Cannot fix BSOD on Windows 7 Ultimate SP1 64-bit

Hi,

My Windows 7 PC blue-screened this morning. I'm hoping someone here can help me fix it. My system had been working fine for months but I should mention the following: 
  • I do not have automatic updates running - I install them manually as the forced reboots annoy me. Regardless, I keep my PC fairly up to date;
  • I have been out of my apartment for three weeks so the PC has not been used in that time;
  • When I returned yesterday, one of the first things I did was plug in a USB hard drive a friend had lent me. Everything worked fine until I rebooted (from sleep mode) this morning. My guess is that the driver installed with this hard drive corrupted something.
I cannot run Windows 7 in any of the boot modes - Safe Mode, Safe Mode with command prompt, Low-resolution video, Last Known Good Configuration, Disable Driver Signature Enforcement, Debugging Mode etc. Every mode throws a blue screen. Stupidly, I had not created a restore point so that option is out.

The blue-screen message is the following:

STOP: c000021a {Fatal System Error}
The Verification of a KnownDLL failed. system process terminated unexpectedly with a status of 0xc000012f (0x009b99a0 0x00000000).
The system has been shut down

Any help is really appreciated - this is not the best start to the new year!


What I've tried:
****************

  1. If I run Safe Mode with Command Prompt then CLASSPNP.SYS is the last driver to be displayed. The loading screen hangs for a few seconds and then I get the blue screen.
  2. A memory scan came back clean.
  3. From the installation disk, I ran chkdsk /r /f on my boot (C:) drive and it reported that "Windows has checked the file system and found no problems." There are no bad sectors on the drive.
  4. I then ran "sfc /scannow /offbootdir=c:\ /offwindir=c:\windows" which gives the following message: "Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example c:\Windows\Logs\CBS\CBS.log" I've posted the most recent section of that log below.
  5. When I tried the Startup Repair tool, it failed to fix the problem automatically. When I clicked View diagnostic and repair details, this message was included in the report:
"Root cause found:
A recent driver installation or upgrade may be preventing the system from starting.
Repair action: System files integrity check and repair 
Result: Failed. Error code = 0x490"

        6. Finally, I turned on boot logging to create the C:\Windows\ntblog.txt file. It looks fine for the first few entries and then looks like this:

Loaded driver \SystemRoot\system32\drivers\disk.sys
Loaded driver \SystemRoot\system32\drivers\CLASSPNP.SYS
Did not load driver @nettun.inf,%isatap.displayname%;Microsoft ISATAP Adapter
Did not load driver @nettun.inf,%isatap.displayname%;Microsoft ISATAP Adapter
Did not load driver @nettun.inf,%teredo.displayname%;Microsoft Teredo Tunneling Adapter
Did not load driver @hal.inf,%acpi_amd64.devicedesc%;ACPI x64-based PC
Did not load driver @netavpna.inf,%mp-agilevpn-dispname%;WAN Miniport (IKEv2)
Did not load driver @netrasa.inf,%mp-l2tp-dispname%;WAN Miniport (L2TP)
Did not load driver @netrasa.inf,%mp-bh-dispname%;WAN Miniport (Network Monitor)
Did not load driver @netrasa.inf,%mp-ip-dispname%;WAN Miniport (IP)
Did not load driver @netrasa.inf,%mp-ipv6-dispname%;WAN Miniport (IPv6)
Did not load driver @netrasa.inf,%mp-pppoe-dispname%;WAN Miniport (PPPOE)
Did not load driver @netrasa.inf,%mp-pptp-dispname%;WAN Miniport (PPTP)
Did not load driver @netsstpa.inf,%mp-sstp-dispname%;WAN Miniport (SSTP)

The log repeats these errors and eventually adds some other ones related to the ethernet controller and graphics card. The last drivers it typically loads are usbhub.sys, cdfs.sys, or mouhid.sys.

---

The last entry in CBS.log is the following:
2012-01-07 21:08:59, Info                  CBS    Reboot mark refs incremented to: 1
2012-01-07 21:08:59, Info                  CBS    Scavenge: Starts
2012-01-07 21:08:59, Info                  CSI    0000000b@2012/1/8:05:08:59.898 CSI Transaction @0x2d1f40 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [10]"TI6.0_0:0/"

2012-01-07 21:08:59, Info                  CBS    Scavenge: Begin CSI Store
2012-01-07 21:09:00, Info                  CSI    0000000c Performing 1 operations; 1 are not lock/unlock and follow:
  Scavenge (8): flags: 00000017
2012-01-07 21:09:00, Info                  CSI    0000000d Store coherency cookie matches last scavenge cookie, skipping scavenge.
2012-01-07 21:09:00, Info                  CSI    0000000e ICSITransaction::Commit calling IStorePendingTransaction::Apply - coldpatching=FALSE applyflags=7
2012-01-07 21:09:00, Info                  CSI    0000000f Creating NT transaction (seq 2), objectname [6]"(null)"
2012-01-07 21:09:00, Info                  CSI    00000010 Created NT transaction (seq 2) result 0x00000000, handle @0x134
2012-01-07 21:09:00, Info                  CSI    00000011@2012/1/8:05:09:00.034 CSI perf trace:
CSIPERF:TXCOMMIT;20601
2012-01-07 21:09:00, Info                  CBS    Scavenge: Completed, disposition: 0X1
2012-01-07 21:09:00, Info                  CSI    00000012@2012/1/8:05:09:00.034 CSI Transaction @0x2d1f40 destroyed
2012-01-07 21:09:00, Info                  CBS    Reboot mark refs: 0
2012-01-07 21:09:00, Info                  CBS    Idle processing thread terminated normally
2012-01-07 21:09:00, Info                  CBS    Ending the TrustedInstaller main loop.
2012-01-07 21:09:00, Info                  CBS    Starting TrustedInstaller finalization.
2012-01-07 21:09:00, Info                  CBS    Ending TrustedInstaller finalization.

 

Question Info


Last updated January 14, 2018 Views 5,319 Applies to:
Answer
Answer

I believe Repair installation would be enough.

The regedit addition is in case you don't want to do the repair which is by  no means a guarantee it will work since Error  "0x80070490" showed in the CBS.log. That error usually means a repair is in order.  If you wish to wait, you can contact Windows Update Support as Gerry suggested  which is free of charge.

https://support.microsoft.com/oas/default.aspx?gprid=6527&st=1&wfxredirect=1&sd=gn

 

You will have an Acrobat Reader but updates will be necessary once the repair is done.  Other applications you may have added such as ex: Photoshop, CCleaner, printer, etc... they will have to be reinstalled.  Your personal files, photographs, etc... will be left intact but make a backup copy just in case  or use skydrive to store files.

 

Customized settings examples would be speed tweaks, not loading sidebar on startup, etc.... if you delve into such "nonsense", lol.

 

Be sure to disconnect any peripherals, usb devices, etc...before repairing.

Pat
As a responsible member of the community, please mark the reply that has resolved your issue. Thank you.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer
Answer

You're welcome.  Good luck.

Pat
As a responsible member of the community, please mark the reply that has resolved your issue. Thank you.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.