Default Reasoning

Construction of sensible guesses when some useful information is lacking and no contradictory evidence is present…

  • Subscribe

  • Disclaimer

    This blog is personal. The views and opinions expressed here represent my own and not those of the people, institutions or organizations that I may or may not be related with unless stated explicitly. All blog post, white papers and manuals were written during the projects, mostly at a customer site and are scenario specific. Use at your own risk.
  • Meta

Unhide the Recovery Partition on a Basic Disk with DiskPart.

Posted by Marek.Z on 29 May 2009

This quick step guide describes how to unhide the OEM/Recovery partition on your hard drive. It was tested on a Windows Vista machine with a Basic disk.

  1. Start Disk Management (diskmgmt.msc) on your computer and take a closer look at your hard disk. Note the disk number and the partitions.
  2. Start DiskPart and select your disk: DISKPART> select disk 0
  3. List all partitions: DISKPART> list partition
  4. Now, select the hidden partition (see step 1) DISKPART> select partition 1
  5. Type DISKPART> detail partition and verify that it is hidden. Remember the Type value, this will be handy if something goes wrong.
  6. Set the type of the hidden partition to 07. Type DISKPART> set id = 07 override
  7. If everything goes ok, you will receive the following message “Diskpart successfully set the partition ID.
  8. All done. Type Exit to close DiskPart.
  9. Check the Disk Management to see witch drive letter has been assigned to the recovery partition.

List of partition types:

07 = Windows NT NTFS, 17 = Hidden, 27 = OEM Recovery

About these ads

16 Responses to “Unhide the Recovery Partition on a Basic Disk with DiskPart.”

  1. Wit said

    Thankyou for great tips.

  2. emile said

    i was unhiding oem recovery partition so i entered id 07 instead if id 27 in dispart.
    so now the window wont start it says press ctrl+alt+delete to restart always.
    what shou i do?

    • Marek.Z said


      First, I’m sorry for late response and quite unfortunate you made that typo when unhiding the OEM partition. You can solve this issue with Bootrec.exe tool located on the Windows DVD. For detailed instructions please read the Microsoft KB927392 article.



  3. Master said

    Very nice post, bro! May be next time you will discover topic deeper?

  4. Richard said

    NICE! You should train those IDIOTIC Sony support reps. They know nothing. They told me there is no way to do this without wiping my entire hard drive clean. They are morons.

  5. Thansirmc said

    unfortunatly i deleted my recovery hdd how to recover this partion i don’t know what ar4 the things inside it??

  6. GREAT THANKS!!! Very helpful for dummies like me…

  7. Sourabh said

    Hey i am following all these steps you told, but it is showing a message in the end ” The specified type is not in correct format”

    Plz help me out.

    thank u in advance

  8. “List of partition types:

    07 = Windows NT NTFS, 17 = Hidden, 27 = OEM Recovery”

    can you please tell me the GPT equivalents.

Leave a Reply

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

You are commenting using your 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


Get every new post delivered to your Inbox.

Join 614 other followers

%d bloggers like this: