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