我有一个 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>
我最终做的是从 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 布局注册键。