Windows 10 Won't Boot After Partition Resize: Fix
In this article
If Windows 10 won't boot after you resized a partition, the most common cause is that the boot configuration data (BCD) or the boot files on the system partition got corrupted or disconnected during the resize. The quickest fix is to use Windows 10's built-in Startup Repair from the recovery environment, and if that fails, manually rebuild the BCD using the command prompt. You'll need a Windows 10 installation USB or recovery drive to access these tools.
What You'll Need
- A Windows 10 installation USB drive (or a system repair disc) that matches your Windows version (32-bit or 64-bit). If you don't have one, you can create it on another working PC using Microsoft's Media Creation Tool.
- A second working computer to create the USB if needed.
- Basic familiarity with the command prompt (typing commands).
Step-by-Step
Step 1: Boot from the Windows 10 Installation USB
- Insert the USB drive into your PC and restart it.
- Press the boot menu key (usually F12, F2, Esc, or Del) repeatedly as the PC starts. The exact key varies by manufacturer – look for a brief on-screen message like "Press F12 for Boot Menu".
- Select your USB drive from the boot menu and press Enter.
- If you see "Press any key to boot from CD or DVD", press any key quickly.
- Choose your language and keyboard layout, then click Next.
- Click Repair your computer in the bottom-left corner (do not click "Install now").
Step 2: Run Startup Repair
- In the recovery environment, go to Troubleshoot > Advanced options > Startup Repair.
- Select your operating system (Windows 10) and wait for the repair to run. It may take 10–20 minutes.
- If it says "Startup Repair couldn't repair your PC", continue to the manual method below.
Step 3: Open Command Prompt
- Go back to Troubleshoot > Advanced options > Command Prompt.
- A black command window will open. Type the following commands one at a time, pressing Enter after each:
bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
- /fixmbr rewrites the master boot record.
- /fixboot writes a new boot sector.
- /scanos scans for Windows installations.
- /rebuildbcd rebuilds the boot configuration data.
If any command gives an error like "The system cannot find the path specified" or "Access is denied", note it and proceed – sometimes you need to run them in a specific order or after additional steps.
Step 4: If /fixboot Fails with "Access is Denied"
- In the same Command Prompt, type
diskpartand press Enter. - Type
list diskand press Enter. - Identify your system disk (usually Disk 0). Type
select disk 0(replace 0 with the correct number) and press Enter. - Type
list volumeand press Enter. Look for the volume labeled System Reserved or EFI (usually 100–500 MB). Note its letter (e.g., E:). - Type
exitto leave diskpart. - Now run:
bootrec /fixbootagain. If it still fails, try:bootsect /nt60 SYS(for legacy BIOS) or skip to Step 5.
Step 5: Manually Rebuild BCD (if /rebuildbcd doesn't find Windows)
- In Command Prompt, type
diskpart, thenlist volumeto find the drive letter where Windows is installed (usually C:, but it might be different in the recovery environment). Note it. - Type
exitto leave diskpart. - Type the following, replacing
C:with your Windows drive letter:
cd /d C:\Windows\System32 bcdedit /export C:\BCD_Backup ren C:\boot\BCD BCD.old bootrec /rebuildbcd
- The first command backs up the existing BCD file.
- The second renames the old BCD (so you can restore it later if needed).
- The third rebuilds a new BCD. When prompted "Add installation to boot list?", press Y and Enter.
Step 6: Exit and Restart
- Type
exitto close Command Prompt. - Click Continue (or restart your PC) and remove the USB drive.
- See if Windows boots normally.
Common Mistakes
- Running /fixboot before /fixmbr – order matters; always do /fixmbr first.
- Using the wrong drive letter – in the recovery environment, C: might not be your Windows drive. Always check with
diskpart. - Skipping the backup – if you rename BCD without exporting, you lose the ability to revert.
- Not matching bitness – using a 32-bit recovery USB on a 64-bit Windows may cause issues.
- Assuming the partition resize caused the problem – sometimes the resize tool left the partition table inconsistent; you may need to check that too.
Tips
- Before resizing partitions, always create a full system image or at least a backup of your data.
- Use a reliable partition tool that supports Windows 10, and let it create a restore point if offered.
- If you have a UEFI system (most modern PCs), the boot files are on a separate EFI partition. Make sure you don't delete or shrink that partition – it's usually tiny (100–500 MB) and unlettered.
- After a successful boot, open Command Prompt as administrator and run
sfc /scannowto check system file integrity.
Troubleshooting
If the above steps don't work, try these in order:
- Check BIOS/UEFI boot order – ensure your hard drive is set as the first boot device, not the USB.
- Run Startup Repair again – sometimes it works on the second attempt.
- Use System Restore – if you have a restore point from before the resize, go to Troubleshoot > Advanced options > System Restore.
- Try a different partition resize tool – if the resize was done with a third-party tool, its changes might be the issue. Boot from a Linux live USB and use GParted to check if partitions are properly aligned.
- If you see "Bootmgr is missing" – that indicates the BCD is severely corrupted. Repeat Step 5, but also run
bootrec /fixmbragain. - If you get a blue screen with an error like INACCESSIBLE_BOOT_DEVICE – this often means the partition table is corrupted. You may need to use a partition recovery tool, or if you have a backup, restore it.
- As a last resort – reinstall Windows. You can choose "Keep personal files" during installation, but this may not preserve installed programs. If you have a full backup, a clean install is safest.
Frequently Asked Questions
Will I lose my files if I run bootrec commands?
No, bootrec commands only repair boot files – they don't touch your personal data. However, if you rename BCD, you might temporarily lose the ability to boot until you rebuild it, but your files remain intact.
Why did the partition resize cause a boot failure?
Resizing can move or alter the boot files, or change the partition offsets that Windows uses to find its boot configuration. If the tool didn't update the BCD, Windows can't find itself.
Can I fix this without a USB drive?
If you can access the recovery environment by pressing F11 or Shift+Restart from the login screen, you can. Otherwise, you need a bootable USB or DVD.
What if I don't have a System Reserved partition?
On UEFI systems, the EFI partition is usually hidden and unlettered. In diskpart, it shows as a small FAT32 partition. If it's missing, you may need to use a tool like bcdboot to recreate it, but that's advanced – consider professional help.
Is it safe to use third-party partition tools?
They are generally safe if you use reputable ones and back up first. However, Windows' own Disk Management is the safest for basic operations, but it doesn't allow resizing system partitions easily.
How do I prevent this in the future?
Always create a system image backup before resizing. Also, avoid resizing the system partition while Windows is running – use the recovery environment or a bootable tool.