Delete and Remove to Unlock EISA Hidden Recovery or Diagnostic Partition in Vista » My Digital Life
Posted by jpluimers on 2010/06/03
When you try to delete an EISA Hidden Recovery or Diagnostic partion, some options fail:
- DiskMgmt.msc does not show the “delete” option
(the link is for Windows XP, but the – usually very useful – tool has been almost the same for ages)
- DiskPart.exe fails with “Cannot delete a protected partition without the force protected parameter set“
- The free partition managers I tried (Partition Assistant 2.0 Home Edition and EASEUS Partition Master) refuse to install on the x64 editions of Windows (x64 is used more and more at home these days)
Luckily, this thread discusses both problems, and points to this page for a solution with DiskPart.
DiskPart is a cool tool: it is console driven, so it takes a bit getting used to for most people.
For most people, the lack of context makes it difficult to use.
Tip: The best is to keep DiskMgmt.msc running and to watch the context there.
These are the steps from My Digital Life:
- Open a command prompt as administrator.
- Run Diskpart application by typing Diskpart in the command prompt.
- In the “Diskpart” prompt, enter rescan command and press Enter key to re-scan all partitions, volumes and drives available.
- Then type in list disk and press Enter key to show all hard disk drive available.
- Select the disk that contains the partition you want to remove. Normally, with just 1 hard disk, it will be disk 0. So the command will be:
select disk 0
- Finish by Enter key.
- Type list partition and press Enter key to show all available and created partition in the disk selected.
- Select the partition that wanted to be deleted by using the following command, followed by Enter key:
select partition x
where x is the number of the EISA based recovery partition to be removed and unlocked its space. Be careful with the number of this partition, as wrong number may get data wipes off.
- Finally, type in delete partition override and press Enter key.
In my case (where the disk was at position 2), the steps were like these:
C:\Windows\system32>diskpart Microsoft DiskPart version 6.1.7600 Copyright (C) 1999-2008 Microsoft Corporation. On computer: T61PJPL DISKPART> select disk 2 Disk 2 is now the selected disk. DISKPART> select partition 1 Partition 1 is now the selected partition. DISKPART> delete partition Virtual Disk Service error: Cannot delete a protected partition without the force protected parameter set. DISKPART> delete partition override DiskPart successfully deleted the selected partition. DISKPART> exit Leaving DiskPart...
–jeroen (who can now has another 100Gb 7200 rpm drive available for backup purposes)