Encontrei uma solução aqui
PS: Alterou o valor para Windows 8.1
e funcionou bem!
Gerei um arquivo AutoUnattend.xml
usando o programa Windows System Image Manager
que está incluído no pacote WAIK
(agora chamado ADK
para Windows 8 / 8.1) para instalar o Windows 8.1 de maneira autônoma.
Agora, gostaria de adicionar um atributo no meu arquivo AutoUnattend.xml
para selecionar automaticamente o OS Edition que desejo instalar para ignorar a tela de seleção do sistema operacional. Eu sei que essa tela pode ser ignorada porque eu a vi em outras ISOs do Windows autônomo, mas não sei como fazer isso.
Esta é a tela que eu gostaria de ignorar selecionando automaticamente a edição de imagem única do Windows que existe na imagem (que é 'Windows 8.1', edição Core):
EesteéomeuarquivoAutoUnattend.xml
:
<?xmlversion="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Client-LanguagePack-Package" version="6.3.9600.16384" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="es-ES" />
</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">
<UserLocale>es-ES</UserLocale>
<UILanguageFallback>es-ES</UILanguageFallback>
<UILanguage>es-ES</UILanguage>
<SystemLocale>es-ES</SystemLocale>
<InputLocale>es-ES</InputLocale>
</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">
<Display>
<HorizontalResolution>1920</HorizontalResolution>
<VerticalResolution>1080</VerticalResolution>
<ColorDepth>32</ColorDepth>
</Display>
<UserData>
<ProductKey>
<WillShowUI>Never</WillShowUI>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<Organization>Elektro Studios</Organization>
<FullName>MY NAME</FullName>
</UserData>
<EnableNetwork>true</EnableNetwork>
<EnableFirewall>true</EnableFirewall>
<Restart>Restart</Restart>
</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">
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<ComputerName>Elektro-PC</ComputerName>
<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
<RegisteredOrganization>Elektro Studios</RegisteredOrganization>
<TimeZone>Romance Standard Time</TimeZone>
<WindowsFeatures>
<ShowInternetExplorer>false</ShowInternetExplorer>
<ShowMediaCenter>false</ShowMediaCenter>
<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
</WindowsFeatures>
<Themes>
<WindowColor>0</WindowColor>
</Themes>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
</component>
<component name="Microsoft-Windows-HelpAndSupport" 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">
<HelpAndSupport>
<Manufacturer>Elektro Studios</Manufacturer>
</HelpAndSupport>
</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">
<UserLocale>es-ES</UserLocale>
<UILanguageFallback>es-ES</UILanguageFallback>
<UILanguage>es-ES</UILanguage>
<SystemLocale>es-ES</SystemLocale>
<InputLocale>es-ES</InputLocale>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</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>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<ProtectYourPC>3</ProtectYourPC>
<NetworkLocation>Home</NetworkLocation>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
</OOBE>
<VisualEffects>
<FontSmoothing>On</FontSmoothing>
<SystemDefaultBackgroundColor>0</SystemDefaultBackgroundColor>
</VisualEffects>
<TimeZone>Romance Standard Time</TimeZone>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<Themes>
<WindowColor>0</WindowColor>
</Themes>
<WindowsFeatures>
<ShowInternetExplorer>false</ShowInternetExplorer>
<ShowMediaCenter>false</ShowMediaCenter>
<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
</WindowsFeatures>
</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>es-ES</InputLocale>
<SystemLocale>es-ES</SystemLocale>
<UILanguage>es-ES</UILanguage>
<UILanguageFallback>es-ES</UILanguageFallback>
<UserLocale>es-ES</UserLocale>
</component>
</settings>
<settings pass="auditSystem">
<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">
<Themes>
<WindowColor>0</WindowColor>
</Themes>
<WindowsFeatures>
<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
<ShowMediaCenter>false</ShowMediaCenter>
<ShowInternetExplorer>false</ShowInternetExplorer>
</WindowsFeatures>
</component>
</settings>
<settings pass="auditUser">
<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">
<Themes>
<WindowColor>0</WindowColor>
</Themes>
<WindowsFeatures>
<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
<ShowInternetExplorer>false</ShowInternetExplorer>
<ShowMediaCenter>false</ShowMediaCenter>
</WindowsFeatures>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/users/administrador/desktop/win%208%20.1/win/sources/install.wim#Windows 8.1" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Para o Windows 10, não consegui usar /IMAGE/NAME
e o valor da string Windows 10 Pro
(por motivos desconhecidos para mim), conforme proposto na resposta de @ElektroStudios.
Isso foi o que eu adicionei ao meu Autounattended.xml na tag OSImage
, que funcionou para mim:
<InstallFrom>
<MetaData wcm:action="add">
<Key>/image/index</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
Isso selecionou automaticamente a primeira opção, pois recebi duas opções durante a instalação assistida:
Windows 10 Pro x64 10/30/2015
Windows 10 Home x64 10/30/2015
Por favor, note que / image / index e / image / name diferenciam maiúsculas de minúsculas. No caso do Windows 10 Enterprise Build 1709:
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>3</Value>
</MetaData>
</InstallFrom>
Se você quiser verificar quais valores você precisa, você pode verificar com a ferramenta de linha de comando imagex que faz parte do AIK (Ambiente de Ferramentas de Implantação e Criação de Imagens).