Why does diskpart set the volume attributes on all volumes?

Posted by Nick on Super User See other posts from Super User or by Nick
Published on 2013-08-04T07:06:17Z Indexed on 2013/10/29 22:01 UTC
Read the original article Hit count: 241

I was trying to migrate a Win7 OS from a HDD to a SSD.

I've created 2 partition with 1024KB offset, with diskpart: 100MB System Reserved and a 60GB for C:.

I've cloned their contents using Easeus Disk Copy.

I've loaded the Windows 7 Boot DVD, and wanted to use diskpart to drop the letter for the System Reserved partition and make it hidden.

select volume 0
detail volume
attribute volume set nodefaultdriveletter
attribute volume set hidden

These 2 attribute set commands actioned on both volumes (0 and 1, MSR and C:) instead of the selected one, and viceversa.

I've tried to clear these attributes from volume 1, but it cleared them also from volume 0.

Why does DiskPart have this behaviour?

© Super User or respective owner

Related posts about windows-7

Related posts about partitioning