✅ System File Check ✅ DISM Health Restore ✅ CHKDSK Hard Drive Check ✅ Windows Update Repair ✅ Restore Point Creation ✅ Optional System Restore UI💾 How to Use:
1. Open Notepad
2. Paste the script below
3. Save as: Windows11_BSOD_Recovery.bat
4. Right-click > Run as Administrator
—
📜 Full Script: Windows11_BSOD_Recovery.bat
@echo off title Windows 11 BSOD Fix and OS Recovery Script color 1F
:: Step 3: Run System File Checker echo ► Running SFC (System File Checker)… sfc /scannow
:: Step 4: Run DISM Health Restore echo ► Running DISM scan to restore system health… DISM /Online /Cleanup-Image /RestoreHealth
:: Step 5: Run CHKDSK on C Drive echo ► Checking disk for errors (may require reboot)… echo Y | chkdsk C: /f /r
:: Step 6: Reset Windows Update (Common BSOD Trigger) echo ► Resetting Windows Update components… net stop wuauserv net stop bits net stop cryptsvc net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start bits net start cryptsvc net start msiserver
:: Step 7: Launch Device Manager for Driver Checks echo ► Opening Device Manager for driver updates… start devmgmt.msc
:: Step 8: Offer System Restore UI echo ► Opening System Restore panel (optional)… start SystemPropertiesProtection.exe