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: Boot failure due to "bad patch" - need fix collaborators

16 Mar 2013   #1
gregrocker

 
Boot failure due to "bad patch" - need fix collaborators

Over time here we've learned that the most fatal and irreparable cause of Win7 failure to boot is labeled by Startup Repair as a bad patch. As it's often reported by OP as having been Windows Update or a driver just installed I'm wondering if there is some last-resort surgery that can be done when all other known repairs solutions fail.

I am testing right now if all recent content of System32/drivers can be backed up and then deleted in Windows Recovery console using Copy & Paste - in Windows Recovery Console. If the fatal driver is gone my thinking is that Win7 might start and reload all drivers from Driver Store.

I'd also like to test if recently installed Updates can be backed up and deleted from their install location similarly using a boot disk. I realize this is fraught with danger and merely is experimental to save an installation in which all else has been tried and hope lost.

Can any Updates experts suggest where exactly to look and what to include to get the latest Updates? Any predictions on efficacy, or other ideas to save installs that won't boot on this error?


My System SpecsSystem Spec
.
17 Mar 2013   #2
NoelDP

Microsoft Community Contributor Award Recipient

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

Beware of relying on file dates for anything in the System32 structure - the apparent dates may be vastly different from the installed dates, and some of the files are dynamic as well.

If the problem is truly 'failed updates' check the softwaredistribution\ folders to see what's there - it should give some clues, and the dates will be more reliable.
My System SpecsSystem Spec
17 Mar 2013   #3
gregrocker

 

Is it even conceivable to delete the latest updates from these folders from WinRE, and how would you go about that Noel?

I understand some registry keys are toggled during install of these updates which aren't populated in the Updates folder, but will having the update itself gone give it a chance to start?
My System SpecsSystem Spec
.

17 Mar 2013   #4
NoelDP

Microsoft Community Contributor Award Recipient

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

Messing around with the Winsxs folder isn't to be recommended in general - the drivers folder is a bit different, as it does have backups.

I would **never** delete stuff - renaming it is acceptable and easy to do from RE, since it seems basically to ignore permissions (you can easily replace/delete/rename files owned by TrustedInstaller at least, without having to mess with permissions)

<thinking aloud>
All updates will make significant changes to the COMPONENTS registry hive - it may be worth copying that to a working machine and loading it to examine the changes there using something like RegScanner (NirSoft) which can search by modification date.
You could then compare the file structure found with what's supposed to be present according to the hive.
(Arduous work but I suppose it could be semi-automated?)

</thinking - it hurts too much <g/>
My System SpecsSystem Spec
17 Mar 2013   #5
gregrocker

 

I know, that's why I've never gone there. But it would be nice to have a fix for "Bad Patch" which is the most common fatal Startup Repair condition.

To delete critical system drivers from sys32/drivers (accidentally) in WinRe forces auto-repair that restores their shadow copy or from Driver Store. Hence wanting to use the date to find the latest, to avoid deleting unnecessarily. However since not all are installed in /drivers it's a real can of worms.

OP would almost need to know the driver to research it's install location. Likewise Update?
My System SpecsSystem Spec
17 Mar 2013   #6
NoelDP

Microsoft Community Contributor Award Recipient

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

Many drivers will be referenced in the registry - either in
HKLM\SYSTEM\CurrentControlSet\Enum\Root
or in the Services key
again - searching by date could be productive there.
My System SpecsSystem Spec
17 Mar 2013   #7
gregrocker

 

From WinRe? Path?
My System SpecsSystem Spec
17 Mar 2013   #8
NoelDP

Microsoft Community Contributor Award Recipient

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

You'll have to import the hive into a working machine, I suspect.
The HKLM hive is a bit of a fun one..... C:\Windows\System32\config\SYSTEM would be the hive to load.
My System SpecsSystem Spec
18 Mar 2013   #9
Cosmitz

Win7 Pro 32bit
 
 

Sorry to bump in but in trying to get my old system up i spent a great deal of time with the System hive. While i did end up doing a reinstall after a good 90 torturous hours of debugging, it's plagued me so much that i'm halfwilling to go wild on it and try any and all conceivable things. I'll setup a testbed sometime this week and see if i can put to use any of the tips.

I've also found a few bootflag objects that might help forcing the system to start up driver-less, oddly while tweaking my new install, which i'll give a shot.

I really wish the MSDN would be a bit more technically inclined sometimes. Found great info on there that on occasions was dumbed down or partial.
My System SpecsSystem Spec
18 Mar 2013   #10
tom982

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by NoelDP View Post
You'll have to import the hive into a working machine, I suspect.
The HKLM hive is a bit of a fun one..... C:\Windows\System32\config\SYSTEM would be the hive to load.
HKLM isn't a hive, it's a root key handle; SYSTEM is the hive
My System SpecsSystem Spec
Reply

 Boot failure due to "bad patch" - need fix collaborators




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
External Hard Drive failure. "Bad disk" after power failure
Hi Everyone, I'm hoping to get some help. I had a power outage while my WD Elements 1.5 TB Hard drive was on. I wasn't accessing it but apparently that was enough. I had a lot of important data on it but losing hope after unsuccessful attempts to use PhotoRec to get items off it. It...
Hardware & Devices
Taking out IDE harddrive error "Disc boot failure, insert system..."
Hello im unsure where to place this thread. " Disc boot failure, insert system disc and press enter " Is the error i get after i took out an IDE 80GB HDD. The primary boot drive is a OCZ vertex 2 120GB. Somehow my pc will not boot unless the 80GB HDD is in. Im unsure how they are related so...
General Discussion
Boot failure - Hangs at "Verifying DMI pool data"
Hello all, I'm new & having a spot of trouble so I decided to ask for some help here after seeing many other similar issues resolved :) The current situation: I have 1 partition containing my windows 7 install, but it won't even get to the stage where I can select (e.g.) safe mode because it...
Hardware & Devices
sudden "disk boot failure". Drives not detected by BIOS
Hi all, Last night, my HTPC was happily working. However, the PC suddently froze and I had to manually force a shudown. Then, I tried to reboot and I got the following message: "disk boot failure insert system disk" I have 2 HDs and the BIOS and POST are not listing the HDs at all. I checked...
BSOD Help and Support
"Disk boot failure, insert system disk and press enter"
Pretty much what happened is that my powersupply got messed up one day and just turned off my computer and I couldn't boot it back up. I ordered a new PSU and I installed it but now when I boot my computer I'm getting "Disk boot failure, insert system disk and press enter". I've tried putting in...
General Discussion
BSOD with "usbhub.sys" and "driver power state failure"
I have been getting the BSOD since a few weeks and found out by trial and error that a USB-hub is causing the problem. Whenever I disconnect the hub before I shut off the computer I do not get the blue screen. Yesterday I also got a BSOD that mentioned driver power state failure. After I had...
BSOD Help and Support


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 21:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App