Quantcast
Viewing all articles
Browse latest Browse all 2818

USB Deployment Answer File Errors

So...I have a custom wim that I am deploying via USB. It was all successful, etc. but I would like to use an answer file. So I created the answer file and used dism to integrated it into the wim as so:

Dism /Mount-Wim /WimFile:C:\Windows7\install.wim /index:1 /MountDir:C:\Mount

Dism /image:C:\Mount /Apply-Unattend:C:\unattend.xml 

Dism /Unmount-Wim /MountDir:C:\Mount /commit

However, when I attempt to boot, I have two issues:

1.) The Answer file seems not to take effect as it still requires all sorts of input

2.) The installation eventually errors out with "Windows could not prepare the partition selected for installation"

I created my answer file via Windows SIM, and here it is...

<?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"><UserData><AcceptEula>true</AcceptEula></UserData><ImageInstall><OSImage><InstallTo><DiskID>0</DiskID><PartitionID>2</PartitionID></InstallTo><InstallToAvailablePartition>false</InstallToAvailablePartition><WillShowUI>OnError</WillShowUI></OSImage></ImageInstall><DiskConfiguration><WillShowUI>OnError</WillShowUI><Disk wcm:action="add"><CreatePartitions><CreatePartition wcm:action="add"><Order>2</Order><Type>Primary</Type><Extend>true</Extend></CreatePartition><CreatePartition wcm:action="add"><Order>1</Order><Size>300</Size><Type>Primary</Type></CreatePartition></CreatePartitions><ModifyPartitions><ModifyPartition wcm:action="add"><Format>NTFS</Format><Label>Windows</Label><Order>2</Order><PartitionID>2</PartitionID></ModifyPartition><ModifyPartition wcm:action="add"><Active>true</Active><Format>NTFS</Format><Label>System</Label><Order>1</Order><PartitionID>1</PartitionID></ModifyPartition></ModifyPartitions><DiskID>0</DiskID><WillWipeDisk>true</WillWipeDisk></Disk></DiskConfiguration></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></component></settings><settings pass="specialize"><component name="Microsoft-Windows-International-Core" 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"><InputLocale>en-US</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale></component><component name="Microsoft-Windows-UnattendedJoin" 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"><Identification><Credentials><Domain>*****</Domain><Password>*****cpu</Password><Username>*****</Username></Credentials><MachineObjectOU>OU=Deployment,OU=Computers,OU=***,DC=***,DC=***,DC=***</MachineObjectOU><JoinDomain>*****</JoinDomain></Identification></component></settings><cpi:offlineImage cpi:source="wim://*****/users/*****/desktop/install.wim#CAPTUREDDrive" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
Any help is very greatly appreciated

Viewing all articles
Browse latest Browse all 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>