Recover Files from Blue Screen of Death: Step-by-Step
In this article
A blue screen of death (BSOD) stops Windows from loading, but your files are almost always still on the drive. The fastest safe route is to boot from a Windows installation USB, use the command prompt to copy your data to an external drive, or pull the drive and connect it to another PC. Do not reinstall Windows or run a factory reset until you have copied what you need, because those steps can overwrite the files you are trying to save.
What You'll Need
- A second working computer with internet access
- An empty USB flash drive (8 GB or larger) for the Windows installation media
- A second empty USB flash drive or external hard drive with enough free space to hold your files
- Your Windows product key or a Microsoft account linked to the PC (only needed if you later reinstall)
- Optional: a USB-to-SATA adapter or an external enclosure if you plan to remove the drive
Menu labels and wording can differ slightly between Windows versions, device manufacturers and regions, so treat the exact names below as a guide rather than a guarantee.
Step-by-Step
- Stop restarting blindly. If the BSOD appears every time you boot, note the stop code shown on the blue screen (for example CRITICAL_PROCESS_DIED). That code tells you whether the problem is hardware or software, and it helps you decide whether the drive itself is healthy.
- Try Safe Mode first. Restart the PC and interrupt the boot three times in a row by holding the power button until it shuts off. Windows should enter the Recovery Environment. From there choose Troubleshoot > Advanced options > Startup Settings > Restart, then pick Safe Mode. If Windows loads in Safe Mode, plug in your backup drive and copy your files normally using File Explorer. This is the least invasive method and works whenever the crash is caused by a driver or startup app.
- Use the Recovery Environment's command prompt. If Safe Mode does not load, return to Troubleshoot > Advanced options > Command Prompt. Type
diskpart, thenlist volumeand press Enter. Identify your Windows drive letter (it may not be C: in this environment) and your external drive letter. Typeexitto leave diskpart. - Copy your data with robocopy. At the command prompt, run a command such as
robocopy D:\Users\YourName E:\Backup /E /COPYALL /R:1 /W:1, replacing D: with your Windows drive and E: with your external drive. The /E switch copies subfolders, and the retry switches stop it hanging on a damaged file. Robocopy is built into Windows and is more reliable than drag-and-drop for large folders. - Check the copy finished. When robocopy reports completion, type
dir E:\Backupto confirm the folders are there. If you see errors about unreadable files, note their names and move on; you can attempt them individually later. - If the command prompt will not open, remove the drive. Power off completely, unplug the laptop battery if it is removable, and take out the internal drive. Connect it to another working PC using a USB-to-SATA adapter or enclosure. It should appear as a normal drive in File Explorer, and you can copy files across without any special tools.
- Only after backing up, repair or reinstall Windows. Use the installation USB you created with the Media Creation Tool from Microsoft's website. Choose Troubleshoot > Reset this PC only if you have already copied your files, because a reset can remove programs and personal data depending on the option you pick.
Common Mistakes
- Reinstalling Windows first. A clean install can overwrite the partition table and make recovery far harder. Always copy files before any repair or reset.
- Assuming the drive letter is C:. Inside the Recovery Environment, the Windows drive is often D: or E:. Running commands against the wrong letter can copy the wrong partition or fail silently.
- Using the same drive for backup. Copying files to another folder on the failing drive does not protect them and can worsen a failing disk.
- Ignoring the stop code. Codes like MEMORY_MANAGEMENT or INACCESSIBLE_BOOT_DEVICE point to different causes, and knowing which one you have saves hours.
- Forcing a failing drive to keep spinning. If you hear clicking or grinding, stop and consider professional data recovery rather than repeated copy attempts.
Tips
- Copy the most important folders first (Documents, Desktop, Pictures, Downloads) in case the drive degrades during the process.
- Use
robocopywith/XJto skip junction points and avoid loops in system folders. - Keep the laptop plugged in and avoid sleep during long copies.
- If the drive is BitLocker-encrypted, you will need the recovery key from your Microsoft account before you can read it from another PC.
- Test that copied files open before you wipe or reinstall anything.
Troubleshooting
If the Recovery Environment does not appear, your installation USB can serve as the boot device: create it on another PC using Microsoft's Media Creation Tool, boot from it, and choose Repair your computer instead of Install now. If the external drive is not detected in the command prompt, try a different USB port and run list volume again. If robocopy stops with access denied errors, the files may be locked by permissions; run the command prompt as administrator from the recovery menu, which it already is by default. If the drive is not visible at all in another PC, it may have failed physically; in that case, stop and seek professional recovery rather than continuing to power it on.
Frequently Asked Questions
Are my files gone after a blue screen?
Almost never. A BSOD is usually a software or driver crash, and the data stays on the disk. The files are only at risk if you reinstall or reset before copying them.
Can I recover files without another computer?
Yes, if you can reach the Recovery Environment's command prompt or Safe Mode. You still need a separate USB drive or external disk to copy the files onto.
Will Safe Mode let me copy files?
Usually yes. Safe Mode loads a minimal set of drivers, so File Explorer and USB drives generally work, and you can copy files normally.
What if the drive is encrypted with BitLocker?
You need the recovery key, which is stored in your Microsoft account or was saved when BitLocker was enabled. Without it, the files cannot be read from another PC.
Does a Windows reset delete my files?
The Keep my files option preserves personal files but removes apps and settings. The Remove everything option deletes personal files, so copy your data first regardless.
When should I stop trying and call a professional?
If the drive makes clicking or grinding noises, is not detected in any PC, or repeatedly disconnects during copying, stop. Further attempts can make physical damage worse.