Windows Stuck at Loading Files? Fixes That Work
In this article
- What “Loading files…” Actually Means
- Why It Happens: Common Causes
- First Steps: Check the Easy Stuff
- How to Access Windows Recovery Environment
- Run Startup Repair (The First Fix to Try)
- Rebuild the BCD Manually
- Check for Disk Errors and File System Corruption
- Other Advanced Options
- Frequently Asked Questions
If your Windows PC is stuck at the “Loading files…” screen, the boot process has stalled before Windows itself starts. This usually points to a problem with the Boot Configuration Data (BCD), a failing hard drive, or a corrupted system file, and it can often be fixed by rebuilding the BCD or running startup repair from the Windows Recovery Environment.
What “Loading files…” Actually Means
The “Loading files…” message appears very early in the Windows boot sequence, before the spinning dots or the Windows logo. At this stage, the BIOS or UEFI firmware has already handed control to the Windows Boot Manager (BOOTMGR). BOOTMGR reads the Boot Configuration Data (BCD) to find the location of the Windows operating system files, then loads the winload.exe or winload.efi executable. If the process hangs here, it means BOOTMGR is either unable to read the BCD correctly, cannot access the disk, or the disk itself is failing.
Why It Happens: Common Causes
- Corrupted BCD: A bad update, improper shutdown, or a disk error can corrupt the BCD, leaving the boot manager without valid instructions.
- Failing hard drive or SSD: Bad sectors or failing firmware can prevent the boot files from being read, causing the system to hang.
- Recently changed hardware: Adding a new drive, changing SATA mode (IDE to AHCI), or reseating a drive can confuse the boot manager.
- File system corruption: Problems with the NTFS file system on the system partition can block access to boot files.
- Incorrect boot order: The system might be trying to boot from a USB drive or a second hard drive that doesn’t contain Windows.
First Steps: Check the Easy Stuff
Before diving into command-line repairs, try these quick checks:
- Disconnect all external drives (USB flash drives, external hard drives, SD cards) and restart. Sometimes the boot manager tries to read from a device that isn’t ready.
- Enter the BIOS/UEFI setup (usually by pressing Del, F2, F10, or Esc during startup) and check the boot order. Make sure the drive containing Windows is first.
- If you recently changed SATA mode in the BIOS (e.g., from IDE to AHCI), switch it back and see if that resolves the issue.
- Reseat the internal drive if you’re comfortable opening the case. A loose SATA or power cable can cause exactly this symptom.
How to Access Windows Recovery Environment
You’ll need the Windows Recovery Environment (WinRE) to run the fixes below. If you have a Windows installation USB or recovery drive, insert it and boot from it, then choose “Repair your computer” instead of “Install now.” If you don’t have one, you can create a recovery drive on another working Windows PC using the “Create a recovery drive” tool (search for it in the Start menu).
If your PC has a hidden recovery partition, it may automatically load WinRE after two failed boot attempts. If not, you’ll need the USB media.
Run Startup Repair (The First Fix to Try)
Startup Repair is Windows’ automated tool that can fix many boot issues, including a corrupted BCD. Here’s how to run it:
- Boot from your Windows installation USB or recovery drive.
- Click “Next” on the language screen, then click “Repair your computer” in the bottom-left corner.
- Select “Troubleshoot” → “Advanced options” → “Startup Repair.”
- Choose your operating system (usually “Windows 10” or “Windows 11”).
- Wait for the repair to complete. It may take several minutes. If it fails, you’ll see a message; you can try it twice more, but if it doesn’t work, move on to the manual fixes below.
Rebuild the BCD Manually
If Startup Repair doesn’t work, the BCD is likely corrupted beyond what the automated tool can fix. You can rebuild it manually using the command prompt:
- In the Recovery Environment, go to “Troubleshoot” → “Advanced options” → “Command Prompt.”
- Type the following commands, pressing Enter after each one:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
If you get an “Access is denied” error when running bootrec /fixboot, run this command instead:
bootsect /nt60 sys
Then restart your PC. If the BCD was the problem, Windows should now boot normally.
Check for Disk Errors and File System Corruption
If rebuilding the BCD doesn’t help, the issue may be a failing drive or corrupted file system. From the same Command Prompt, you can run:
chkdsk /f /r C:
This will check the C: drive for bad sectors and file system errors. It may take a long time (30 minutes to several hours) and will attempt to repair any issues it finds. If chkdsk reports that it cannot access the drive or finds extensive physical damage, the drive may be failing, and you should back up your data immediately if you can (you may need to remove the drive and connect it to another computer).
Other Advanced Options
- System Restore: In the Recovery Environment, “System Restore” can roll back recent system changes (like a bad driver or update) that might be causing the boot failure.
- DISM and SFC: If you can boot into Safe Mode (or if you can access the command prompt from the recovery environment), you can run
DISM /Online /Cleanup-Image /RestoreHealthfollowed bysfc /scannowto repair corrupted system files. - Reset this PC: As a last resort, “Reset this PC” (from the recovery environment) will reinstall Windows while keeping your personal files (choose “Keep my files”). This will fix almost any software-related boot issue, but it will remove installed apps and drivers.
Frequently Asked Questions
Will I lose my files if I run these fixes? No. The commands bootrec, chkdsk, and Startup Repair do not touch your personal files. They only repair boot files and disk errors. Only “Reset this PC” with the “Remove everything” option will delete your files, and that’s a choice you make.
What if I don’t have a Windows installation USB? You can create one on any working Windows PC using the official Media Creation Tool from Microsoft’s website. You’ll need a USB drive with at least 8GB of space. Alternatively, you can use a recovery drive created on another PC (search “Create a recovery drive” in Windows).
Why does it get stuck at “Loading files…” but not on the Windows logo? Because the failure happens before the Windows kernel is loaded. The boot manager can’t find or read the necessary files, so it never gets to the point of showing the Windows logo. This points to BCD issues, disk problems, or a hardware connection issue.
Can a BIOS update fix this? Sometimes. If the issue is caused by a UEFI firmware bug or an incompatibility with a new drive, updating the BIOS/UEFI (from the manufacturer’s website) can help. However, it’s not the first thing to try, and a BIOS update carries a small risk of bricking the motherboard if done incorrectly.
How do I know if my hard drive is failing? If you can get to the Command Prompt, run chkdsk /f /r C:. If it reports “unrecoverable errors” or the drive makes clicking or grinding noises, it’s likely failing. You can also check the SMART status in the BIOS (usually under “Storage” or “Drive Information”). If the drive is failing, replace it and reinstall Windows.
Is it worth trying to fix it myself, or should I take it to a shop? If you’re comfortable with command-line tools and following instructions, try the steps above. They are safe and won’t make things worse. If you’re not comfortable, or if the drive appears to be failing, a professional repair shop can help recover data and repair the boot issue, though it will cost more.