sniper8952
Lt. Junior Grade
- Registriert
- Juni 2008
- Beiträge
- 353
Hallo zusammen
Ich möchte mit einem Bootstick und dem autounattend.xml File Windows 11 auf einem ASUS Zephyrus GU604vz installieren. Normalerweise funktioniert das auf Lenovo Notebook problemlos. Bei diesem Gerät jedoch nicht. Evtl. hängt das mit dem VMD Controller zusammen dieser ist aktuell aktiviert.
So sieht mein XML File aus:
Ich vermute, ich müsste vor der Partitionierung die Treiber für die Festplatte laden. Dafür habe ich auf dem USB Stick einen "Drivers" Ordner erstellt, jedoch funktioniert das nicht.
Hab ich einen Fehler im xml File drin?
Besten Dank im Voraus für eure Unterstützung!
Ich möchte mit einem Bootstick und dem autounattend.xml File Windows 11 auf einem ASUS Zephyrus GU604vz installieren. Normalerweise funktioniert das auf Lenovo Notebook problemlos. Bei diesem Gerät jedoch nicht. Evtl. hängt das mit dem VMD Controller zusammen dieser ist aktuell aktiviert.
So sieht mein XML File aus:
Die Fehlermeldung die ich erhalte ist: Der Datenträger "0" konnte nicht bereinigt werden. Der Zieldatenträger, die Zielpartition oder das Zielvolume unterstützt den angegeben Vorgang nicht. Der Fehler ist beim Anwenden der Einstellung <DiskConfiguration> der Antwortdatei für die unbeaufsichtigte Installation aufgetreten. Fehlercode 0x80300024.<?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>0807:00000807</InputLocale>
<UILanguage>de-de</UILanguage>
<UserLocale>de-ch</UserLocale>
<SystemLocale>en-US</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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>750</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>100</Size>
<Type>EFI</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Size>16</Size>
<Type>MSR</Type>
</CreatePartition>
<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>
<!-- Windows partition -->
<ModifyPartition wcm:action="add">
<Order>3</Order>
<PartitionID>4</PartitionID>
<Label>Windows</Label>
<Letter>C</Letter>
<Format>NTFS</Format>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>4</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/image/name</Key>
<Value>Windows 11 Pro</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key>
</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DriverPaths>
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Credentials />
<Path>C:\Drivers</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
<Credentials />
<Path>D:\Drivers</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="23">
<Credentials />
<Path>E:\Drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<LocalIntranetSites>*.local</LocalIntranetSites>
<Home_Page>https://www.google.ch</Home_Page>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
</component>
<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">
<TimeZone>W. Europe Standard Time</TimeZone>
<RegisteredOrganization>XXXX</RegisteredOrganization>
<RegisteredOwner>XXX</RegisteredOwner>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>0807:00000807</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UserLocale>de-ch</UserLocale>
</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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Path>powershell.exe -noprofile -command set-executionpolicy bypass -force</Path>
<Order>1</Order>
<Description>PowerShell Execution Policy...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\removeapps.ps1</Path>
<Order>2</Order>
<Description>Cleaning preinstalled Apps...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\StartLayout.ps1</Path>
<Order>3</Order>
<Description>Setting Start-Layout...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD "HKLM\SOFTWARE\Zander - Tools\{54F5CC06-300A-4DD4-94D9-0E18B2BE8DF1}" /v "CUSTOMER" /t REG_SZ /d "9qZcRtqLHMZd2mkMAYiagztuy"</Path>
<Order>4</Order>
<Description>Setting Start-Layout...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD "HKLM\SOFTWARE\Zander - Tools\{54F5CC06-300A-4DD4-94D9-0E18B2BE8DF1}" /v "ENDPOINT" /t REG_SZ /d "https://ch01b2zq2r.azurewebsites.net/chat"</Path>
<Order>5</Order>
<Description>Setting Start-Layout...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>REG ADD "HKLM\SOFTWARE\Policies\RuckZuck" /v "CustomerID" /t REG_SZ /d "9qZcRtqLHMZd2mkMAYiagztuy"</Path>
<Order>6</Order>
<Description>Setting ROMAWO ID...</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-TPM-Tasks" 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">
<ClearTpm>0</ClearTpm>
</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>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
</OOBE>
</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>
<ForceShutdownNow>false</ForceShutdownNow>
</Reseal>
</component>
</settings>
<settings pass="auditUser">
<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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>powershell.exe -noprofile -command "move-item -Path c:\windows\temp\* -Destination $env:temp -ea SilentlyContinue;exit(0)"</Path>
<WillReboot>Never</WillReboot>
<Description>Copy Files...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\mOSDPreReqCheck.ps1</Path>
<WillReboot>Never</WillReboot>
<Description>Checking PreRequisites...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "VCRedist2013x64" "VCRedist2013x86" "VCRedist2022x64" "VCRedist2022x86" "Microsoft .NET Runtime - 6.0"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing VCRedist...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\Office.ps1</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Office...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>5</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Edge"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Edge Chromium...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>6</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Teams Machine-Wide Installer"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Microsoft Teams Machine-Wide Installer...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>7</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "AdobeReader DC MUI"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing AdobeReader DC MUI...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>8</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "7-Zip(MSI)"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing 7-Zip(MSI)...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>9</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Notepad++(x64)"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Notepad++...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>10</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Firefox"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Firefox...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>11</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Greenshot"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Greenshot...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>12</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Microsoft Azure PowerShell"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Microsoft Azure PowerShell...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>13</Order>
<Path>"%programFiles%\zander tools\RZGet.exe" install "Logitech Options"</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Logitech Options...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>14</Order>
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Communications /v ConfigureChatAutoInstall /t REG_DWORD /d 0 /f</Path>
<WillReboot>Never</WillReboot>
<Description>Disabling Teams Chat App installation</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>15</Order>
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\CheckUpdates.ps1</Path>
<WillReboot>Never</WillReboot>
<Description>Installing Drivers...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>16</Order>
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\PolicyPPKG.ps1</Path>
<WillReboot>Never</WillReboot>
<Description>Installing PPKG...</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>17</Order>
<Path>powershell.exe -noprofile -File c:\windows\setup\scripts\BootOOBE.ps1</Path>
<WillReboot>Never</WillReboot>
<Description>Preparing OOBE...</Description>
</RunSynchronousCommand>
</RunSynchronous>
<Reseal>
<Mode>OOBE</Mode>
<ForceShutdownNow>true</ForceShutdownNow>
</Reseal>
</component>
</settings>
<cpifflineImage cpi:source="catalog://xxx/dw10/sources/install_windows 10 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Ich vermute, ich müsste vor der Partitionierung die Treiber für die Festplatte laden. Dafür habe ich auf dem USB Stick einen "Drivers" Ordner erstellt, jedoch funktioniert das nicht.
Hab ich einen Fehler im xml File drin?
Besten Dank im Voraus für eure Unterstützung!