Dual boot was a good experiment, but now you want your whole disk back for Windows 11. Removing Linux sounds simple, and the part people rush, deleting the Linux partitions, is actually the easy half. The risk sits in the boot process: if the computer still tries to start through the Linux bootloader after its files are gone, Windows will not load. Follow the safe order in this guide, fix the Windows boot entry first, and removal becomes calm and reversible-looking instead of stressful.
Quick Answer
First back up your files from both systems, then in Windows 11 set the Windows Boot Manager as the first boot option in your UEFI settings. Next, delete the Linux EFI folder if it is separate from the Windows one, remove the Linux partitions in Disk Management, and extend C: into the freed space. Restart several times to confirm Windows boots directly, with the full disk available again.
Warning: Back Up Before You Delete Anything
Deleting a partition is permanent. Once the Linux partitions are removed and the space is reused, recovering files from them becomes difficult or impossible. Before you start, copy anything you need from Linux, documents, photos, browser exports, keys, and project files, onto an external drive or cloud storage.
Also back up important Windows files. You are about to change partitions and boot settings on the same disk Windows lives on. A full backup protects you if a power cut, a wrong click, or a hidden fault interrupts the job. Save your BitLocker recovery key too, and keep the computer plugged into power throughout. Do not begin this process in a hurry.
How Dual Boot Booting Actually Works
On a modern Windows 11 PC, the UEFI firmware loads a small program from the EFI system partition. In a dual boot, that program is often GRUB from Linux, which then offers a menu: choose Linux, or hand over to Windows. The Windows Boot Manager still exists, it is just no longer first in line.
This explains the safe removal order. If you delete the Linux partitions while GRUB is still the main bootloader, GRUB loses its files and can drop you at an error prompt instead of Windows. So you promote Windows Boot Manager back to first place and test it before deleting anything at all.
Step 1: Set Windows Boot Manager First
- In Windows 11, open Settings, go to System, then Recovery.
- Under Advanced startup, choose Restart now, then navigate to Troubleshoot, Advanced options, and UEFI Firmware Settings.
- In the UEFI setup screen, find the boot order list.
- Move Windows Boot Manager to the first position, above any entry named ubuntu or your Linux distribution.
- Save and exit, usually with F10, and let the PC restart.
Windows should now load directly with no Linux menu at all. Restart two or three times to be sure. This single test proves Windows can boot on its own, which makes every later step far safer. The Microsoft support guide to creating a Windows recovery drive is worth following before you go further, because a recovery USB gives you repair tools even if something unrelated goes wrong later.
Step 2: Remove the Linux Entry From the EFI Partition
This step is optional for many people, but it cleans up fully so no stale Linux boot files remain. It involves the EFI system partition, so work carefully and touch only the Linux folder.
- Open Command Prompt as administrator.
- Run
diskpart, thenlist diskandselect disk 0, adjusting the number to your system disk. - Run
list partition, find the small system partition, select it withselect partition X, and assign a letter withassign letter=Z. - Open the EFI folder on Z: and look inside the EFI directory. You should see folders such as Microsoft and Boot, plus one named ubuntu or your distribution.
- Delete only the Linux distribution folder. Never delete the Microsoft folder or the Boot folder.
- Remove the drive letter again in diskpart with
remove letter=Zand exit.
If you cannot clearly identify the folders, skip this step rather than guess. Leftover Linux files in the EFI partition waste only a few megabytes and do not stop Windows working, while deleting the wrong folder definitely will.
An Alternative: Leave Two EFI Partitions Alone
Some installs created a completely separate EFI partition for Linux. In that case the Linux bootloader files live there, not in the Windows EFI partition. Deleting that whole Linux EFI partition later, along with the other Linux partitions, removes them naturally. Check sizes and positions in Disk Management before assuming which layout you have.
Step 3: Delete the Linux Partitions
Now remove the partitions that held Linux itself. Work in Windows Disk Management so you can see the whole disk clearly.
- Press Windows key + X and open Disk Management.
- Identify the Linux partitions. They usually appear as volumes with no drive letter and no NTFS label, sitting after C: on the disk. Typical dual boots have one large root partition and sometimes a separate small EFI partition.
- Check sizes against what you created when installing Linux, and be completely certain a partition is not a Windows recovery partition. Recovery partitions are labelled Recovery and must stay.
- Right-click each Linux partition, choose Delete Volume, and confirm.
- The space becomes Unallocated, shown with a black bar.
Take your time at step three. Deleting a Windows recovery or data partition by mistake is the most damaging error in this whole guide, and Disk Management does not ask twice in a helpful way.
Step 4: Extend C: Into the Freed Space
- In Disk Management, right-click C: and choose Extend Volume.
- Accept the wizard defaults, which offer all the unallocated space directly beside C:.
- Finish the wizard. The extension normally completes in seconds without a restart.
- Open File Explorer and confirm This PC now shows the larger C: size.
Extending only works simply when the unallocated space sits immediately to the right of C:. If another partition, such as a recovery partition, sits between C: and the free space, the Extend option will be greyed out. In that case you can leave the free space as a separate D: data drive, formatted as NTFS, instead of forcing a complicated rearrangement. That outcome still gives you the full disk back for Windows use.
If you ever reverse this decision later, the process starts the opposite way, as shown in our guide to setting up an Ubuntu dual boot with Windows 11.
Step 5: Final Checks
- Restart the PC several times. Windows should load directly every time, with no GRUB menu or error.
- Check Disk Management once more for leftover unallocated space you meant to use.
- Confirm your files, apps, and OneDrive or other sync tools work normally.
- Create a fresh Windows restore point now that the layout is final.
- Update Windows fully, so recovery tools match the new disk layout.
If a GRUB rescue prompt appears at any restart despite your preparation, do not delete anything else. Boot from a Windows recovery USB, open the repair tools, and use Startup Repair, or rebuild the boot files from a command prompt with Microsoft’s guided steps on the Windows recovery options support page. Your Windows data is almost certainly still intact; only the boot pointer needs fixing.
Common Mistakes and Safety Tips
- Deleting Linux partitions before fixing the boot order: The classic error. Always make Windows Boot Manager first and test it before deleting.
- Deleting the Microsoft EFI folder: Never touch Microsoft or Boot folders in the EFI partition. Only the clearly named Linux folder may go, and only if you are certain.
- Removing the Windows recovery partition: It looks small and unlabelled at a glance in some views, but it is essential for repairs. Check labels carefully.
- No backup: Partition work without a backup turns a small slip into data loss. Back up both systems first, every time.
- Assuming extend always works: If a partition blocks the extension, use the space as a second drive rather than risking advanced moves you do not need.
- Forgetting Secure Boot or BitLocker prompts: Boot order changes can trigger a recovery key request. Have the key ready before you start.
Conclusion
Removing a Linux dual boot is safe when the order is right: back up, put Windows Boot Manager first and test it, clean the Linux boot folder if you are confident, delete the Linux partitions, and extend C: into the space. Windows 11 ends up with the full disk, boots directly, and keeps its recovery tools intact. Your Linux experiment closes cleanly, with nothing lost that you did not choose to let go.
Frequently Asked Questions
Will removing Linux delete my Windows files?
No, if you delete only the Linux partitions and leave C:, the EFI partition’s Microsoft folder, and the recovery partition alone. Windows files live on their own partitions, which is why careful identification in Disk Management matters so much.
What happens if I see a GRUB rescue screen after removal?
It means the firmware is still pointing at the old Linux bootloader. Boot a Windows recovery USB, run Startup Repair, or reset the boot order in UEFI settings to Windows Boot Manager. Your Windows installation itself is normally undamaged.
Why is Extend Volume greyed out for C:?
Windows can only extend a partition into unallocated space directly next to it. If the recovery partition sits between C: and the freed space, the option stays disabled. Formatting the free space as a separate data drive is the simple safe alternative.
Can I reinstall Linux later after removing it this way?
Yes. Nothing in this process blocks Linux permanently. You would shrink C: again to make space and install as before. Removing a dual boot simply returns the disk to a Windows-only layout until you decide otherwise.
Should I remove the Linux entry from the EFI partition?
Only if you can identify the Linux folder with complete confidence. It saves a tiny amount of space and tidy-up value, but Windows works fine with it left behind. Deleting the wrong folder causes far more harm than leaving it.


Leave a Reply