Announcement

Collapse
No announcement yet.

Deploying via USB drive with 1803 version AutounAttend file not working

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deploying via USB drive with 1803 version AutounAttend file not working

    We deploy the OS for Windows 10 with a boot-able USB drive with the OS and a Provisioning package. It is and has been working for Windows 10 1507, 1709 etc. I am trying it with the new version 1803 and it fails immediately with "Windows could not clean Disk 0. The specified Disk does not exist. The error occurred while applying the unattend files <DiskConfiguration> setting Error code 0x80300025

    Below is the autounattend file we use. Its worked for the previous versions is there something in it I need to change to get it to work for Windows 10 1803?




    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">

    <!-- The <servicing> section below can be used to install the latest cumulative update for Windows 10. You can extract the CAB
    from the .MSU update file. You will need to ensure the following properties are updated: version="15063.138.1.3" the version
    needs to match the version for the CAB update you can get this information from the update.xml file within the CAB. The following
    property also needs updated: source location="D:\Updates\Windows10.0-KB4015583-x64.cab" /> you should change the filename so it
    matches the .CAB you are trying to install. DISM requires the full path. You should create an Updates folder on your USB drive
    and copy the latest CU CAB in there and just change the file name. If for some reason your USB drive letter is not D: during the
    offlineservicing phase of imaging, you will need to change the letter as well. NOTE: The <servicing> section is commented out
    by default you will need to remove the comments around the section below to enable it -->

    <!--
    <servicing>
    <package action="install" permanence="removable">
    <assemblyIdentity name="Package_for_RollupFix" version="15063.138.1.3" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" />
    <source location="D:\Updates\Windows10.0-KB4015583-x64.cab" />
    </package>
    </servicing>
    -->

    <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" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
    <OEMInformation>
    <Manufacturer>Cedar Rapids Community School District</Manufacturer>
    <SupportURL>http://www.cr.k12.ia.us</SupportURL>
    </OEMInformation>
    <!-- You can change the timezone below as needed -->
    <TimeZone>Central Standard Time</TimeZone>
    </component>
    </settings>

    <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" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>

    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
    <DiskConfiguration>
    <!-- Format disk 0 using UEFI partitioning -->
    <Disk wcm:action="add">
    <CreatePartitions>
    <!-- Windows RE Tools partition -->
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Size>300</Size>
    <Type>Primary</Type>
    </CreatePartition>
    <!-- System partition (ESP) -->
    <CreatePartition wcm:action="add">
    <Order>2</Order>
    <Size>100</Size>
    <Type>EFI</Type>
    </CreatePartition>
    <!-- Microsoft reserved partition (MSR) -->
    <CreatePartition wcm:action="add">
    <Order>3</Order>
    <Size>128</Size>
    <Type>MSR</Type>
    </CreatePartition>
    <!-- Windows partition -->
    <CreatePartition wcm:action="add">
    <Order>4</Order>
    <Extend>true</Extend>
    <Type>Primary</Type>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <!-- Windows RE Tools partition -->
    <ModifyPartition wcm:action="add">
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <Label>WINRE</Label>
    <Format>NTFS</Format>
    <TypeID>de94bba4-06d1-4d40-a16a-bfd50179d6ac</TypeID>
    </ModifyPartition>
    <!-- System partition (ESP) -->
    <ModifyPartition wcm:action="add">
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    <Label>System</Label>
    <Format>FAT32</Format>
    </ModifyPartition>
    <!-- Microsoft reserved partition (MSR) -->
    <ModifyPartition wcm:action="add">
    <Order>3</Order>
    <PartitionID>3</PartitionID>
    </ModifyPartition>
    <!-- Windows partition -->
    <ModifyPartition wcm:action="add">
    <Order>4</Order>
    <PartitionID>4</PartitionID>
    <Label>Windows</Label>
    <Format>NTFS</Format>
    </ModifyPartition>
    </ModifyPartitions>
    <!-- If the USB detects as disk 0 on machine change the below <DiskID> to 1 so it formats the disk on the devices -->
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    </Disk>
    <WillShowUI>OnError</WillShowUI>
    </DiskConfiguration>

    <ImageInstall>
    <OSImage>
    <InstallTo>
    <!-- If the USB detects as disk 0 on machine change the below <DiskID> to 1 so it install Windows to the right disk -->
    <DiskID>0</DiskID>
    <PartitionID>4</PartitionID>
    </InstallTo>
    </OSImage>
    </ImageInstall>

    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Order>1</Order>
    <!-- This sets the power scheme to high performance in WinPE for faster imaging -->
    <Path>cmd /c PowerCfg.exe /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</Path>
    </RunSynchronousCommand>
    </RunSynchronous>

    <UserData>
    <ProductKey>
    <WillShowUI>Never</WillShowUI>

    <!-- Windows 10 Enterprise -->
    <Key>xxxxxxxxxxxxx</Key>


    </ProductKey>
    <AcceptEula>true</AcceptEula>
    </UserData>

    </component>

    </settings>


    <settings pass="offlineServicing">
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- Sets driver folders to use for PNP driver installs. I use multiple drive letters incase the USB drive letter is different
    on different models in WinPE. Just create a Drivers folder on the USB drive and copy the drivers packs you need into the folder. -->
    <DriverPaths>
    <PathAndCredentials wcm:action="add" wcm:keyValue="1">
    <Path>D:\Drivers</Path>
    </PathAndCredentials>
    <PathAndCredentials wcm:action="add" wcm:keyValue="2">
    <Path>C:\Drivers</Path>
    </PathAndCredentials>
    <PathAndCredentials wcm:action="add" wcm:keyValue="3">
    <Path>E:\Drivers</Path>
    </PathAndCredentials>
    <PathAndCredentials wcm:action="add" wcm:keyValue="4">
    <Path>F:\Drivers</Path>
    </PathAndCredentials>
    </DriverPaths>
    </component>
    </settings>

    <cpifflineImage cpi:source="catalog:d:/sources/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
Working...
X