April 17, 200719 yr I have an issue with my unattended setup. I've gotten almost everything to work except for the fact that I'm installing this on preexisting systems that already have partitions. I have not found a way yet to get the unattended setup to simply blow away an entire disk and reimage it. I have tried setting the disk and create partition to delete, modify, and add, but it never seems to delete the partitions on the disk. Has anyone run in to this?<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-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"> <AutoLogon> <Password> <Value>xxxxxxxxx</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>3</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> </component> </settings> <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="modify"> <CreatePartitions> <CreatePartition wcm:action="modify"> <Extend>true</Extend> <Order>1</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Extend>true</Extend> <Active>true</Active> <Format>NTFS</Format> <Label>OS_INSTALL</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>XXXXXXXXXXXXX</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </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> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Vista ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
April 18, 200719 yr gangsterhenk posted a similar question and i think both answers are the same. Here is my section for the disk config under WDSCLIENTUNATTEND.xml- <DiskConfiguration>- <Disk wcm:action="add">- <ModifyPartitions>- <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>Local Disk</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions>- <CreatePartitions>- <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>1</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration>
April 19, 200719 yr Author Thanks this fixes the issue, just in case anyone else has trouble with this here is what I found.1) If you set the Disk section to Wipe Disk = True that appears to wipe out all partition data on the disk2) You can not extend the partition you create, but it can be extended on the modify-Nebruin
April 20, 200719 yr I tried the diskconfig part of graymadder, but still nothing happens....i will combine the full unattended fileof nebruin and use the disk-settings from graymadder..and figure out what the problem is.cheers.ghk.
April 20, 200719 yr this is part of my Autounattend.xml this will install vista home premium to drive 0 partition 1 it will format the partition also and leave other partitions alone <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"> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Vista HOMEPREMIUM</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>George</FullName> <Organization>None</Organization> </UserData> <Diagnostics> <OptIn>false</OptIn> </Diagnostics> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>75</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk wcm:action="add"> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Extend>false</Extend> <Format>NTFS</Format> <Label>Main</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> <Active>true</Active> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>false</WillWipeDisk> </Disk> </DiskConfiguration> Edited April 20, 200719 yr by urie
Create an account or sign in to comment