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

gregrocker

New member
Guru
Local time
7:59 AM
Messages
50,634
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?
 
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 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)
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?
 
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 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 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?
 
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 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)
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 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)
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 Computer

OS
Win7 Pro 32bit
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Build #1
OS
Windows 8.1 Pro x64
CPU
Intel i7 3770K @4.5GHz
Motherboard
ASUS P8Z77-V PRO
Memory
Corsair Vengeance 2x4GB DDR3 1600MHz Low Profile (White)
Graphics Card(s)
Gigabyte Radeon HD 7850 (2GB GDDR5)
Sound Card
Integrated on motherboard
Monitor(s) Displays
23" LG LCD/LED IPS
Screen Resolution
1920*1080
Hard Drives
Samsung EVO 128GB SSD
Seagate Barracuda 2GB 7200rpm
2x Seagate FreeAgent [500gb]
PSU
Corsair TX650W V2 (80+ Bronze)
Case
NZXT Phantom 410 White
Cooling
Corsair H100 Water Cooler
Keyboard
Microsoft Desktop 2000 Wireless Keyboard
Mouse
Microsoft Desktop 2000 Wireless Mouse
Internet Speed
95 Mb/s Download 70 Mb/s Upload
Antivirus
MSE + MBAM Pro
Browser
Firefox
Hey - I learned Windows when HKLM was a hive in itself!
:)

Not my fault they changed the goalposts again.
 

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)
Hey - I learned Windows when HKLM was a hive in itself!
:)

Not my fault they changed the goalposts again.

:roflmao:

Excuse my ignorance then, that predates me by quite a bit :p Wonder why they changed it...
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Build #1
OS
Windows 8.1 Pro x64
CPU
Intel i7 3770K @4.5GHz
Motherboard
ASUS P8Z77-V PRO
Memory
Corsair Vengeance 2x4GB DDR3 1600MHz Low Profile (White)
Graphics Card(s)
Gigabyte Radeon HD 7850 (2GB GDDR5)
Sound Card
Integrated on motherboard
Monitor(s) Displays
23" LG LCD/LED IPS
Screen Resolution
1920*1080
Hard Drives
Samsung EVO 128GB SSD
Seagate Barracuda 2GB 7200rpm
2x Seagate FreeAgent [500gb]
PSU
Corsair TX650W V2 (80+ Bronze)
Case
NZXT Phantom 410 White
Cooling
Corsair H100 Water Cooler
Keyboard
Microsoft Desktop 2000 Wireless Keyboard
Mouse
Microsoft Desktop 2000 Wireless Mouse
Internet Speed
95 Mb/s Download 70 Mb/s Upload
Antivirus
MSE + MBAM Pro
Browser
Firefox
That was back in the days of Win9x (and I might be getting confused anyhow - it's been years since I looked in a Win9x registry!)
 

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)
Cosmitz has a test bed with this exact "Bad Patch" boot failure he's willing to offer for testing fix surgeries from WinRe.

Would you want to guide him Noel (or anyone else with experience at this) to try deleting the last month's-worth of Updates and drivers?
 
I'm likely to be only periodically available over the next few days - whereabouts is he? (think time-differences)
 

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)
Duh! - it's bedtime! :)
I'll sleep on it and get back to you after looking at the thread.
 

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)
Back
Top