建立名為 Oobe.xml 的檔案,以組織 OOBE 期間顯示的文字和影像,並指定自訂 Windows 10 首次執行體驗的設定。Create a file named Oobe.xml to organize text and images displayed during OOBE, and to specify settings for customizing the Windows 10 first-run experience. 針對 Windows 10,您可以使用多個 Oobe.xml 檔案來進行語言和特定區域的授權條款和設定,讓使用者可以在啟動電腦時立即看到適當的資訊。For Windows 10, you can use multiple Oobe.xml files for language- and region-specific license terms and settings so that users see appropriate info as soon as they start their PCs. 藉由指定 Oobe.xml 檔中的資訊,您將有助於填寫一些必要的資訊,讓使用者只需要進行設定電腦所需的核心工作。By specifying information in the Oobe.xml file, you help fill in some of the required information so that users are asked to do only the core tasks required to set up their PCs.

OOBE.xml 設定OOBE.xml settings

您可以使用 Oobe.xml 設定預設語言、位置和鍵盤配置。You can set the default language, location, and keyboard layout using Oobe.xml. 您在 Oobe.xml 中設定的預設值將會是使用者在 OOBE 期間于語言、區域和鍵盤配置選取畫面上看到的預設值。The default values you set in Oobe.xml will be the default values the user sees on the Language, Region, and Keyboard layout selection screens during OOBE. 如果需要,使用者可以從清單中選取另一個值,而其選取專案將會覆寫 Oobe.xml 設定。The user can select another value from the list if desired, and their selection will override the Oobe.xml settings.

您也可以使用 Oobe.xml 來指定裝置的預設時區。You can also specify a default timezone for the device using Oobe.xml. 如果裝置在 OOBE 期間具有網路連線能力,Windows 會嘗試偵測使用者的時區,這將會覆寫 Oobe.xml 中設定的值。If the device has network connectivity during OOBE, Windows will attempt to detect the user’s time zone and this will override the value set in Oobe.xml. 如果裝置沒有連線能力,或使用者已在 OOBE 中關閉位置設定,則 Windows 將無法偵測時區,而且會預設為您在 Oobe.xml 中設定的值。If the device does not have connectivity, or the user has turned off Location settings in OOBE, Windows will not be able to detect the timezone, and will default to the value you set in Oobe.xml. 在此情況下,使用者會看到此時區會在到達桌面之後反映其時鐘。In this case, the user will see this timezone reflected by their clock once they reach the desktop.

如需您可以設定的時區清單,請參閱 預設的時區For a list of time zones you can set, see Default Time Zones.

還有一些其他設定可讓您進一步自訂 OOBE。There are a number of other settings available to enable further customization of OOBE. 如需所有可用設定的相關資訊,請參閱 設定 Oobe.xmlSee Configure Oobe.xml for information about all of the settings available to you.

設定多國語言和區域部署的 OOBE.xml,以及單一語言和區域部署Configure OOBE.xml for multi-language and region deployments, and single-language and region deployments

您可以為您想要部署的每個語言和區域建立多個 OOBE.xml 檔案,以便在每個位置提供適當的預設值。You can create multiple OOBE.xml files for each language and region you intend to deploy in to provide appropriate default values in each location. 如需詳細資訊,請參閱 OOBE.xml 的運作方式For more information, see How OOBE.xml works.

Oobe.xml 範例Oobe.xml example

        <title>Register your PC</title>
        <subtitle>This page will help Fabrikam know about you.</subtitle>
          <label>Let Fabriakm contact you</label>
          <label>Use Contoso Antimalware to help protect your PC</label>
          <label>Let Fabrikam send you offers</label>
          <label>Let Fabrikam send you offers</label>
          <label>Learn more about Contoso Antimalware</label>
          <label>Learn more about Fabrikam offers</label>
          <label>Fabrikam privacy statement</label>
      <timezone>Central Europe Daylight Time</timezone>
      <title>Pair Your Fabrikam MouseKeyboard</title>
      <mouseText>Pair your mouse now.</mouseText>
      <mouseErrorText>Something has gone wrong.</mouseErrorText>
      <keyboardText>Now pair the keyboard.</keyboardText>
      <keyboardErrorText>Keyboard pairing did not happen.</keyboardErrorText>
      <keyboardPINText>Enter the PIN for your keyboard.</keyboardPINText>