[SOLVED] All Windows Updates Fail To Install

Hi Will,

Open the start menu, type regedit in the box and press enter. Click on HKEY_LOCAL_MACHINE once to select it, then click File > Load Hive. Find the COMPONENTS file that you wish to view, then load it, assign it a name that is anything but COMPONENTS. It will now appear under HKLM where you can browse through it. When you are done, click on the hive then click File > Unload Hive.

That file is much, much better! Everything seems to be in order there.

Navigate to: C:\Windows\system32\config and rename COMPONENTS to COMPONENTS.old (if it won't let you, reboot and try again). Then copy and paste the COMPONENTS file from your backup into this location. Reboot, then run the SURT and post the log please:

C:\Windows\Logs\CBS\CheckSUR.persist.log

Tom
 
OK So I used a Windows 7x64 SP1 Repair disc. Used cmd and renamed the file.

I missed your update before I started running sfc /scannow . I'm in safe mode and that is running as I type this.

Will post its log and then will run SURT again.

Thanks again!

Update: OK the sfc scan just finished:

C:\Users\Will>sfc /scannow


Beginning system scan. This process will take some time.


Beginning verification phase of system scan.
Verification 100% complete.


Windows Resource Protection found corrupt files and successfully repaired
them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log


The system file repair changes will take effect after the next reboot.

Log file is attached. Going to reboot now.

Update 2: Re-Downloading SURT as I just realized I have version 24 (July 2012) when version 25 (November 2012) is out.

OK v25 is running now.

Update 3: SURT Log file attached.

Does NOT look good. :(

Summary:
Seconds executed: 90
Found 12240 errors
CBS Watchlist Package Missing Total count: 9161
CBS Watchlist Component Missing Total count: 3079

Log file is the same. Only difference is this time it took 90 seconds instead of 7 seconds like on my first post.

And I confirm that HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components looks good now. So I did use the right file.

The packages all seem to be at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect too.

Perhaps its the files in C:\Windows\servicing\Packages or C:\Windows\WinSxS\Manifests that are corrupted?
 

Attachments

Hi Will,

There was a slim chance that replacing the COMPONENTS hives would work, as they are very much machine specific, but in this case it has failed. The registry is linked together in a very complicated fashion, and with problems of this scale, it is almost impossible to track it all down. Not only do we have these problems, but the thought of what caused this is always looming in the background. Even if we were able to fix this, which I might as well call impossible, then nothing is stopping it from happening again. Without knowing what caused this, it's impossible to prevent it from happening again.

The files under WinSxs and servicing\Packages are fine. The SURT checks the integrity of them all and would report any issue if it found one, which it didn't, and SFC would do the same for the remaining files.

The only way to clear up your problems is to do a clean install, I'm afraid. I would love to be able to fix this, I really would, I strive at the challenge of doing something like this, but this simply isn't possible. You also have two corrupt files (user32.dll and user32.dll.mui) on your system, to top it all off.

Sorry to be the bearer of bad news, but a clean install is the only option.

Tom
 
Hey,

Well, I have hacked user32.ddl and user32.dll.mui myself and have backup copies. So that's all good.

And thanks for info about WinSxs and servicing\Packages. I figured it would have said something.

Well, it's a real shame. Oh well, it's all good. Not a big deal, been living with it for 9+ months as it.

Will live with it for a little while longer until I am ready to do a clean install of Windows 8 Pro. With Media Center.

You would think though, that you could reset all of this to Windows defaults and then simply reinstall all updates.

Thanks again,

Will
 
Hi Will,

Thanks for understanding.

The only way to reset it all like you mention, is a clean install.

Tom
 
Well got bored so tried the In-Place Upgrade Install (Repair Install) and it failed.

Three times. :(
made it all the way to the part it copies all the system files and then it cancels itself. Bummer!

Event Viewer Logged The Following:

MSDTC encountered an error during Windows upgrade. Error specifics: 0x80070002

MSDTC was unable to migrate its log during Windows upgrade. The attempt failed with error: 0x80070002.

A MS DTC component has encountered an internal error. The process is being terminated. Error Specifics: DtcSystemShutdown (d:\w7rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp@2539): Shutting down with an error

Could not start the MS DTC Transaction Manager.

MS DTC Transaction Manager start failed. LogInit returned error 0x2. This is expected if the corresponding volume has been restored (search for kb article regarding the issue). In all other cases, contact product support.

MS DTC log file not found. After ensuring that all Resource Managers coordinated by MS DTC have no indoubt transactions, please run msdtc -resetlog to create the log file.

The run-time environment was unable to initialize for transactions required to support transactional components. Make sure that MS-DTC is running. (DtcGetTransactionManagerEx(): hr = 0x8004d01b)

MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system WILL-DESKTOP.

Attempting this: Event ID 4459 ? Microsoft Distributed Transaction Coordinator Service Installation and Setup

C:\Windows\system32>msdtc -uninstall


C:\Windows\system32>msdtc -install


C:\Windows\system32>sc query msdtc


SERVICE_NAME: msdtc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

C:\Windows\system32>sc start msdtc


SERVICE_NAME: msdtc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 2 START_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x1
WAIT_HINT : 0x3e8
PID : 4972
FLAGS :


C:\Windows\system32>sc query msdtc


SERVICE_NAME: msdtc
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

OK, trying again.
 

Attachments

  • Win7UpgradeFailed.jpg
    Win7UpgradeFailed.jpg
    66.8 KB · Views: 3
OK, so it got to 88% then crashed. :(

No errors in Event Viewer this time either.

I notice in the error log, setupact.log:

InstallWindows:Error Type = 3211266

And in diagerr.xml:

<z:row Cls="D" Sev="33554432" Maj="Def" Min="Def" LN="945" Fil="" Fun="Mig::CKnowledgeManager::GatherProcessLocation" Uid="34079392" Msg="Exception while gathering object: HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\GameUX\UserSpecificDataForAllUserGames\{32487E6E-66E1-4FAF-AB8F-7C6203417E50}: class Mig::CatalogException: Failed to write entry to file in CCatalog::WriteEntry: There is not enough space on the disk. [0x00000070] void __cdecl Mig::CCatalog::WriteEntry(class Mig::CCatalogEntry &)" PID="7488" TID="7492" Con="" Exe="C:\$WINDOWS.~BT\Sources\setup.exe" Mod="upgcore.dll" Err="112" MD="" DT="2013-02-18T21:04:35"/>

If that is true about the disk then that is crazy since I have 46.3GB free on that Disk.

And setuperr.log has lots of these:

Failed to find driver file path.

And lots of:

2013-02-18 21:04:36, Error [0x08030a] MIG UpgDoMigration caught exception: class Mig::CatalogException: Failed to write entry to file in CCatalog::WriteEntry: There is not enough space on the disk. [0x00000070] void __cdecl Mig::CCatalog::WriteEntry(class Mig::CCatalogEntry &)
 

Attachments

  • windowsUpdate.jpg
    windowsUpdate.jpg
    64.2 KB · Views: 5
Hi

Couple of questions
What Brand/Model PC?
Or if custom built the Brand and Model of the motherboard?

Is boot drive a platter or SSD drive?
If SSD is the firmware up to date?

Is the Sata controller set to ACHI/Raid mode or IDE(legacy) mode?

The reference to not enough disk space often means the install is using the wrong or no Sata controller driver and can't access the drive correctly, it can also mean is trying to install on the wrong partition(in the case of a OEM machine with a factory restore partition).
 
Hey,

All right, gave it another shot. After removing a ton of stuff to a different drive. Very strange since I had a ton of free space as it was. Oh well.

Attempted the Windows 7 Repair which worked on the 7th try (took awhile to get enough free space it seems) and then upgraded to Windows 8 Pro.

Windows 8 Installed fine. :) Now a lot of stuff (firewall, antivirus, ramdisk, a bunch of custom drivers, printer, and almost all device drivers) is broken but better than starting from strach.

Will let you know how it goes.

BTW it's a custom build with GIGABYTE GA-X58A-UD3R Rev 1.0 and Mushkin Enhanced Chronos Deluxe MKNSSDCR240GB-DX SSD (Mushkin Enhanced Chronos Deluxe MKNSSDCR240GB-DX Solid State Drive - Newegg.com).

Running in ACHI mode.

Thanks a lot everyone!

Will
 
Very strange since I had a ton of free space as it was.

Shell properties dialog is never going to be 100% accurate, and that is the mistake that people make. Part of that "free" space is actually space that is assumed to be free after it gets deleted and replaced by other temporary data/information on your hard drive. Have you ever used a program like Recuva? How do you think they work? (Hint: The program doesn't have a crystal ball that guesses what files you had deleted on your system. The information still exists on your hard drive in an unusable state, and eventually is replaced by newer information. Lots of the former information though, is floating around in the middle of nowhere and eventually is lost after some filesystem activity.)

Also, when doing an upgrade install, you need a tiny bit more space than the usual if you were to do a full (Custom) install, which is what I would personally recommend. None of this upgrade stuff...

If you want to be fooling around with important dynamic link libraries on your system like user32.dll and others, then I would suggest that you backup your system via an Image; something that maybe 30-50% of Windows 7 users know about, and only 10% actually make use of. It's a shame because it is a really valuable asset to be able to create Windows 7 images.

Attempted the Windows 7 Repair which worked on the 7th try (took awhile to get enough free space it seems) and then upgraded to Windows 8 Pro.

Windows 8 Installed fine. :) Now a lot of stuff (firewall, antivirus, ramdisk, a bunch of custom drivers, printer, and almost all device drivers) is broken but better than starting from strach.

"better than starting from *scratch." I wouldn't be so sure... Being resilient to just making a clean install can lead to more troubles than it is worth lots of the time. Especially with a system state like you had prior to the upgrade.

Good luck though! If you are happy with the way it is then to each their own. If you run into problems though don't say we didn't warn you :lol:
:beerchug2:

~Ace
 
Last edited:
Hey,

Well, I plan on doing a clean install when I have the time to do so.

For now I just need it "to work correctly" at the moment.

I know upgrading never works out perfectly.

I'm making use of images already and in fact I am using Windows Deployment Services here at work on Windows Server 2008 R2 and soon enough Windows Server 2012.

I've also created backup images using True Image 2013. I also backup everything to other drives and to CrashPlan.

I could have recovered from the mess pretty easily but instead I wanted to attempt it to see how it went, been awhile since I attempted an upgrade.

Will play around with it for awhile to see what really broke and what needs fixing and if too much of a hassle then yea I will sooner than later do a clean install and just start all over.

But than likely thought most stuff will be just fine for a limited time period before I do the clean install.

Thanks for the advice, I plan on following it soon.

Thanks,

Will
 
Well, good to hear that things are working out for you so far anyways. :)

You shouldn't need an external application/program for image backups though. Windows 7 provides that feature as part of the OS itself, in the backup services. You may have already seen notifications about it from the Action Center.

Hope you stick around Sysnative though regardless. There's great people here and you never know when one of the experts in a particular aspect of Windows itself or general computers can help you out. :thumbsup2:

cheers.gif
 
Hey,

I indeed plan on sticking around. :)

Sadly I have had to restore my backup image, so back on my "broken" Windows 7.

Why you ask? Well everything was great until I rebooted today. "Blue Screen" with some BS error about not being able to Load Windows.

None of the repair options worked either. I managed to get to the root cause which was "Corrupted Registry". Awesome!

So Windows 8 somehow corrupted it's own registry. Tried to do a system restore and it failed too. Tried 6 times. Wow! Did a scan disk and passed with flying colors.

Tried everything I could, but I could not get passed it. Pissed off, so decided to go back to my "working" Win7 build.

Well I tried. I hate Windows 8!

Not where near ready from what I can tell. Oh well! Same old same old Microsoft. Every other build of Windows is great while that one between blows. Think Windows Me and Vista.

Well each their own, I'm going no where near Windows 8. Will see what Windows Blue turns out to be. Until then, no thanks!

So wasted a few days of my time and I'm back to square 1. Oh well, happy enough with my corrupted Win7 build at moment.

One of these days I'll do a clean reinstall of Windows 7.

Oh and speaking of imaging. Yeah I know about that feature in Windows. I do NOT trust it. Every, every, Microsoft "restore" or "image" product I have tried has always failed me when I need it the most. So no thanks!

True Image has never failed me and once again it worked perfectly as expected.

Thanks again,

Will
 
Hey,

I indeed plan on sticking around. :)

Sadly I have had to restore my backup image, so back on my "broken" Windows 7.

Why you ask? Well everything was great until I rebooted today. "Blue Screen" with some BS error about not being able to Load Windows.

None of the repair options worked either. I managed to get to the root cause which was "Corrupted Registry". Awesome!

So Windows 8 somehow corrupted it's own registry. Tried to do a system restore and it failed too. Tried 6 times. Wow! Did a scan disk and passed with flying colors.

Tried everything I could, but I could not get passed it. Pissed off, so decided to go back to my "working" Win7 build.

Well I tried. I hate Windows 8!

Not where near ready from what I can tell. Oh well! Same old same old Microsoft. Every other build of Windows is great while that one between blows. Think Windows Me and Vista.

Well each their own, I'm going no where near Windows 8. Will see what Windows Blue turns out to be. Until then, no thanks!

So wasted a few days of my time and I'm back to square 1. Oh well, happy enough with my corrupted Win7 build at moment.

One of these days I'll do a clean reinstall of Windows 7.

Oh and speaking of imaging. Yeah I know about that feature in Windows. I do NOT trust it. Every, every, Microsoft "restore" or "image" product I have tried has always failed me when I need it the most. So no thanks!

True Image has never failed me and once again it worked perfectly as expected.

Thanks again,

Will

You can't hate, nor blame Windows 8 for this. Here's why I said:
"better than starting from *scratch." I wouldn't be so sure... Being resilient to just making a clean install can lead to more troubles than it is worth lots of the time. Especially with a system state like you had prior to the upgrade.

Good luck though! If you are happy with the way it is then to each their own. If you run into problems though don't say we didn't warn you

And don't forget it :).

You started Windows 8 from an upgrade from Windows 7, you didn't do a full custom install as per what was recommended.

:beerchug2:
 
Hey,

I know, but Upgrading is suppose to just work and the user expects it to just work. ;)

If not really recommended then it should not even be an option. :p

Well it did better than Ubuntu upgrades. What a nightmare that is. Almost always breaks something major. Ugh!

Oh well, to each their own!

cya,

Will
 
I know, but Upgrading is suppose to just work and the user expects it to just work.

That is the problem with lots of computer users. They assume things are always just supposed to work lol. If this was reality in an ideal world perhaps this is the way everything would work, but we still get problems like this, and BSOD's still occur, processor deadlocks, freezes, hard drive corruption... List goes on. :)

If not really recommended then it should not even be an option.

I didn't say it was not recommended, but for the state that your computer was in before the upgrade, I would not recommend it. If your computer is fine, and you want to upgrade, then this is the option I would go with, but if you are choosing to "re-install" or "upgrade" an OS because of issues, it's best to start clean.
 
I indeed agree completely. Just a tough choice when you really do NOT have the time to start over.

Hell and next year is going to be out of the question too.

Afghanistan here I come!

So yeah my computers are going to be my very last priority shortly I'm afraid.
 
No time like the present then to make your computer work for you for a change. ;) Just do it and get it behind you?
 
Well like most nights I'm lucky if I have time for an hour of free time.

That's what happens when you work 12.5 hour shifts which in reality are 18 hours.

Really think I have time or want to take the time to play with the computer? :p

Pretty sure people are more important. Hell even the 3 dogs are.

Think I got my priorities right. ;)
 
Not really thinking you should change your priorities, but maybe shift a little for a single night or two because your computer sounds like it is very sick and needs that attention. Just a thought.

If you can't, totally understand.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top