Skip to main content

Deploying Windows 2016 for Japanese

This scenario installs the Windows 2016 operating system to multiple servers with Japanese enabled for the keyboard and operating-system locales. A custom profile is used that includes a custom WinPE boot file and unattend file. The custom profile can then be selected on the Deploy OS Images page.

Before you begin

This scenario uses the following sample files.

Note
The sample custom unattend file assumes the following:
  • The server only has one visible disk (disk 0) and does not already have a system partition on it.

  • Static IPv4 mode is used and sets a static IP (which gets used in the custom unattend as a predefined macro).

Procedure

To deploy Japanese Windows 2016 to target servers using a custom OS-image profile, complete the following steps.

  1. Download the Japanese Windows 2016 operating system to the local system, and import the image to the OS-images repository. For more information, see Importing operating-system images.
    1. From the XClarity Administrator menu bar, click Provisioning > Manage OS Images to display the Deploy Operating System: Manage OS Images page.

    2. Click the OS Images tab.

    3. Click Import icon (Import icon).

    4. Click Local Import.

    5. Click Browse to find and select the OS image that you want to import (for example, ja_windows_server_2016_x64_dvd_9720230.iso).

    6. Click Import to upload the image to the OS-images repository.

    7. Wait for the import to complete. This might take a while.

  2. Download the bundle file for Windows 2016 to the local system, and import the image to the OS-images repository. For more information, see Importing device drivers.

    The bundle file contains the latest device drivers and WinPE boot files that you can add to your custom OS-images profiles. This scenario uses a custom boot file, so the boot file in the bundle will not be used.

    1. Click the Driver Files tab.

    2. Click Downloads > Windows Bundle Files to go to the Lenovo Support webpage, and download the bundle file for Windows 2016 to the local system.

    3. Click Import icon (Import icon).

    4. Click Local Import.

    5. Click Browse to find and select the OS image that you want to import (for example, bundle_win2016_20180126130051.zip).

    6. Click Import to upload the file to the OS-images repository.

    7. Wait for the import to complete. This might take a while.

  3. Optional: Create a custom WinPE boot file that uses the Japanese locale during the WinPE install, and import the file to the OS-images repository.

    XClarity Administrator uses a predefined Windows PreInstallation (WinPE) boot file to install the Windows operating system. The locale that is used with this predefined boot file is English (en-US). If you want to change the locale that is used during Windows Setup, you can create a custom WinPE boot file with the desired locale and assign that custom boot file to your custom profile.

    For information about injecting locales into WinPE, see the Windows WinPE: Add packages webpage.

    Important
    Specifying a non-English locale in the WinPE boot file does not change the locale of the final OS being deployed. It only changes the locale that is shown during Windows install and setup.
    To create a custom WinPE boot file that includes the Japanese locale, complete these steps. For more information, see Creating a boot (WinPE) file.
    1. Using a user ID with administrator authority, run the Windows ADK command Deployment and Imaging Tools Environment. A command session is displayed.

    2. From the command session, change to the directory where the genimage.cmd and starnet.cmd files were downloaded (for example, C:\customwim).

    3. Ensure that no previously mounted images are on the host by running the following command:
      dism /get-mountedwiminfo

      If there are mounted images, discard them by running the following command:

      dism /unmount-wim /MountDir:C:\<mount_path> /Discard
    4. If you are adding in-box device drivers to a customized Windows profile, copy the raw device-driver files, in .inf format, to the host system in the C:\drivers directory.

    5. Run the following command to generate the boot file, in .wim format, and then wait a few minutes for the command to complete.

      genimage.cmd amd64 <ADK_Version>
      Where <ADK_Version> is one of the following values.
      • 8.1. For Windows 2012 R2

      • 10. For Windows 2016

      This command creates a boot file named C:\WinPE_64\media\Boot\WinPE_64.wim.

    6. Mount the boot file by running the following command:

      DISM /Mount-Image /ImageFile:C:\WinPE_64\media\Boot\WinPE_64.wim /index:1 /MountDir:C:\WinPE_64\mount
    7. If you are adding out-of-box device drivers directly to the boot file, complete the following steps.

      1. Create the following directory structure, where <os_release> is 2012R2, or 2016

        drivers\<os_release>\
      2. Copy the device drivers, in .inf format, to a directory inside that path, for example:

        drivers\<os_release>\<driver1>\<driver1_files>
      3. Copy the drivers directory to the mount directory, for example:

        C:\WinPE_64\mount\drivers
    8. Optional: Make additional customizations to the boot file, such as adding folders, files, startup scripts, language packs, and apps. For more information about customizing boot files, see the WinPE: Mount and Customize website.

    9. Add the Japanese packages, for example.


    10. View installed packages to ensure that the Japanese-specific packages are installed.

      Dism /Add-Package /Image:"C:\WinPE_64\mount" 
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment
      and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\ja-jp\lp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-DismCmdlets_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-NetFx_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-PowerShell_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-RNDIS_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-Scripting_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-StorageWMI_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-WDS-Tools_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\ja-jp\WinPE-WMI_ja-jp.cab"
      /PackagePath="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows
      Preinstallation Environment\amd64\WinPE_OCs\WinPE-FontSupport-JA-JP.cab"
    11. Review the International Settings in the image.

      Dism /Get-Packages /Image:"C:\WinPE_64\mount"
    12. Unmount the image by running the following command.

      DISM /Unmount-Image /MountDir:C:\WinPE_64\mount /commit
    13. Compress the contents of the C:\WinPE_64\media directory into a zip file called WinPE_64_ja.zip.

    14. Import the .zip file into XClarity Administrator (see Importing boot files).

      1. Click the Boot Files tab.

      2. Click Import icon (Import icon).

      3. Click Local Import.

      4. Select Windows for the operating system.

      5. Click Browse to find and select the custom boot file (for example, WinPE_64_ja.zip).

      6. Click Import to upload the file to the OS-images repository.

  4. Modify the Windows unattend file to specify that Japanese is included in the OS image, and import the custom file to the OS-images repository.
    In the windowsPE pass of the Windows install, add the Japanese as the operating-system language and the locale, for example:
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" 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">
    <SetupUILanguage>
    <UILanguage>ja-JP</UILanguage>
    </SetupUILanguage>
    <SystemLocale>ja-JP</SystemLocale>
    <UILanguage>ja-JP</UILanguage>
    <UserLocale>ja-JP</UserLocale>
    <InputLocale>0411:00000411</InputLocale>
    </component>
    </settings>
    Note
    When you use a custom unattend file, XClarity Administrator does not provide many of the normal convenience features that you get when you use a predefined unattend file. For example, the targets <DiskConfiguration>, <ImageInstall>, <ProductKey>, and <UserAccounts> for Administrator, <Interfaces> for networking, and <package> list for installation features must be specified in the custom unattend file that is being uploaded.

    XClarity Administrator provides some basic convenience macros, such as OOB driver injection, status reporting, post-install scripts, custom software. However, to take advantage of these predefine macros, you must specify the following macros in the custom unattend file.

    • #predefined.unattendSettings.preinstallConfig#
    • #predefined.unattendSettings.postinstallConfig#

    The example file already contains the required macros. For more information about adding macros to unattend files, see Injecting predefined and custom macros to an unattend file. For more information about available predefined macros, see Predefined macros.

    To import the custom unattend file, complete these steps. For more information, see Importing custom unattend files.

    1. Click the Unattend Files tab.

    2. Click Import icon (Import icon).

    3. Click Local Import.

    4. Select Windows for the operating system.

    5. Click Browse to find and select the custom unattend file (for example, Windows_locale_customUnattend.xml).

    6. Click Import to upload the file to the OS-images repository.

  5. Create a custom OS-image profile that includes the custom boot (WinPE) file and unattend file. For more information, see Creating a custom OS-image profile.
    1. Click the OS Images tab.

    2. Select the profile to customize (for example, win2016-x86_64-install-Datacenter_Virtualization).

    3. Click Create icon (Create icon) to display the Create Customized Profile dialog.

    4. On the General tab:

      1. Enter a name for the profile (for example, Custom Windows for Japanese profile).

      2. Use the default value for the Custom data and file path field.

      3. Select Only unattend files for the customization type.

      4. Click Next.

    5. On the Driver Options tab, click Next. The inbox device drivers are included by default.

    6. On the Boot Files tab, select custom boot file (for example, WinPE_64_ja), and click Next.

    7. On the Software tab, click Next.

    8. On the Unattend Files tab, select custom unattend file (for example, Windows_locale_customUnattend.xml), and click Next.

    9. On the Installation Scripts tab, click Next.

    10. On the Summary tab, review the settings.


      Graphic showing initial setup screen for VMware ESXi
    11. Click Customize to create the custom OS-image profile.

  6. Deploy the custom OS-image profile to the target servers. For more information, see Deploying an operating-system image.
    1. From the XClarity Administrator menu bar, click Provisioning > Deploy OS Images to display the Deploy Operating System: Deploy OS Images page.

    2. For each target server:

      1. Select the server.

      2. Click Change Selected > Network Settings, and specify the hostname, IP address, subnet mask, gateway, DNS, MTU and VLAN settings for the server.

        Tip
        VLAN settings are available only when VLAN mode is set in Global Settings > IP Assignment > Use VLANs.
      3. Select the custom OS-image profile (for example, <base_OS>|<timestamp>_Custom Windows for Japanese profile) from the drop-down list in the Image to Deploy column.

        Note
        Ensure that all target servers use the same custom profile.
      4. (Optional) Click the License Key icon (License key icon) and specify the license key to use to activate the operating system after it is installed.

      5. Select the preferred storage location where you want to deploy the operating system image from the Storage column.

        Note
        To ensure that operating system deployments are successful, detach all storage from the managed server except the storage that is chosen for the operating-system deployment.
      6. Verify that the deployment status for the selected server is Ready.

    3. Select all target servers, and click the Deploy image icon (Deploy image icon) to initiate the operating-system deployment.

    4. On the Custom Settings tab, click the Unattend and Configuration Settings subtab, and select the custom unattend file (for example, Windows_locale_customUnattend.xml).


      Graphic showing initial setup screen for VMware ESXi
    5. (Optional) On the Active Directory Domain tab, specify information to join an Active Directory domain as part of a Windows image deployment (see Integrating with Windows Active Directory).

    6. On the Summary tab, review the settings.

    7. Click Deploy to deploy the operating system.

      The Windows installation dialog is displayed in Japanese.
      Illustrates the Windows dialog in Japanese.
      After installation is complete, the Windows login page also displayed in Japanese.
      Illustrates the Windows login page in Japanese.