Share via


Add a Language Pack to a Windows PE Image

Applies To: Windows 7, Windows Server 2008 R2

Note

This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.

The following procedure demonstrates how to use Deployment Image Servicing and Management (DISM) to add a Windows PE language pack to a Windows PE image offline.

The Dism /SetAllIntl option sets the locale and the user interface (UI) language of a Windows PE image. You must adda language pack before using the Dism /SetAllIntl option.

Important

If Japanese (ja-JP) or Korean (ko-KR) font packages are installed in your Windows PE image and the system language is not Japanese (ja-JP) or Korean (ko-KR), the following characters in the Lucida Console font will not display correctly using Notepad:
Backslash ()
Tilde (~)
Number sign (#)

To work around this issue, edit the following registry value to use a different font. For example,

HKLM\Software\Microsoft\Notepad\Default\lfFontName

To add a language pack to a Windows PE image offline

  1. Mount the base image by using the DISM tool to a local Windows PE directory. For example,

    Dism /Mount-Wim /WimFile:C:\winpe_x86\winpe.wim /index:1 /MountDir:C:\winpe_x86\mount
    
  2. Add the Windows PE language pack into your working directory. For example,

    Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\<version>\Tools\PETools\x86\WinPE_FPs\en-us\lp_en-us.cab"
    

    Where <version> can be Windows OPK or Windows AIK. Additional Windows PE language packs are available from your specific version media under the \WinPE_LangPacks folder.

  3. You can verify the language settings by using the /Get-Intl option. For example,

    Dism /image:c:\winpe_x86\mount /Get-Intl
    
  4. Commit changes to the image. In this step, you commit the changes to the original image file by using the DISM /unmount option with the /commit option. For example:

    Dism /unmount-Wim /MountDir:C:\winpe_x86\mount /Commit
    
  5. After the image is prepared, you can burn the image to media.

Note

If you choose to remove a package using the DISM /Remove-Package option, the functionality of the package will be remove from your Windows PE image, but the source file will still persist in the image. The size of your image will remain the same. To remove the file from the image, you must recreate a new image.

To learn more about managing packages, see Operating System Package Servicing Command-Line Options.

See Also

Concepts

Deployment Image Servicing and Management Command-Line Options