If Windows 10 won’t let you delete a partition, the usual culprits are a page file, a protected system partition, or the partition being in use. The direct fix is to use Disk Management, DiskPart, or third-party software after clearing the obstruction—here is the full process and what to do when each method fails.
Why Windows 10 Blocks Partition Deletion
Windows 10 refuses to delete a partition when it detects that the volume is in use, is protected, or lacks the necessary permissions. The most common reasons include:
- Page file or hibernation file stored on the partition, which Windows considers essential for system operation.
- System or Recovery partition that is marked as active, bootable, or contains boot files (even if the OS is on another drive).
- Open programs or background processes that are accessing files on the partition.
- File system errors that prevent the volume from being unmounted.
- BitLocker encryption that has not been suspended or decrypted.
- Insufficient permissions – you are not running Disk Management as administrator.
When you try to delete a partition and the option is greyed out, or you get an error like “You cannot delete the active system partition on this volume,” it means one of these conditions exists. The solution is to identify the specific blocker and remove it before retrying the deletion.
Method 1: Use Disk Management (GUI)
Disk Management is the built-in graphical tool for managing partitions. To delete a partition:
- Right-click the Start button and select Disk Management.
- Locate the partition you want to delete (check the drive letter and size to confirm).
- Right-click the partition and choose Delete Volume.
- Confirm the warning that all data will be lost.
If Delete Volume is greyed out, the partition is likely a system, boot, page file, or crash dump partition. In that case, proceed to Method 2 or 3. If you get an error like “The device is in use,” close all open files and programs, then try again. You may also need to disable the page file for that drive (see below).
Method 2: Use DiskPart (Command Line)
DiskPart is a more powerful command-line tool that can delete partitions that Disk Management cannot. It requires administrative privileges.
- Type cmd in the search box, right-click Command Prompt, and select Run as administrator.
- Type
diskpartand press Enter. - Type
list diskto see all disks. Note the disk number of the partition you want to delete. - Type
select disk X(replace X with the disk number). - Type
list partitionto see partitions on that disk. - Type
select partition Y(replace Y with the partition number). - Type
delete partition overrideand press Enter.
The override parameter forces deletion even if the partition is protected, but it will fail if the partition is the system or boot partition. If you get an error, the partition may be the active system partition, and you need to move the boot files or use a different approach (see below).
Method 3: Remove the Page File and Hibernation File
If the partition holds the page file (virtual memory) or hibernation file, Windows will not let you delete it. To remove the page file:
- Press Win + R, type
sysdm.cpl, and press Enter. - Go to the Advanced tab, and under Performance, click Settings.
- Go to the Advanced tab, and under Virtual memory, click Change.
- Uncheck Automatically manage paging file size for all drives.
- Select the drive that contains the partition you want to delete, choose No paging file, and click Set.
- Click OK and restart your computer.
To disable hibernation, open an elevated Command Prompt and type powercfg /h off. This removes the hiberfil.sys file, which can also block deletion.
Method 4: Delete a System or Recovery Partition
If the partition is marked as the System, Active, or Recovery partition, Windows will not delete it through normal means. This often happens with the EFI System Partition (ESP) or the Recovery partition on a GPT disk. To remove it:
- If the partition is on a secondary drive (not the drive with Windows), you can often delete it using DiskPart’s
delete partition overridecommand, or by using third-party software. - If the partition is on the system drive (the drive with Windows), deleting it may make Windows unbootable. You should only delete it if you are sure it is not needed for booting. For the EFI partition, you must first ensure the boot files are on another partition (e.g., the Windows partition). This is complex and not recommended for casual users.
- For Recovery partitions, you can sometimes delete them after disabling the Recovery feature in Windows: run
reagentc /disablein an elevated Command Prompt, then try deletion again.
If you are trying to delete a partition to merge the space with another, consider using a partition manager that can move and resize partitions without deletion.
Method 5: Use Third-Party Partition Software
When built-in tools fail, third-party partition managers often succeed because they can handle protected partitions and bypass some Windows restrictions. These tools are generally safe, but always back up important data first. Popular options include:
- EaseUS Partition Master
- MiniTool Partition Wizard
- GParted (Linux-based, bootable)
These tools typically allow you to delete a partition even if it is a system or recovery partition, but you must be careful: deleting the EFI partition or the partition with the Windows boot loader will make Windows unbootable. Use them only if you understand the risks.
What If the Option Is Greyed Out?
If Delete Volume is greyed out in Disk Management, it almost always means the partition is the system, boot, or page file partition. Here is a quick checklist:
- Check if the partition is marked as Active or System in Disk Management. If so, it is a boot-related partition.
- Check if the partition is the Page File (look at the “Page File” column in Disk Management). If so, disable the page file as described above.
- Check if the partition is the Recovery partition. Disable Recovery with
reagentc /disable. - Try using DiskPart with
delete partition override. - If all else fails, use third-party software.
Never try to delete a partition that contains the Windows boot files unless you have a backup and know how to repair the boot configuration. Doing so can make your PC unbootable.
Frequently Asked Questions
Can I delete the EFI system partition?
Yes, but only if you have moved the boot files to another partition or you are removing the entire disk. On a GPT disk, the EFI partition is essential for booting. If you delete it, Windows will not start. You can use DiskPart to delete it, but you must have a backup and be prepared to use Windows Recovery Environment to repair the boot.
Why does DiskPart say “The system cannot find the file specified”?
This error often occurs when the partition is corrupted or the volume is not mounted. Try restarting your computer, running chkdsk on the drive, and then using DiskPart again. If the partition is a system partition, you may need to use the override parameter.
How do I delete a partition that is in use?
Close all programs that may be accessing the drive, disable the page file for that drive, and disable hibernation. If the partition is still in use, restart your computer and try again immediately after boot. You can also use DiskPart to force deletion with delete partition override.
Is it safe to delete a recovery partition?
Deleting a recovery partition removes the ability to use Windows Recovery Environment from disk. You can still use a recovery USB. If you have a recovery USB or a system image, it is generally safe to delete the recovery partition to free up space. Disable Recovery first with reagentc /disable.
What should I do if I accidentally delete the wrong partition?
Stop using the computer immediately. Use a data recovery tool like Recuva, TestDisk, or EaseUS Data Recovery Wizard to attempt to restore the partition. If you have a backup, restore from it. The sooner you act, the higher the chance of recovery.
Why can’t I delete a partition on a USB drive?
USB drives often have a partition that is marked as “Active” or contains a bootloader, especially if you used it to create a bootable USB. Use DiskPart to clean the disk: diskpart -> list disk -> select disk X -> clean. This removes all partitions and the MBR/GPT structure, making the drive usable as a regular storage device.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Spotify Jam Not Working on Mobile? Fixes That Work
- Windows 10 No Internet Secured WiFi Error Fix
- Multi-Cloud GPU Failover Design Guide
- Error Code Currant Destiny? Meaning & Fixes
- AirPlay with Roku Multi-Device Setup: A How-To
- How to Set a Timer on iPhone (iOS 18 & 17)