Hallo zusammen,
Ich habe ein Problem mit dem partitionieren der VHD über eine Antwortdatei. Ich hoffe ich bekomme hier Hilfe.
Ich habe einen Windows Server 2016 mit der Rolle WDS installiert. Start- und Installationsabbilder hinzugefügt. Die Virtuelle Maschine bootet auch über PXE. Leider bleibt die VM immer wieder in der GUI "Wo möchten Sie Windows installieren?" stehen. Ich habe auch schon den Artikel von Maik gelesen nur leider hat der mir auch nicht weiter geholfen.
Hier einmal meine AutoUnattended.xml
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" 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>de-de</UILanguage> </SetupUILanguage> <InputLocale>de-de</InputLocale> <SystemLocale>de-de</SystemLocale> <UILanguage>de-de</UILanguage> <UserLocale>de-de</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <Key>12345-12345-12345-12345-12345</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>Sascha W</FullName> <Organization>Lokal</Organization> </UserData> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>Windows</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <WindowsDeploymentServices> <Login> <Credentials> <Domain>swetter.local</Domain> <Password>Password</Password> <Username>wettsa3</Username> </Credentials> </Login> </WindowsDeploymentServices> <ImageInstall> <OSImage> <InstallFrom> <Credentials /> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallToAvailablePartition>true</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OOBE> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE> <SkipMachineOOBE>false</SkipMachineOOBE> <ProtectYourPC>3</ProtectYourPC> <SkipUserOOBE>false</SkipUserOOBE> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> <AutoLogon> <Password> <Value>TgBpAGMAbwBsAGUANQA0ADQANQA5ADkAOABQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> </settings> <cpi:offlineImage cpi:source="wim://desw01wds01v/cabbilder/windows%207/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
Hallo!
Wenn ich es richtig sehe hast du keine Größe für die Partition angegeben. Dazu müsste im Abschnitt Create Partition die Option Extend mit true konfiguriert werden, alles was da ist. Oder Extend mit false und die Option Size mit einem Wert in MB.