We have a .WIM file that gets laid down and when it is installed we are left with a 10GB recovery partition on our DISK 0. So DISK 0 looks like this:

Healthy (OEM Partition)

Default (C:)
Healthy (System, Boot, Page File, Active, Crash Dump, Primary Partition)

All of this is on DISK 0.

Is there anyway using Diskpart.exe (or any utility for that matter) that will let you format and assign a drive letter to the 10GB partition without touching or messing up the c:\ drive?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


start diskpart and try
select disk 0
list part
(search for the number of the recovery partition)
select part X
(X is the number of your recovery partition)
format quick
(get more format options like volume name or filesystem with help format)
assign Y
(Y is the letter you want to use)

now you can apply the wim with image x to the letter

if you want to put this in a script, just put the diskpart commands in a text file line by line and call diskpart like this
diskpart /s yourfile.txt
Answered 11/29/2011 by: weberik
Yellow Belt

Please log in to comment
Ok, I type in LIST VOLUME and I see that Volume 1 is my C: drive. I then type in SELECT VOLUME 1 then LIST PARTITION. I then see 2 partitions. Partition 2 has an '*' in front and this is the Primary C:\ drive. Partition 1 is a Hidden partition that is the 10GB one I need to manipulate. How do I format and/or assign a drive letter to this hidden Partition?

what I am trying to solve is this: We have a 10GB partition on thousands of machines and we want to copy to this partition the OS.Wim file and app packaged software that together make up our Windows 7 image. So if a user needs to reimage their machine they can.

Answered 11/29/2011 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
try this (on a test machine!)
ASSIGN X (or the letter you want to use)
Answered 12/01/2011 by: weberik
Yellow Belt

Please log in to comment
Um thats an OEM partition. That's what you called it. OEM are created by the manufacturer and can not be assigned a drive letter and are hidden. They can't be manipulated. I use Dell systems and all machines have also have a OEM partition, though significantly smaller. Because they are hidden, they can not be assign a drive letter and because of that, they do not appear in WindowsPE.

Let me ask you this. Short of a new blank hard drive, if all your machines have this partition, why not leave it alone and not reapply it?

Im not quite sure what your OEM partition does since its so big, mine only includes diagnostic tools. If it is a recovery partition, Windows can probably reuse the one that's already on the drive
Answered 12/02/2011 by: Tentacle Master
Fourth Degree Black Belt

Please log in to comment
On another note if you do reformat it (if it lets you), it will cease to function like it should
Answered 12/02/2011 by: Tentacle Master
Fourth Degree Black Belt

Please log in to comment
my samsung notebook had such a partition.
it contained a so called "recovery system" that could make a image of my system to another partition.
also wasted like 20gb of my precious space.

but there was no magically unremovable thing to it.
i could remove it with the usual windows tools :)
Answered 12/02/2011 by: weberik
Yellow Belt

Please log in to comment