How do you do....it? Thread, WDSClietUnattended.xml in Technical; Hi all,
To all those of you that WDS for your imaging I have finally taken the dive into this ...
-
16th January 2008, 08:23 PM #1 WDSClietUnattended.xml
Hi all,
To all those of you that WDS for your imaging I have finally taken the dive into this and Isay I am impressed, could Microsoft actuallyhave a decent imaging system now....?
Anyway as the subject suggests I am trying to setup an unattended.xml file that will format ANY size drive, repartition to a single partition and user the whole drive for that partition.
I have got it so that it wil format to NTFS, remove any partitions, but I have been unable to get ti to create a single partition based on the size of the drive. I currently have the size set in the XML file.
Does anyone know how to tell WDS to just use the whole drive???
-
-
IDG Tech News
-
16th January 2008, 09:13 PM #2 Yeah, one of the Microsoft guys @ BETT said something about this - i think you need to tell WDS to create a custom partition (via DISKPART) but NOT to specify the size, WDS/DISKPART then usese the whole disk for the partition
IIRC, this only works for Vista though.. Which I'm guessing you are if you're using the XML files....
-
-
16th January 2008, 10:19 PM #3 I have very nearly finished writing a step-by-step guide to HAL independent XP deployment using WDS. The WDSClientUnattend bit is the last piece of the jigsaw but I 'think' I have got it to do what you want. However, I am now on paternity leave for a couple of weeks and won't be able to test properly 'till I'm back and don't think I've brought the working files home although will check. If you haven't found the answer in a couple of weeks, PM to remind me and i'll check how far I got. IIRC I had to be able to do what you want as some of our machines use several odd boot and OEM recovery type partitions that I wanted to eradicate.
Dave
Edit: Did you try the example posted here by 'maniac' in answer to your initial enquiry? I think my file is similar to this one.
Last edited by djones; 16th January 2008 at 10:43 PM.
-
-
16th January 2008, 11:03 PM #4 Try this in the <DiskConfiguration> section...
Code:
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration> This is taken from notes I've got at home but I can't find the actual file I'm using, sorry. Let us know the result.
Dave.
Edit: IIRC it is the <Extend>true</Extend> option that specifies to use all available space. You can use <Size>123456</Size> instead to specify the exact size (obviously!) but not both at the same time (again, obvious - but easily done when copying and pasting bits of code IME).
Last edited by djones; 16th January 2008 at 11:09 PM.
-
-
17th January 2008, 09:17 AM #5 Thanks guys, i'll give your suggestions a go and report back later today.
-
SHARE: 
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules