Назад | Перейти на главную страницу

Выберите часовой пояс после sysprep

Можно ли в файле unattend.xml указать параметр, чтобы иметь возможность выбирать часовой пояс из списка?

Пожалуйста, дайте мне совет

Мой файл:

<?xml version="1.0" encoding="utf-8"?> 

<unattend xmlns="urn:schemas-microsoft-com:unattend">

    <settings pass="oobeSystem">

       <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>en-US </InputLocale>

            <SystemLocale>en-US</SystemLocale>

            <UILanguage>en-US</UILanguage>

            <UILanguageFallback>en-US</UILanguageFallback>

            <UserLocale>en-US</U serLocale>

        </component>

        <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">

            <OEMInformation>

                <Manufacturer>YXC</Manufacturer>

                <SupportURL>http://www.yxc.com</SupportURL>

            </OEMInformation>

            <OOBE>

                <HideEULAPage>true</HideEULAPage>

                <NetworkLocation>Work</NetworkLocation>

                <ProtectYourPC>1</ProtectYourPC>

            </OOBE>

            <UserAccounts>

                <AdministratorPassword>

                    <Value>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</Value>

                    <PlainText>false</PlainText>

                </AdministratorPassword>

                <LocalAccounts>

                    <LocalAccount wcm:action="add">

                        <Password>

                            <Value>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</Value>

                            <PlainText>false</PlainText>

                        </Password>

                        <Description>Admin</Description>

                        <DisplayName>Admin</DisplayName>

                        <Group>Administrators</Group>

                        <Name>Admin</Name>

                    </LocalAccount>

                </LocalAccounts>

            </UserAccounts>

            <WindowsFeatures>

                <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>

                <ShowMediaCenter>false</ShowMediaCenter>

            </WindowsFeatures>

            <RegisteredOrganization>Some name</RegisteredOrganization>

            <RegisteredOwner>Some name</RegisteredOwner>

            <TimeZone>Eastern Standard Time</TimeZone>

            <ShowWindowsLive>false</ShowWindowsLive>

        </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">

           <RegisteredOrganization>Some name</RegisteredOrganization>

            <RegisteredOwner>Some name</RegisteredOwner>

            <ProductKey>YXCVB-YXCVB-YXCVB-YXCVB-YXCVB</ProductKey>

        </component>

    </settings>

    <cpi:offlineImage cpi:source="wim://tsclient/e/sources/install.wim#Windows 8.1 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi"/>

</unattend>

Конечно, сделайте это в проходе "specialize":

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <!-- snip -->
    <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">
            <TimeZone>Eastern Standard Time</TimeZone>
        </component>
    <!-- snip -->
    </settings>
    <!-- snip -->
</unattend>

TechNet содержит дополнительные сведения о Microsoft-Windows-Shell-Настройка компонент и Часовой пояс.