我有一个 sysprep 文件,它与 Windows 7 ent 配合得很好。但是我安装了简体中文,现在 sysprep 运行后会出现一个选择英语或中文的框。我已将其设置为使用 en-au 作为输入语言。还有什么地方我需要更改或添加新内容吗?谢谢
此外,我还不断被提示这是哪种类型的网络,这也在答案文件中设置了。请参阅下面的 XML
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>8</SkipRearm>
</component>
<component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</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">
<ComputerName>*</ComputerName>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>E. Australia Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<Credentials>
<Domain>XXXXXX</Domain>
<Password>XXXXXX</Password>
<Username>XXXXXX</Username>
</Credentials>
<JoinDomain>XXXXXX</JoinDomain>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>JAAyADAAMAA4AGwAYwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>XXXXXXA</Value>
<PlainText>false</PlainText>
</Password>
<Name>XXXXXX</Name>
<Group>administrators</Group>
<DisplayName>Desktopadmin</DisplayName>
<Description>Local Admin Account</Description>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>XXXXX</RegisteredOrganization>
<RegisteredOwner>XXXXXX</RegisteredOwner>
<AutoLogon>
<Password>
<Value>XXXXXX</Value>
<PlainText>false</PlainText>
</Password>
<Domain>slc</Domain>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>XXXXXX</Username>
</AutoLogon>
</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-au</SystemLocale>
<UILanguage>en-au</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<UserLocale>en-au</UserLocale>
</component>
</settings>
<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>English</UILanguage>
</SetupUILanguage>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:g:/applications/windows 7 deployment tools/win 7 ent/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
答案1
我最终做的是从 Windows 更新中获取所有可用的语言包,或者我在这里找到一个列表http://www.mydigitallife.info/2009/07/26/download-windows-7-rtm-32-bit-x86-and-64-bit-x64-mui-language-packs-gold-msdntechnet-iso/
我获取了在运行每个语言安装 exe 时生成的 lp.cab 文件,重命名了每个文件,然后在机器完成 sysprep 安装后,我运行 lpksetup.exe /i * c:\langpackspath 来安装语言。我认为之后唯一需要做的就是为语言栏添加 HKCU\Keyboard 布局注册表项。