Jump to content

Cannot format HD with unattend.xml


Recommended Posts

Posted

Hi all,

After being a lurking forumjunk for a long time, its time to post a problem of my own :)

Iam not sure where to post this problem iam having, but i think this is the best place for it.

Currently iam trying configure WDS to deploy a captured win2k3 installation through the vista boot.wim and the manual approach. The manual approach works but is labour intensive when it comes to making changes. The other option is deploying with the vista boot.wim.

This will work when i do it manually (without wdsclientunattend.xml). But as you can figure by now it, goes wrong when i want to automate it (with a wdsclientunattend.xml). For some reasson iam not able to configure my disks so partitions will be created and formatted. Ive been following the vista unattended guide (http://www.msfn.org/board/Vista_unattended_Guide_t95462.html) to get my problem resolved, but even the code snippets did not solve my problems.

I have made the following code:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<Disk wcm:action="add">
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>DOESITWORK</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>false</WillWipeDisk>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Type>Primary</Type>
<Order>1</Order>
</CreatePartition>
</CreatePartitions>
</Disk>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<WindowsDeploymentServices>
<ImageSelection>
<InstallImage>
<Filename>win2k3proof-(2).wim</Filename>
<ImageGroup>vmware</ImageGroup>
<ImageName>WDSTST</ImageName>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
<Login>
<Credentials>
<Password>password</Password>
<Username>wdsservice</Username>
<Domain>Domainname</Domain>
</Credentials>
</Login>
</WindowsDeploymentServices>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<WillShowUI>OnError</WillShowUI>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/data/os/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Does someone have a suggestion on how to resolve this?

Some data:

Both the WDS server and test machine a made in VMware.

WDS server:

OS - Win2k3 ent sp2

mem - 512

proc - 1

XP/win2k3

OS - Win2k3

mem - 512

proc 1

Well...i hope it makes sense and if there are any questions, pls ask them :)


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...