Jump to content











Photo
- - - - -

Windows Server 2008 R2 64 Bit unattended installation from USB stick


  • Please log in to reply
1 reply to this topic

#1 FrankinBerlin

FrankinBerlin
  • Members
  • 4 posts
  •  
    Germany

Posted 23 November 2009 - 07:47 AM

Hello

I have the setup DVD on a USB Stick implemented and the file
autounattended.xml in the root copied. Setup say that it cannat not install
on disk0 because it can not boot from. With diskpart command the flag Bootdisk is shown = NO.
Installation without autounattended.xml on the USB stick runs normal.

here the autounattended.xml:
[codebox] <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="CorporationHelpCustomization" state="false" /> <selection name="SNMP" state="true" /> <selection name="WMISnmpProvider" state="true" /> <selection name="WindowsServerBackupCommandlet" state="true" /> <selection name="WindowsServerBackup" state="true" /> <selection name="MicrosoftWindowsPowerShellISE" state="false" /> <selection name="NetFx3" state="false" /> </package> </servicing> <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>en-US</UILanguage> <WillShowUI>OnError</WillShowUI> </SetupUILanguage> <InputLocale>0407:00000407</InputLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-GB</UserLocale> <UILanguageFallback></UILanguageFallback> <SystemLocale>en-GB</SystemLocale> </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> <Key></Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>IT</FullName> <Organization>TI</Organization> </UserData> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>100</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Size>60000</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>3</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Order>1</Order> <PartitionID>1</PartitionID> <Format>NTFS</Format> <Label>SYSTEM</Label> <TypeID>0x27</TypeID> <Active>true</Active> </ModifyPartition> <ModifyPartition wcm:action="add"> <Order>2</Order> <PartitionID>2</PartitionID> <Format>NTFS</Format> <Label>WINDOWS</Label> <Letter>C</Letter> </ModifyPartition> <ModifyPartition wcm:action="add"> <Order>3</Order> <PartitionID>3</PartitionID> <Format>NTFS</Format> <Label>DATA</Label> <Letter>D</Letter> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> <InstallFrom> <MetaData wcm:action="add"> <Value>Windows Server 2008 R2 SERVERENTERPRISE</Value> <Key>/IMAGE/NAME</Key> </MetaData> </InstallFrom> </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>true</HideWirelessSetupInOOBE> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <AutoLogon> <Password> <PlainText>false</PlainText> <Value>VABJADYANgA2ADYAKwArAFAAYQBzAHMAdwBvAHIAZAA=</Value> </Password> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> <UserAccounts> <AdministratorPassword> <Value>VABJADYANgA2ADYAKwArAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkA A==</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> </component> <component name="Microsoft-Windows-Deployment" 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"> <Reseal> <Mode>Audit</Mode> </Reseal> </component> </settings> <settings pass="specialize"> <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"> <ComputerName>SERVERNAME</ComputerName> <OEMInformation> <Manufacturer>HP</Manufacturer> </OEMInformation> </component> <component name="Microsoft-Windows-UnattendedJoin" 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"> <Identification> <Credentials> <Domain>TI-S</Domain> <Username>SA_INSTHELP</Username> <Password>Save2008!</Password> </Credentials> <JoinDomain>TI-S</JoinDomain>
</Identification>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/sources/install.wim#Windows Server 2008 R2 SERVERENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
[/codebox]

Does anyboday have an idea?

Frank

#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 23 November 2009 - 10:33 AM

Does anyboday have an idea?


YES. :cheers:
http://homepages.tes...no-answers.html


This is the relevant part translated in "human readable" format:
DiskConfiguration:Disk:CreatePartitions:CreatePartition:Order: 1Type: PrimarySize: 100CreatePartition:Order: 2Type: PrimarySize: 60000CreatePartition:Order: 3Type: PrimaryExtend: trueModifyPartitions:ModifyPartition:Order: 1PartitionID: 1Format: NTFSLabel: SYSTEMTypeID: 0x27Active: trueModifyPartition:Order: 2PartitionID: 2Format: NTFSLabel: WINDOWSLetter: CModifyPartition:Order: 3PartitionID: 3Format: NTFSLabel: DATALetter: DDiskID: 0WillWipeDisk: trueWillShowUI: AlwaysImageInstall:OSImage:InstallTo:DiskID: 0PartitionID: 2InstallToAvailablePartition: false
By comparing it with the example posted here:http://technet.microsoft.com/en-us/library...365(WS.10).aspx
besides some commands put in different order, I can spot a few "missing" items and some added ones, like "InstallToAvailablePartition: false", really cannot say which are the culprits. :dubbio:

I would first thing put the .xml "on-par", and then check the additional options.

Check the attached .xls spreadsheet.

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users