The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,376 other followers

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:

  1. 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)
  2. DiskPart.exe fails with “Cannot delete a protected partition without the force protected parameter set
  3. 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:

  1. Open a command prompt as administrator.
  2. Run Diskpart application by typing Diskpart in the command prompt.
  3. In the “Diskpart” prompt, enter rescan command and press Enter key to re-scan all partitions, volumes and drives available.
  4. Then type in list disk and press Enter key to show all hard disk drive available.
  5. 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
  6. Finish by Enter key.
  7. Type list partition and press Enter key to show all available and created partition in the disk selected.
  8. 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.
  9. 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)

via Delete and Remove to Unlock EISA Hidden Recovery or Diagnostic Partition in Vista » My Digital Life.

5 Responses to “Delete and Remove to Unlock EISA Hidden Recovery or Diagnostic Partition in Vista » My Digital Life”

  1. dk said

    Very heplful.Thank you

  2. miki said

    great but, how to change a written-protected usb partition ????

  3. NB said

    Great post, very helpful.

  4. DJ said

    Very helpful! Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 1,376 other followers

%d bloggers like this: