When your Windows computer refuses to boot, panic usually sets in.

But before you wipe the hard drive or throw in the towel, the Windows-command line has a powerful set of tools built specifically for emergency rescue, partition management, and file system repair.

Best of all?

You can access all of them even if your operating system completely fails to load, simply by booting from a Windows installation USB or recovery media.

The Emergency Windows Toolkit

Here are four essential commands you can use to diagnose, fix, and rescue a broken system:

1. Diskpart (Disk Partition Tool)

Quick Overview of How Diskpart Works:

2. Chkdsk (Check Disk — The Windows fsck)

3. Fsutil (File System Utility)

4. Mkdir (Make Directory)

How to Access These Tools When Your PC Won’t Boot

If your computer is stuck in a boot loop or shows a “Blue Screen of Death” (BSOD) before reaching the desktop, follow these steps to access your command-line rescue suite:

  1. Boot from Media: Insert a Windows Installation USB or CD/DVD and turn on your PC (press F12, F11, or Del during startup to open your boot selection menu).
  2. Open Command Prompt:
    • On the Windows Setup screen, click Next, then click Repair your computer in the bottom-left corner.
    • Go to Troubleshoot > Advanced options > Command Prompt.
    • (Pro tip: On almost any Windows Setup screen, you can press Shift + F10 to instantly launch a Command Prompt window).
  3. Run Your Rescue Commands:
    • Use diskpart to inspect drive assignments (list volume or list disk).
    • Use chkdsk C: /f to fix partition errors on your system drive.
    • Use mkdir and file transfer commands (copy / xcopy) to save essential data to an external drive.

Conclusion

Next time a Windows machine refuses to start, don’t rush straight to a clean reinstall.

Keeping tools like Diskpart, Chkdsk, Fsutil, and Mkdir in your mental toolkit

alongside a bootable Windows USB—turns a terrifying crash into a manageable repair task.

How to open it: Open Command Prompt or PowerShell, type diskpart, and hit Enter.

This opens a dedicated DISKPART> command prompt.

Common commands:

Modern alternative: Windows also features advanced storage cmdlets in PowerShell (like Get-Disk and Format-Volume), but Diskpart remains the classic, built-in terminal tool.

Geef een reactie

Ontdek meer van Maikel van Esdonk

Abonneer je nu om meer te lezen en toegang te krijgen tot het volledige archief.

Lees verder