How to delete the Recovery Partition in Windows 10?
There is plenty of space on the disk. You are getting this error for a different reason. If your machine is anything but a desktop then you would get the error you have.
https://technet.microsoft.com/library/354e5163-f388-4354-984c-ea4e4206694c
You aren't able to delete the recovery partition because it EFI protected. You should be able to force by using the override
command.
https://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx
I would try using diskpart (from an elevated command prompt) to delete the partition and convert to dynamic disk.
DISKPART> list disk
DISKPART> select disk 4
Disk 4 is now the selected disk.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 223 GB 1024 KB
Partition 3 Recovery 450 MB 223 GB
DISKPART> select partition 3
Partition 3 is now the selected partition.
DISKPART> delete partition override
DiskPart successfully deleted the selected partition.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 223 GB 1024 KB
Usually I re-purpose drives so I don't worry about data loss but back up your data and use a desktop.
Option 1: Deleting a recovery partition using diskpart:
- Start menu, search for
diskpart
, right click, selectopen file location
, right click ondiskpart.exe
and selectRun as administrator
. - type
list disk
and press Enter, thenselect disk X
(X is your disk containing your recovery drive ) and press Enter, thenlist partition
, thenselect partition X
(X is your recovery partition) and thendelete partition override
. - If you get
Delete is not allowed on the current boot, system, pagefile, crashdump or hibernation volume.
Go to option 2
Option 2: Using a third party partition manager
Try something like EaseUS free partition manager. If the option to delete partition isn't in the context menu, go to option 3.
Option 3: using Disk Manager
to shrink the recovery partition and merge the extra space with the main partition
This doesn't directly answer the question but provide a workaround to recover the space used by the recovery partition. Mine was taking 20GB (only 9GB used) and I could shrink it to 415MB.
- Go to
Create and format hard drive partition
(akaDisk Manager
) and assigned a drive letter to the Recovery partition. - In
My Computer
, open the recovery drive (if it's empty, go in Folder Options, and enable the option to show the hidden files and uncheck "Hide protected operating system..."). Delete the Dell folder (about 8.7GB). - Go back
Disk Manager
, shrink the recovery partition to the minimum possible and increased the main OS partition over the released disk space and applied all changes.
(from mazyarjr)
If you can't shrink to most of the recovery size (I could only shrink to about 2GB even if there more than 19GB free), you will have to do it the hard way.
Option 4: using Ubuntu to shrink the recovery partition and merge the extra space with the main partition This option is much longer than the previous one. You need:
- a dual boot Ubuntu/Win 10 and/or a bootable ubuntu usb drive
- a repair disk or a recovery drive for Windows 10.
- make a system windows image (just in case it really goes wrong)
- if you have a dual boot, backup your ubuntu
Steps:
- In Ubuntu, open Gparted and then shrink the recovery drive and merge the extra space with the main partition. This step took about 3h.
- Reboot you computer, start windows: you will most likely have the error
0xc00000f
or the error0xc0000225
. - Restart you computer from the windows repair disk (or recovery drive): open Boot Options and then choose CD/DVD or USB, wait for it to load and then choose your keyboard language.
- You can try the option
repair computer
(I think it's inTroubleshooting
and thenAdvanced options
) but it didn't solve the problem for me. Instead open the command prompt and type this.
Don't forget to press Enter
between each line:
bootrec /fixboot
bootrec /fixmbr
bootrec /rebuildbcd
If no windows installation is found do this (see warning below):
bcdedit /export C:\BCD_Backup
c:
cd boot
attrib bcd -s -h -r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd
WARNING: The first time I reboot my computer (at step3), my recovery disk was assigned to the letter C and my windows disk to the letter F (you can know that if you enter diskpart
in the command prompt from the repair disk). I didn't proceed with the last code I gave and instead I tried the fix #4 from here). I ended up with the An operating system wasn't found try disconnecting any drives that don't contain an operating system
screen. I wasn't even able to get to the Grub to start Ubuntu so I started Ubuntu from the bootable USB. I use Ubuntu Boot Repair following all the indications it gave me. I got many error related to FlexNet and Wubi (I sort of ignored then, at this point, I was pretty sure I would have to use the windows system image). But when I restarted I was able to get to the Grub and to choose windows 10. I still got the 0xc0000225
error but this time, my windows disk had the letter C. I then entered the last code above and finally I could start Windows 10. Everything was normal in my windows user account.
If you had a dual boot, to restore Ubuntu Grub, follow this
Option 5: Deleting a recovery partition by reinstalling Windows: Make a backup of your files, use a bootable ubuntu usb drive to format and merge all the partition and then reinstall Windows. Windows creates a system files partition but that's only 500MB (nothing compared to the 20GB it used before).
Downside (that can be related or not to the option 4):
- I can't anymore create a system repair disk as "the files needed are not found" (I created one without problem just before shrinking the recovery drive). I need to have a Window. ISO from which the necessary files are loaded.
- I have lost all my restore points.
- I don't know if there is a link but I tried to restore a restore point 2 months after deleting the Recovery Partition. I couldn't some files were missing. I had others bugs so I ended up reinstalling Windows 10 from scratch (cf option 5). I could get rid of the recovery partition. During the install,
Because, I upgraded from Window 7 to Windows 10 just a couple of days before doing option 4, after doing option 4, the boot displayed 2 versions of Windows: Windows 10 and 7. To remove Windows 7 from the boot menu, do this.