Windows-7

SYSPREP Windows 7 語言欄安裝後

  • March 10, 2010

我有一個 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 佈局註冊鍵。

引用自:https://serverfault.com/questions/78934