Fix Corrupted Windows in One Click 😳 Custom WinPE CMD Toolkit
Windows will not boot or keeps crashing? Repair it offline from a WinPE USB with a CMD toolkit — find the real drive letter, run chkdsk, SFC and DISM offline, and rebuild the boot files with bcdboot.
📑Chapters
- When Windows will not boot or keeps crashing — why the repair is done offline
- Booting the PC from the Custom WinPE CMD Toolkit USB
- Finding the real Windows drive letter with diskpart and dir
- Fixing disk errors with chkdsk
- Repairing system files with SFC in offline mode
- Repairing the Windows image with DISM in offline mode
- Rebuilding the boot files with bcdboot and restarting the PC
📋 Overview & Step-by-Step Guide
Boot from the WinPE CMD Toolkit USB
When Windows is corrupted, the repair cannot be done from inside the broken system — it is done offline. Plug the Custom WinPE CMD Toolkit USB into the PC, open the boot menu at startup and boot from the USB. Once the WinPE environment loads, open the Command Prompt from the toolkit. Every repair command below runs from this prompt.
Find the Real Windows Drive Letter
Inside WinPE, drive letters are not the same as in normal Windows — the letter you know as C: often appears as D:, and X: is the WinPE RAM drive itself. First list every volume:
diskpart
list volume
exit
Then confirm the letter by checking its contents — the correct drive is the one that contains the Windows folder (in this video, D:):
dir D:\
dir first — every command below uses the letter you confirmed here (shown as D:), so replace it with your real letter if it differs.Fix Disk Errors with chkdsk
With the drive letter confirmed, run Check Disk on the Windows partition. The /f switch fixes file-system errors it finds — a common cause of a Windows that crashes or refuses to boot:
chkdsk D: /f
Let the scan finish completely before moving on — interrupting a disk fix can leave the file system in a worse state.
Repair System Files with SFC Offline
Next, the System File Checker repairs corrupted or missing Windows system files. Because Windows itself is not running, SFC must be pointed at the offline installation with the /offbootdir and /offwindir switches:
sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows
The plain sfc /scannow form only works when Windows itself is running — inside WinPE the offline form above is the one that repairs the installed system.
Repair the Windows Image with DISM Offline
If SFC cannot fix everything, repair the Windows component store itself with DISM, again aimed at the offline image on D::
dism /image:D:\ /cleanup-image /restorehealth
DISM checks the offline Windows image for corruption and restores healthy components. This step can take a while — let it reach 100% before continuing.
Rebuild the Boot Files with bcdboot
Finally, rebuild the boot files so the repaired Windows can actually start. bcdboot copies the boot files from the Windows folder and recreates the boot configuration:
bcdboot D:\Windows
Wait for the "Boot files successfully created" message before you restart.
Restart the PC
Close the Command Prompt, remove the WinPE USB and restart the PC. With the disk errors fixed, system files repaired, the image restored and the boot files rebuilt, Windows should now boot normally again.
dir, then chkdsk, SFC offline and DISM offline — before trying anything more drastic. Each step fixes a different layer, and skipping one often leaves the real fault in place.🏷️Topic Search Variables & Keywords
🎙️ Full Transcript — tap to expand
Note: the source tutorial page for this video carries a short description instead of a full spoken transcript.
Step-by-Step Troubleshooting Guide & Solutions — Fix Corrupted Windows in One Click 😳 Custom WinPE CMD Toolkit. On-screen demonstration by Technical Anshu.
Windows will not boot or keeps crashing? Repair it offline from a WinPE USB with a CMD toolkit — find the real drive letter, run chkdsk, SFC and DISM offline, and rebuild boot files with bcdboot.
(transcript ends here on the source page)
❓ Frequently Asked Questions
Is this tutorial 100% free to follow?
Yes! All guides and methods demonstrated by Technical Anshu use free, legal, and educational resources.
Can beginners follow this guide?
Absolutely! Every step is demonstrated on-screen with detailed instructions so anyone can follow along easily.
Where can I ask questions if I get stuck?
Leave a comment directly on the YouTube video, and our community and Technical Anshu will help you out.
🚀 Watch the Full Tutorial on YouTube
🚀 Watch the full step-by-step video tutorial on YouTube: https://www.youtube.com/watch?v=LT1GJ1c9rBI
Subscribe to Technical Anshu for IT support, Windows troubleshooting, and server management.
▶️ Watch Full Video