如何在无人值守的 Windows 8 安装期间跳过个性化页面(颜色和计算机名称)?

如何在无人值守的 Windows 8 安装期间跳过个性化页面(颜色和计算机名称)?

我目前正在设置无人值守的 Windows 8 设置,但我偶然发现并且无法跳过个性化页面。

  • 有趣的部分应该在 OOBE 部分,其中已经填充了一些<HideXXX>true</HideXXX>开关。

我的unattend.xml

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <UserData>
        <ProductKey>
          <WillShowUI>Never</WillShowUI>
          <Key>GCRJD-8NW9H-F2CDX-CCM8D-9D6T9</Key>
        </ProductKey>
        <AcceptEula>true</AcceptEula>
        <FullName>Company</FullName>
        <Organization>Company</Organization>
      </UserData>
      <UseConfigurationSet>true</UseConfigurationSet>
      <ImageInstall>
        <OSImage>
          <InstallToAvailablePartition>true</InstallToAvailablePartition>
          <InstallFrom>
            <MetaData>
              <Key>/IMAGE/Name</Key>
              <Value>Windows 8.1 Pro</Value>
            </MetaData>
          </InstallFrom>
        </OSImage>
      </ImageInstall>
    </component>
  </settings>
  <settings pass="specialize">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <AutoLogon>
        <Password>
          <Value>cwB1AGasdfG8AcgBkAA==</Value>
          <PlainText>false</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <LogonCount>2</LogonCount>
        <Username>newinstall</Username>
      </AutoLogon>
      <ProductKey>GCRJD-8NW9H-F2CDX-CCM8D-9D6T9</ProductKey>
      <RegisteredOrganization>Company</RegisteredOrganization>
      <RegisteredOwner>Company</RegisteredOwner>
      <TimeZone>GMT Standard Time</TimeZone>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <Identification>
        <JoinWorkgroup>WORKGROUP</JoinWorkgroup>
      </Identification>
    </component>
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <RunSynchronous>
        <RunSynchronousCommand wcm:action="add">
          <Description>Setting Network Location</Description>
          <Path>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 00000000 /f</Path>
          <Order>1</Order>
          <WillReboot>OnRequest</WillReboot>
        </RunSynchronousCommand>
      </RunSynchronous>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <HideLocalAccountScreen>true</HideLocalAccountScreen>
        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        <NetworkLocation>Work</NetworkLocation>
        <ProtectYourPC>3</ProtectYourPC>
      </OOBE>
      <UserAccounts>
        <LocalAccounts>
          <LocalAccount wcm:action="add">
            <Password>
              <Value>cwB1AGasdfG8AcgBkAA==</Value>
              <PlainText>false</PlainText>
            </Password>
            <Name>newinstall</Name>
            <Group>Administrators</Group>
          </LocalAccount>
        </LocalAccounts>
      </UserAccounts>
    </component>
  </settings>
</unattend>

答案1

我发现,这似乎回答了你(和我)的问题:

在 Windows 映像窗格(左下角)中:

  1. 选择组件amd64_Microsoft-Windows-Shell-Setup_6.2.9200.16384_neutral
  2. 右键单击并选择添加设置以进行第 4 轮专项训练
  3. 使用应答文件属性和设置窗格,配置以下设置:
    • ComputerName:您可以使用*随机生成的计算机名称
    • RegisteredOwner
    • TimeZone:拼写出来(例如东部标准时间)

相关内容