none
Problem clear hidden volume in diskpart

    Question

  • In windows server 2008 R2 datacenter core, problem

    DISKPART> attributes volume clear hidden

    Virtual Disk Service error:
    The object is not found.

    Wednesday, November 23, 2011 4:34 PM

Answers

  • Hi,

     

    You can perform the following steps:

     

    1. diskpart> list volume(find the volume you want to clear hidden)

    2. diskpart> select volumeNUMBER(please adjust the NUMBER accordingly)

    3. diskpart> attributes volume clear hidden

     

    Best Regards,

    Vincent Hu

     

     

    Thursday, November 24, 2011 6:22 AM
    Moderator

  • Microsoft DiskPart version 6.1.7601
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: STKCOHVR510

    DISKPART> list disk

      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          100 GB      0 B        *
      Disk 1    Online         4555 GB      0 B        *

    DISKPART> list partition

    There is no disk selected to list partitions.
    Select a disk and try again.

    DISKPART> list volume

      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     D                       DVD-ROM         0 B  No Media
      Volume 1     C                NTFS   Partition     99 GB  Healthy    Boot
      Volume 2                      FAT32  Partition    100 MB  Healthy    System
      Volume 3                      NTFS   Partition   4554 GB  Healthy    Hidden

    DISKPART> select volume 3

    Volume 3 is the selected volume.

    DISKPART> attributes volume clear hidden

    Virtual Disk Service error:
    The object is not found.


    DISKPART>

    Thursday, November 24, 2011 12:22 PM

All replies

  • Hi,

     

    You can perform the following steps:

     

    1. diskpart> list volume(find the volume you want to clear hidden)

    2. diskpart> select volumeNUMBER(please adjust the NUMBER accordingly)

    3. diskpart> attributes volume clear hidden

     

    Best Regards,

    Vincent Hu

     

     

    Thursday, November 24, 2011 6:22 AM
    Moderator

  • Microsoft DiskPart version 6.1.7601
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: STKCOHVR510

    DISKPART> list disk

      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          100 GB      0 B        *
      Disk 1    Online         4555 GB      0 B        *

    DISKPART> list partition

    There is no disk selected to list partitions.
    Select a disk and try again.

    DISKPART> list volume

      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     D                       DVD-ROM         0 B  No Media
      Volume 1     C                NTFS   Partition     99 GB  Healthy    Boot
      Volume 2                      FAT32  Partition    100 MB  Healthy    System
      Volume 3                      NTFS   Partition   4554 GB  Healthy    Hidden

    DISKPART> select volume 3

    Volume 3 is the selected volume.

    DISKPART> attributes volume clear hidden

    Virtual Disk Service error:
    The object is not found.


    DISKPART>

    Thursday, November 24, 2011 12:22 PM
  • DISKPART> attributes volume

    Virtual Disk Service error:
    The object is not found.

    Thursday, November 24, 2011 3:27 PM
  • lol gotta love the repeated fail response.  I think this is related to the Partition Type.  0x7 is normal.  0x27 is a utility partition.  etc.  still trying to sort out how to change the partition type or even find out what it is.  I am having same issue.
    Wednesday, January 25, 2012 6:19 PM
  • What's more to love is the moderator is able to assign his own useless response as the answer...

    Wednesday, October 10, 2012 10:00 PM
  • I think this might help more.

    http://www.mydigitallife.info/delete-and-remove-to-unlock-eisa-hidden-recovery-or-diagnostic-partition-in-vista/

    In short:

    select disk #

    select partition #

    delete partition override

    • Proposed as answer by Bursky Peter Wednesday, May 15, 2013 5:44 PM
    Thursday, October 11, 2012 10:05 AM
  • My solution was to boot with the Windows CD, delete the partition and recreate
    Thursday, October 11, 2012 1:17 PM
  • This worked the treat for me

    Thanx

    Wednesday, May 15, 2013 5:45 PM
  • How to change back 0x7? In certain situations, deleting the partition is not an option.
    Tuesday, June 18, 2013 2:49 PM
  • Hi there!

    Not sure for 2008, but for 2012 I solved it by DISKPART> "SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7".

    This string can be Mark -> Copy from >Help SETID screen ...

    • Proposed as answer by bdaut Saturday, November 09, 2013 2:15 PM
    Saturday, November 09, 2013 1:50 PM
  • I found an answer here http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_install/delete-all-hdd-paritions-incl-disk-recovery/358e2e3e-c897-45b0-b009-7c35cc8aa77b

    Worked from a Windows 8.1 PC by deleting all partitions. Relevant snippet modified  ...


    Step 2.
    Open the Diskpart application by either typing in "Diskpart" (without the quotation marks) into the search, or type "Diskpart.exe" into Run by pressing the Windows key + R.

    Step 3.
    Now with Diskpart open, you must enter the following command lines:

    I. Type "list disk" without the quotation marks and press enter.

    II. Type in "select disk x" and press enter. Where x is the disk number you want to work on.

    III. Then type in "list partition" and press enter.

    IV. Then type in "select partition x" x=the recovery partition you wish to delete (i believe it's 1, i dont recall) replace x with the recovery partition number and press enter.

    V. Then finally type in "delete partition override" and press enter.


    • Proposed as answer by 4297762509 Sunday, March 23, 2014 8:09 AM
    Thursday, November 28, 2013 11:52 PM
  • Had to revive this thread (it was top of the list on google when researching this issue!), but better fix without having to delete the partition is to force the id to 07, making it unhidden: 07=regular NTFS, 17=hidden, 27=oem recovery (the last one is probably the id of the partition you are having problems with).

    Anyways, make sure you go through the process of selecting the partition, and then you type "set id=07 override"


    Monday, March 10, 2014 1:39 AM
  • I've been pulling my hair out with this issue. All I get when I try to unhide the hidden partition with set id=07 override is: The specified type is not in the correct format.

    I can use set id with GPT disks (the long string of characters) to make the recovery/basic data/system partition disks (there's a list in wikipedia), but the partition that I'm trying to fix stays hidden. SUPER HATE THIS

    Friday, June 27, 2014 5:32 PM
  • Hi there!

    Not sure for 2008, but for 2012 I solved it by DISKPART> "SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7".

    This string can be Mark -> Copy from >Help SETID screen ...


    Did that but now that I have two duplicate volumes shown in diskpart. The first one is normal volume, and the second is his same but hidden!

    Well this is the world we live in And these are the hands we're given...

    Thursday, October 02, 2014 1:50 PM
  • I've been pulling my hair out with this issue. All I get when I try to unhide the hidden partition with set id=07 override is: The specified type is not in the correct format.

    I can use set id with GPT disks (the long string of characters) to make the recovery/basic data/system partition disks (there's a list in wikipedia), but the partition that I'm trying to fix stays hidden. SUPER HATE THIS

    Same issue! i can't do set id=07! It gives "The specified type is not in the correct format"?

    Why does it error to run this command? I copied this command from HELP SETID!


    Well this is the world we live in And these are the hands we're given...

    Thursday, October 02, 2014 1:58 PM
  • Excuse me, how can you mark your own response as an "answer" when it's exactly what the user wrote, but didn't work? What kind of technician are you? WOW, that's just horrible service at its finest!
    Sunday, December 14, 2014 6:49 PM
  • Thank you!!!!! I just said how is it that he can mark his own response of what the user said as an answer! What the bleep?! It's just ridiculous. 
    Sunday, December 14, 2014 6:51 PM
  • Hi,

     

    You can perform the following steps:

     

    1. diskpart> list volume(find the volume you want to clear hidden)

    2. diskpart> select volumeNUMBER(please adjust the NUMBER accordingly)

    3. diskpart> attributes volume clear hidden

     

    Best Regards,

    Vincent Hu

     

     

    As someone, myself, working in the IT field as a Help Desk representative for the State of California I cannot just be quiet and....I am in disbelief that the technological knowledge of Microsoft's technicians is so horrible! This information that was given to the user is useless as it was stated in the problem that it did not work and then not only did you mark your own response as an answer, you also marked the additional information that the user was giving you as an answer as well, but he was actually giving you more information so you can better help him. OH MY GOODNESS!!! I am disappointed. 
    Sunday, December 14, 2014 7:01 PM
  • I think this might help more.

    http://www.mydigitallife.info/delete-and-remove-to-unlock-eisa-hidden-recovery-or-diagnostic-partition-in-vista/

    In short:

    select disk #

    select partition #

    delete partition override


    This actually worked in windows 7 and windows 10 dual boot situation where I wanted to get rid of hidden partition and reclaim, getting rid of windows 10, also.
    Friday, April 24, 2015 7:04 PM
  • Hey All,

         Let me share what worked for me... For GPT Disks...

    DISKPART

    List Disk
    Sel Disk "x"
    List Vol
    Sel Vol "x"
    Set Id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
    assign letter="x"
    attrib vol clear hidden
    list vol

    Exit

    I was able to remove the "Hidden" attributes for EFI, Restore & Recovery partitions without any issues... Although if you want to manipulate any folders with "HIDDEN" + "SYSTEM" attributes, I recommend using CMD (Admin) to remove/add those attributes i.e.

    C:\Windows\system32>attrib -h M:\RecoveryImage/install.wim

    Where "M" is the letter of said partition you unhid...

    Monday, August 10, 2015 4:16 AM