Several users have been encountering the ‘Can’t delete a partition without the force protected parameter set’ when trying to use DiskPart to remove the recovery partition. The issue is not specific to a certain Windows version as it’s reported to occur with Windows 7, Windows 8.1 and Windows 10.
What is causing the ‘Cannot delete a protected partition without the force protected parameter set’ error?
We investigated this particular issue by looking at various user reports and the solutions that they used to take care of the issue.
Most likely, the error message gets thrown by DiskPart because you are trying to delete a hidden or system protected partition using the “delete volume” command.
Doing this will likely trigger the ‘Cannot delete a protected partition without the force protected parameter set‘ error because the DiskPart utility requires a different parameter in order to remove hidden or system protected partitions.
If you’re struggling to resolve the same error message, the method below will allow you to resolve the issue by using a different parameter that will signal Windows that you know what you’re doing.
Resolving the Error Using the override parameter
Most likely, you are seeing this error as a warning that you need to be extra sure that you wish to delete the recovery partition. It’s somewhat confusing because the parameter is not indicated in the Help Delete Partition section of DiskPart.
Keep in mind that normally, Diskpart will only enable you to delete known data partitions. To delete any known data partition (including recovery partitions), you’ll need to use the override parameter.
But setting the documentation aside, you will be able to resolve the issue by using the override parameter. Here’s a quick guide on how to do this:
- Press Windows key + R to open up a Run dialog box. Then, type “diskpart” and press Enter to open the DiskPart utility. When prompted by the UAC (User Account Control), click Yes to grant administrative privileges.
- Identify the disk that you want to work with by typing the following command:
- Select the list that you want to wipe or reformat by using the following command:
select disk X
Note: X is only a placeholder for the actual number of the disk that you’re trying to handle. Please replace the placeholder with the correct number.
- Once the proper disk is selected, type the following command to see all the partitions that the selected drive is using:
- From the list of partitions, identify the one that you wish to delete and use the following command to select it:
select partition X
Note: X is only a partition for the number of the partition that you wish to delete. it will get displayed after you run the command at step 4.
- With the targeted partition selected, use the following command do signal Windows that you’re sure about the step that you’re about to perform (by using the override parameter):
delete partition override
- Once the process completes successfully, type the following command to exit Diskpart: