locked
Windows 7 unattended single drive partition error 0x80300024 RRS feed

  • Question

  • I'm trying to use the following answer file to install Enterprise 64bit to a single SATA2 500GB drive.  Initially it was working, but now after subsequent tests, it no longer functions.  I'm not using WDS to install it, just the DVD with an autounattended.xml answer file.

    I have 3 partitions:

    100MB - EFI - System

    128MB - MSR

    Extended - Primary - Windows

    UEFI Boot is enabled in the BIOS of the PC, but now it won't install and generates the 0x80300024 error and fails setup.

    Any help fixing this would be appreciated.

    <?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="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>en-US</InputLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
                <SystemLocale>en-US</SystemLocale>
                <LayeredDriver>1</LayeredDriver>
            </component>
            <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>
                    <FullName>A</FullName>
                    <Organization>User</Organization>
                </UserData>
                <EnableFirewall>false</EnableFirewall>
                <EnableNetwork>false</EnableNetwork>
                <DiskConfiguration>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Size>100</Size>
                                <Type>EFI</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Size>128</Size>
                                <Type>MSR</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Extend>true</Extend>
                                <Order>3</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Format>NTFS</Format>
                                <Label>System</Label>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                                <Order>2</Order>
                                <PartitionID>3</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Deployment" 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">
                <Reseal>
                    <ForceShutdownNow>false</ForceShutdownNow>
                    <Mode>OOBE</Mode>
                </Reseal>
            </component>
            <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>
                    <Username>Default</Username>
                    <Enabled>true</Enabled>
                </AutoLogon>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
                <RegisteredOrganization>User</RegisteredOrganization>
                <RegisteredOwner>A</RegisteredOwner>
                <TimeZone>Central Standard Time</TimeZone>
                <ShowWindowsLive>false</ShowWindowsLive>
            </component>
            <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>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
            </component>
        </settings>
        <settings pass="specialize">
            <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">
                <RegisteredOrganization>User</RegisteredOrganization>
                <RegisteredOwner>A</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>Central Standard Time</TimeZone>
                <ComputerName>*</ComputerName>
                <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
                <ProductKey>BBBBB-BBBBB-BBBBB-BBBBB-BBBBB</ProductKey>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Home_Page>http://www.google.ca</Home_Page>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:e:/5%20-%20test/win7%20test/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    

    Wednesday, July 18, 2012 4:21 PM

Answers

  • Your problem is your USB 3.0 port, as windows 7 HAL doesn't hold the drivers necessary for USB3.0 ports to initialize.

    To make it work you will have to mount your boot image with dism and update it with the correct USB 3.0 drivers so the key is recognized.

    Thanks

    Sean


    MCTS: Windows 7 MCITP: Windows 7 Enterprise Administration

    • Proposed as answer by tracycai Wednesday, August 22, 2012 7:54 AM
    • Marked as answer by Cloud_TS Thursday, August 23, 2012 2:05 AM
    Tuesday, July 24, 2012 9:00 PM

All replies

  • Have you validated unattended file before saving it?

    Rgds

    Milos

    Wednesday, July 18, 2012 8:37 PM
  • Hi ,

    Base on my research, in most case this is the partition issue.

    First, I suggest you perform the installation without the answer file and create the partitions manually for a test. If the issue persists, this issue is more related to the partition side.

    You may unload one partition and specify the size of the operation system installation drive.


    Tracy Cai

    TechNet Community Support


    • Edited by tracycai Thursday, July 19, 2012 9:03 AM
    Thursday, July 19, 2012 9:03 AM
  • I validated the file before saving it and came up with no issues.  The thing that concerns me is that the media partitions my drive with no problems but the answer file won't do it anymore.  It had previously been doing it with no problems.  I ran diskpart and set it to clean disk 0 just to be on the save side and it still won't work anymore.  Is there a known issue with using a USB2.0 device on a USB3.0 port to hold the answer file?  That's the only thing I can think of right now.

    The answer is not being read at all.  I've since added a Display setting under the WinPE configuration pass and even that setting is being ignored now

    Friday, July 20, 2012 1:17 PM
  • Hi,

    Have you tried to use diskpart to recreate the partitions and check the result?

    Best regards,

    Ruby Cheng


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, July 24, 2012 6:19 AM
  • Your problem is your USB 3.0 port, as windows 7 HAL doesn't hold the drivers necessary for USB3.0 ports to initialize.

    To make it work you will have to mount your boot image with dism and update it with the correct USB 3.0 drivers so the key is recognized.

    Thanks

    Sean


    MCTS: Windows 7 MCITP: Windows 7 Enterprise Administration

    • Proposed as answer by tracycai Wednesday, August 22, 2012 7:54 AM
    • Marked as answer by Cloud_TS Thursday, August 23, 2012 2:05 AM
    Tuesday, July 24, 2012 9:00 PM
    • Here i am post my unattend.xml which i implemented in my lab Please refer may be it useful to you

      Below is DISk Architecture

      For Above Architecture WdsUnattendClient.xml Are as follow

      ========================================WDSUnattendArchitecture=======================================

      <?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="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>

      <UILanguage>en-US</UILanguage>

      <InputLocale>en-US</InputLocale>

      <UserLocale>en-US</UserLocale>

      </component>

      <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="add">

      <CreatePartitions>

      <!-- Primary partition -->

      <CreatePartition wcm:action="add">

      <Order>1</Order>

      <Type>Primary</Type>

      <Size>50000</Size>

      </CreatePartition>

      <!-- Extended partition -->

      <CreatePartition wcm:action="add">

      <Order>2</Order>

      <Type>Extended</Type>

      <Extend>true</Extend>

      </CreatePartition>

      <!-- Logical Partition 1 -->

      <CreatePartition wcm:action="add">

      <Order>3</Order>

      <Type>Logical</Type>

      <Size>40000</Size>

      </CreatePartition>

      <!—Logical Partition 2 -->

      <CreatePartition wcm:action="add">

      <Order>4</Order>

      <Type>Logical</Type>

      <Size>100</Size>

      <!-- Note: To create a logical partition that fills

      the rest of the extended partition, create the

      data partition so that it has an initial size of 100.

      This will be changed in the ModifyPartition section. -->

      </CreatePartition>

      </CreatePartitions>

      <ModifyPartitions>

      <!-- Primary partition -->

      <ModifyPartition wcm:action="add">

      <Order>1</Order>

      <PartitionID>1</PartitionID>

      <Label>Windows</Label>

      <Format>NTFS</Format>

      <Active>true</Active>

      </ModifyPartition>

      <!-- Logical partition 1 -->

      <!-- Extended partition:

      This partition does not need to receive a partition number.

      It also does not need to be modified. -->

      <ModifyPartition wcm:action="add">

      <Order>2</Order>

      <PartitionID>2</PartitionID>

      <Label>Data</Label>

      <Format>NTFS</Format>

      </ModifyPartition>

      <!-- Logical partition 2 -->

      <ModifyPartition wcm:action="add">

      <Order>3</Order>

      <PartitionID>3</PartitionID>

      <Label>Others</Label>

      <Format>NTFS</Format>

      <Extend>true</Extend>

      <!-- Note: When you modify a logical partition, setting

      "ModifyPartition|Extend=true" sets the partition to

      fill the remainder of the extended partition.

      This overrides the "CreatePartition|Size" value. -->

      </ModifyPartition>

      </ModifyPartitions>

      <DiskID>0</DiskID>

      <WillWipeDisk>true</WillWipeDisk>

      </Disk>

      <WillShowUI>OnError</WillShowUI>

      </DiskConfiguration>

      <ImageInstall>

      <OSImage>

      <InstallTo>

      <DiskID>0</DiskID>

      <PartitionID>1</PartitionID>

      </InstallTo>

      </OSImage>

      </ImageInstall>

      <WindowsDeploymentServices>

      <ImageSelection>

      <InstallImage>

      <Filename>install.wim</Filename>

      <ImageGroup>VistaInstallation</ImageGroup>

      <ImageName>fullimagename</ImageName>

      </InstallImage>

      <InstallTo>

      <DiskID>0</DiskID>

      <PartitionID>1</PartitionID>

      </InstallTo>

      </ImageSelection>

      <Login>

      <Credentials>

      <Domain>DomainName.com</Domain>

      <Password>Password</Password>

      <Username>UserName</Username>

      </Credentials>

      </Login>

      </WindowsDeploymentServices>

      </component>

      </settings>

      <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows vista ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

      </unattend>

    Kalpesh Patel If you find these posts answered your question or issue, please click on "Mark as answer". If a post contained helpfull information, please be click on the "Vote as helpful" button

    Wednesday, July 25, 2012 2:20 PM