Problem clear hidden volume in diskpart

In windows server 2008 R2 datacenter core, problem

DISKPART> attributes volume clear hidden

Virtual Disk Service error:
The object is not found.

November 23rd, 2011 4:34pm

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

 

 

Free Windows Admin Tool Kit Click here and download it now
November 24th, 2011 6:22am

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

 

 

November 24th, 2011 6:22am


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>

Free Windows Admin Tool Kit Click here and download it now
November 24th, 2011 12:22pm


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>

November 24th, 2011 12:22pm

DISKPART> attributes volume

Virtual Disk Service error:
The object is not found.

Free Windows Admin Tool Kit Click here and download it now
November 24th, 2011 3:27pm

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.
January 25th, 2012 6:19pm

What's more to love is the moderator is able to assign his own useless response as the answer...

Free Windows Admin Tool Kit Click here and download it now
October 10th, 2012 10:00pm

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
October 11th, 2012 10:05am

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
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2012 10:05am

My solution was to boot with the Windows CD, delete the partition and recreate
October 11th, 2012 1:17pm

This worked the treat for me

Thanx

Free Windows Admin Tool Kit Click here and download it now
May 15th, 2013 5:45pm

How to change back 0x7? In certain situations, deleting the partition is not an option.
June 18th, 2013 2:49pm

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
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2013 1:50pm

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
November 9th, 2013 1:50pm

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
Free Windows Admin Tool Kit Click here and download it now
November 28th, 2013 11:52pm

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
November 28th, 2013 11:52pm

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"


Free Windows Admin Tool Kit Click here and download it now
March 10th, 2014 1:39am

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"


March 10th, 2014 1:39am

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

Free Windows Admin Tool Kit Click here and download it now
June 27th, 2014 5:32pm

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!
October 2nd, 2014 1:50pm

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!

Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2014 1:58pm

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!
December 14th, 2014 6:49pm

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. 
Free Windows Admin Tool Kit Click here and download it now
December 14th, 2014 6:51pm

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. 
December 14th, 2014 7:01pm

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.
Free Windows Admin Tool Kit Click here and download it now
April 24th, 2015 3:06pm

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...

August 11th, 2015 12:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics