"Our Administration will try to keep our sacred promise of Making Windows Bootable Again."
__ __ _ ______ _
| \/ \ \ / / __ ) / \
| |\/| |\ \ /\ / /| _ \ / _ \
| | | | \ V V / | |_) / ___ \
|_| |_| \_/\_/ |____/_/ \_\
MWBA (Make Windows Bootable Again) is an automated, technician-grade offline Windows boot repair, forensic verification, and triage platform. It unites offline registry auditing, EFI/BCD reconstruction, filter driver sanitization, cryptographic catalog store repair, donor system transplants, and Hyper-V pass-through VM smoke testing into a single resilient, bipartisan recovery workflow.
"When a frantic business owner charges through the shop door at 4:55 PM on a Friday sweating through their collar shouting:
'Windows says INACCESSIBLE_BOOT_DEVICE! I have no backups, payroll runs tomorrow morning, and itβs YOUR FAULT if my employees don't get paid if I don't have this back today!'
...there are no Democrats or Republicans in the repair bay.
There is only sheer adrenaline, cold coffee, quiet prayer, andMWBA.bat."
MWBA was engineered specifically for bench technicians, sysadmins, and repair shops facing non-bootable Windows systems where clean reinstallation or data loss is not an option. It systematically isolates the failure layer, performs targeted surgical fixes, and verifies bootability before you hand the machine back across the counter.
- π‘οΈ Two-Stage Safe Triage Workflow:
- Stage 1 (Non-Destructive Baseline): Audits BCD configuration, tests offline registry hive mountability, inspects WinSxS integrity, detects update rollback loops, and extracts crash forensics without modifying a single byte on the target disk.
- Stage 2 (Surgical Repair): Confirmation-gated repairs that execute only the specific fixes needed for the diagnosed failure.
- π Automated UEFI & BCD Reconstruction:
- Auto-discovers EFI System Partitions (ESP) across all connected disks.
- Replaces corrupted
{bootmgr}entries and reconstructs clean BCD stores using nativebcdbootinjection. - Surgically fixes BCD errors
0xc0000034,0xc000000e, and0xc0000098.
- π§Ή Rogue Filter Driver & Storage Sanitization (
0x7B):- Scans offline
SYSTEMregistry hives for orphaned third-partyUpperFiltersandLowerFilters(frequently left behind by uninstalled antivirus, EDR, or disk filter drivers). - Automatically demotes missing or disabled critical boot drivers to resolve
INACCESSIBLE_BOOT_DEVICE.
- Scans offline
- π System Restore Loop Disarmament:
- Cleans stalled
DelayedOperationsandFRStagingregistry locks left behind after an interrupted or crashed Windows System Restore. - Resets
RestoreContinuationStateflags in theSOFTWAREhive to break endless rollback loops.
- Cleans stalled
- π Cryptographic Catalog & CatRoot Repair (
0xC000021A):- Audits and repairs damaged
CatRootandCatRoot2databases. - Resolves
0xC000021A / STATUS_INVALID_IMAGE_HASHboot loops caused by desynchronized catalog signatures.
- Audits and repairs damaged
- 𧬠Surgical Donor Drive Transplants:
- Allows transplanting verified catalog stores, clean system binaries (
smss.exe,winlogon.exe,ntoskrnl.exe), and boot driver hives from a healthy donor/reference drive.
- Allows transplanting verified catalog stores, clean system binaries (
- π Scientific Reinstall Scoring & Stop-Loss Advisory:
- Calculates an objective Reinstall Score (0β100) based on WinSxS corruption, hive damage, and pending transaction states.
- Tells technicians honestly when a system is salvageable versus when continuing to troubleshoot will waste shop hours.
- π₯οΈ Isolated Hyper-V VM Smoke Testing:
- Boots the physical offline customer disk inside a sandboxed Gen 2 Hyper-V virtual machine with Secure Boot enabled.
- Validates complete OS bootability to the Windows login screen without risking host BSODs or rebooting your bench workstation.
- π΅οΈ Pre-Flight Forensic Log Collection:
- Exports minidumps,
MEMORY.DMP,ntbtlog.txt, and offlineSystem.evtxlogs before any repair steps touch the drive.
- Exports minidumps,
- β‘ 100% Native Scripting (Zero AV False Positives):
- Pure PowerShell and Batch. Zero compiled
.exebinaries, zero third-party wrappers, and zero false-positive alerts from Defender or enterprise EDR. - Injects C# P/Invoke routines to acquire
SeBackupPrivilege,SeRestorePrivilege, andSeTakeOwnershipPrivilegeon the fly.
- Pure PowerShell and Batch. Zero compiled
| Zone | Failure Code | Culprit | MWBA Resolution |
|---|---|---|---|
| Zone 1: Bootloader & EFI | 0xC000000E0xC00000340xC0000098 |
Corrupt BCD, missing {bootmgr}, corrupted ESP partition |
Native bcdboot injection, clean BCD rebuild, dual-boot entry injection via Fix-BCDError34.ps1 or Add-DualBootEntry.ps1. |
| Zone 2: Kernel & Storage | INACCESSIBLE_BOOT_DEVICE(0x0000007B) |
Missing storage controller drivers, rogue disk filter drivers | Filter driver sanitization (UpperFilters/LowerFilters), driver start alignment from donor via Sync-BootDrivers.ps1. |
| Zone 3: User Subsystem | 0xC000021ASTATUS_INVALID_IMAGE_HASH |
Empty CatRoot/CatRoot2, pending restore queue, desynchronized smss/csrss |
Fix-FailedSystemRestore.ps1 and Restore-FromDonorDrive.ps1 for cryptographic catalog database restoration. |
| Tool | Purpose | Key Parameters |
|---|---|---|
MWBA.bat / MWBA.ps1 |
Master two-stage orchestrator (non-destructive baseline & surgical repair) | -OfflineWindowsDrive, -DryRun, -AutoConfirmStage2 |
Fix-BCDError34.ps1 |
Surgical BCD error 0xc0000034 rebuilder (auto-discovers ESP, clears locks, runs bcdboot) |
-TargetWindows, -Force |
Fix-FailedSystemRestore.ps1 |
Disarms pending restore queues, cleans SOFTWARE hive restore flags, audits CatRoot2 | -TargetDrive, -Force, -LogFile |
Collect-BootLogs.ps1 |
Post-boot forensic analyzer (minidumps, MEMORY.DMP, ntbtlog.txt, System.evtx, subsystem binaries) | -TargetDrive, -OutputFile, -BitLockerKey |
Collect-BCDDiagnostics.ps1 |
Comprehensive UEFI/ESP & BCD health diagnostics, checks bootloader files & VSS snapshots | -TargetDrive, -OutputFile |
Restore-FromDonorDrive.ps1 |
Surgical transplant of cryptographic catalogs, system binaries, and hives from reference drive | -DonorDrive, -TargetDrive, -ReplaceHives |
Sync-BootDrivers.ps1 |
Audits boot driver binaries, demotes missing drivers, aligns start types, purges rogue filters | -TargetDrive, -DonorDrive, -DemoteMissingDrivers |
Audit-BootDrivers.ps1 |
Deep driver & registry safety auditor with assessment grading (A-F), undo exports, and native -SxSTrace |
-Target, -DryRun, -Apply, -SxSTrace |
Restore-OfflineRegistry.ps1 |
Restores offline registry hives (SYSTEM, SOFTWARE, etc.) from VSS shadow copy snapshots | -OfflineDrive |
Set-BootMode.ps1 |
Configures BCD for Normal clean boot or Safe Mode with Networking (-Mode Normal / SafeNetwork) |
-TargetDrive, -Mode, -DisableBootLog |
Add-DualBootEntry.ps1 |
Bridges target Windows installation into host/reference EFI bootloader menu | -HostDrive, -TargetDrive, -TimeoutSeconds |
Test-BootInVM.ps1 |
Boots physical disk inside an isolated Gen 2 Hyper-V VM with Secure Boot and auto-cleanup | -DiskNumber, -VmName, -RamMB |
Double-click or run from an administrative terminal:
MWBA.bat(Automatically requests UAC elevation, enables backup privileges via C# P/Invoke, and launches MWBA.ps1)
Audit an attached non-booting drive without modifying any files or registry hives:
powershell.exe -ExecutionPolicy Bypass -File .\MWBA.ps1 -DryRunpowershell.exe -ExecutionPolicy Bypass -File .\MWBA.ps1 -OfflineWindowsDrive E:powershell.exe -ExecutionPolicy Bypass -File .\Fix-BCDError34.ps1 -TargetWindows E:\Windowspowershell.exe -ExecutionPolicy Bypass -File .\Fix-FailedSystemRestore.ps1 -TargetDrive E:powershell.exe -ExecutionPolicy Bypass -File .\Collect-BootLogs.ps1 -TargetDrive E:MWBA is an engineering scalpel and an objective bench triage platform, not magic snake oil. In modern Windows (10/11), understanding the boundary between repairable and non-repairable failures saves hours of wasted bench time:
- Zone 1 (UEFI & BCD): Reconstructs corrupted EFI System Partitions, replaces broken
{bootmgr}, and resolves errors0xc0000034,0xc000000e, and0xc0000098. - Zone 2 (Storage & Drivers): Sanitizes rogue filter drivers (
UpperFilters/LowerFiltersleft behind by uninstalled security agents) and demotes missing boot drivers soINACCESSIBLE_BOOT_DEVICE (0x7B)halts stop. - Restore Loops: Disarms corrupted
DelayedOperationsqueues andFRStaginglocks from failed Windows System Restores. - Forensic Extraction: Safely exports minidumps,
MEMORY.DMP,ntbtlog.txt, and system event logs before any disk modification.
- Zone 3 (WinSxS Subsystem Collapse & 0xC000021A): Modern Windows 11 binds
ntdll.dll,csrss.exe, andwinlogon.exeto an interdependent graph of 50,000+ WinSxS assembly manifests verified by Code Integrity (CI). If an update fails mid-transaction or hashes desynchronize, Windows kernel deliberately triggers0xC000021A. No offline script on earth can re-link the global WinSxS dependency graph. - The Stop-Loss Mandate: If MWBA reports a high Reinstall Score, stop wasting technician hours. Back up
C:\Users, apply a clean image via DISM (/Apply-Image), or clone a reference disk.
MWBA deliberately avoids compiling scripts into .exe wrappers:
- 100% Transparent: Every line of PowerShell is open, readable, and auditable before touching a customer's drive.
- Zero AV False Positives: Third-party wrapper executables (e.g.
ps2exe) frequently trigger false-positive malware alarms in Windows Defender and enterprise EDR. - Single Entry Point:
MWBA.batprovides full UAC auto-elevation and launchesMWBA.ps1with a single double-click.
MWBA functions as both an independent repository and an On-Demand module for WINTools:
- Sibling Discovery: If cloned into
..\MWBAadjacent toWINTools,winbootdoctor.ps1automatically detects and uses it. - Portable USB / On-Demand Cache: Can be pre-staged in
WINTools\cache\bench_tools\mwba. - Zero Host Pollution: Adheres to technician bench sterility contracts.
Neither. MWBA is proudly fielded by the Independent Bench Technician Coalition.
We represent the unsung heroes working under flickering fluorescent shop lights who don't care what side of the aisle you sit on β as long as your NVMe drive initializes at POST.
- Strict Term Limits on MBR: Legacy BIOS had an honorable run, but it is high time to step aside for UEFI and GPT.
- Separation of Antivirus and Kernel: No third-party filter driver shall infringe upon the storage controller's constitutional right to mount
C:\. - Bipartisan BCD Reconstruction: Blue Screen of Death or Black Screen of Death, we heal them with equal vigor and zero prejudice.
- Our Only Special Interest Group: You. Specifically, you trying to escape the shop and make it home for dinner on a Friday night.
Scholars, bench technicians, and bipartisan IT committees have long debated how to speak its name:
- "MOO-bah" (
/ΛmuΛ.bΙΛ/) β Favored in Midwestern repair shops and suburban computer stores. - "M-WAH-bah" (
/ΙmΛwΙΛ.bΙΛ/) β The sophisticated coastal enterprise consultant dialect. - "EM-DUBYA-BEE-AY" β The formal, C-suite executive briefing cadence.
- "MAH-wubba" β What you mumble under fluorescent bench lights at 3:14 AM when Error
0xc0000034refuses to yield.
Regardless of how you pronounce it, corrupt BCD hives and orphaned filter drivers fear it all the same.
- Executive Order 0x7B β Deportation of Rogue Filter Drivers:
Rogue antivirus hooks, corrupted
UpperFilters, and orphanedLowerFilterspreventing storage controller initialization (INACCESSIBLE_BOOT_DEVICE) are promptly sanitized and quarantined. - The Bipartisan EFI Re-Authorization Act:
Reconstructs
{bootmgr}, reinstalls clean UEFI bootloader files viabcdboot, repairs corrupted BCD objects, and resolves errors0xc000000eand0xc0000034. - The CatRoot Cryptographic Security Accord:
Restores cryptographic catalog databases (
CatRoot&CatRoot2) to end0xC000021A / STATUS_INVALID_IMAGE_HASHboot loops and sync desynchronizedwinlogon/smsssubsystems. - The Failed System Restore Disarmament Treaty:
Disarms pending
DelayedOperationsqueues,RestoreContinuationStateflags, andFRStagingartifacts left behind after an interrupted or corrupted Windows System Restore. - Border Security for the Boot Sector (Hyper-V Smoke Testing): Never return a customer drive on faith. MWBA boots physical offline drives inside a sandboxed Gen 2 Hyper-V VM with Secure Boot enabled to guarantee bootability without crashing your host bench machine.
Yes. MWBA is designed to run in offline repair environments, WinPE recovery drives, external USB docks, and secondary bench repair systems. It requires only PowerShell 5.1+ and native Windows command-line utilities (bcdboot, bcdedit, reg, dism).
Field observations, technician rescue stories, and recovery diagnostics are hosted on GitHub Discussions:
(Note: MWBA is independent, free open-source software provided as-is without individual, 1-on-1 technical support. Technicians and administrators are encouraged to collaborate and share field notes in the discussion forum).
MWBA is 100% free and open source.
If this toolkit helped recover an unbootable system, rescued an emergency payroll drive, or saved you hours of manual bench troubleshooting, consider buying a coffee or sponsoring development:
MWBA is licensed under the MIT License.
Copyright (c) 2026 Remarkable PC / J. David Hewitt.