|
| 1 | +--- |
| 2 | +title: Install language packs on Windows 10 VMs in Windows Virtual Desktop - Azure |
| 3 | +description: How to install language packs for Windows 10 multi-session VMs in Windows Virtual Desktop. |
| 4 | +services: virtual-desktop |
| 5 | +author: Heidilohr |
| 6 | + |
| 7 | +ms.service: virtual-desktop |
| 8 | +ms.topic: conceptual |
| 9 | +ms.date: 04/03/2020 |
| 10 | +ms.author: helohr |
| 11 | +manager: lizross |
| 12 | +--- |
| 13 | +# Install language packs |
| 14 | + |
| 15 | +When you set up Windows Virtual Desktop deployments internationally, it's a good idea to make sure your deployment supports multiple languages. You can install language packs on a Windows 10 Enterprise multi-session virtual machine (VM) image to support as many languages as your organization needs. This article will tell you how to install language packs and capture images that let your users choose their own display languages. |
| 16 | + |
| 17 | +Learn more about how to deploy a VM in Azure at [Create a Windows virtual machine in an availability zone with the Azure portal](../virtual-machines/windows/create-portal-availability-zone.md). |
| 18 | + |
| 19 | +>[!NOTE] |
| 20 | +>This article applies to Windows 10 Enterprise multi-session VMs. |
| 21 | +
|
| 22 | +## Install a language pack |
| 23 | + |
| 24 | +To create a VM image with language packs, you first need to install language packs onto a machine and capture an image of it. |
| 25 | + |
| 26 | +To install language packs: |
| 27 | + |
| 28 | +1. Sign in as an admin. |
| 29 | +2. Make sure you've installed all the latest Windows and Windows Store updates. |
| 30 | +3. Go to **Settings** > **Time & Language** > **Region**. |
| 31 | +4. Under **Country or region**, select your preferred country or region from the drop-down menu. |
| 32 | + In this example, we're going to select **France**, as shown in the following screenshot: |
| 33 | + |
| 34 | +  |
| 35 | + |
| 36 | +5. After that, select **Language**, then select **Add a language**. Choose the language you want to install from the list, then select **Next**. |
| 37 | +6. When the **Install language features** window opens, select the check box labeled **Install language pack and set as my Windows display language**. |
| 38 | +7. Select **Install**. |
| 39 | +8. To add multiple languages at once, select **Add a language**, then repeat the process to add a language in steps 5 and 6. Repeat this process for each language you want to install. However, you can only set one language as your display language at a time. |
| 40 | + |
| 41 | + Let's run through a quick visual demonstration. The following images show how to install the French and Dutch language packs, then set French as the display language. |
| 42 | + |
| 43 | +  |
| 44 | + |
| 45 | +  |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | + After your language packs have installed, you should see the names of your language packs appear in the list of languages. |
| 50 | + |
| 51 | +  |
| 52 | + |
| 53 | +9. If a window appears asking you to sign out of your session. Sign out, then sign in again. Your display language should now be the language you selected. |
| 54 | + |
| 55 | +10. Go to **Control Panel** > **Clock and Region** > **Region**. |
| 56 | + |
| 57 | +11. When the **Region** window opens, select the **Administration** tab, then select **Copy settings**. |
| 58 | + |
| 59 | +12. Select the check boxes labeled **Welcome screen and system accounts** and **New user accounts**. |
| 60 | + |
| 61 | +13. Select **OK**. |
| 62 | + |
| 63 | +14. A window will open and tell you to restart your session. Select **Restart now**. |
| 64 | + |
| 65 | +15. After you've signed back in, go back to **Control Panel** > **Clock and Region** > **Region**. |
| 66 | + |
| 67 | +16. Select the **Administration** tab. |
| 68 | + |
| 69 | +17. Select **Change system locale**. |
| 70 | + |
| 71 | +18. In the drop-down menu under **Current system locale**, select the locale language you want to use. After that, select **OK**. |
| 72 | + |
| 73 | +19. Select **Restart now** to restart your session once again. |
| 74 | + |
| 75 | +Congratulations, you've installed your language packs! |
| 76 | + |
| 77 | +Before you continue, make sure your system has the latest versions of Windows and Windows store installed. |
| 78 | + |
| 79 | +## Sysprep |
| 80 | + |
| 81 | +Next, you need to sysprep your machine to prepare it for the image capturing process. |
| 82 | + |
| 83 | +To sysprep your machine: |
| 84 | + |
| 85 | +1. Open PowerShell as an Administrator. |
| 86 | +2. Run the following cmdlet to go to the correct directory: |
| 87 | + |
| 88 | + ```powershell |
| 89 | + cd Windows\System32\Sysprep |
| 90 | + ``` |
| 91 | +
|
| 92 | +3. Next, run the following cmdlet: |
| 93 | + |
| 94 | + ```powershell |
| 95 | + .\sysprep.exe |
| 96 | + ``` |
| 97 | +
|
| 98 | +4. When the System Preparation Tool window opens, select the check box labeled **Generalize**, then go to **Shutdown Options** and select **Shut down** from the drop-down menu. |
| 99 | +
|
| 100 | +>[!NOTE] |
| 101 | +>The syprep process will take a few minutes to finish. As the VM shuts down, your remote session will disconnect. |
| 102 | +
|
| 103 | +### Resolve sysprep errors |
| 104 | +
|
| 105 | +If you see an error message during the sysprep process, here's what you should do: |
| 106 | +
|
| 107 | +1. Open **Drive C** and go to **Windows** > **System32 Sysprep** > **Panther**, then open the **setuperr** file. |
| 108 | +
|
| 109 | + The text in the error file will tell you that you need to uninstall a specific language package, as shown in the following image. Copy the language package name for the next step. |
| 110 | +
|
| 111 | +  |
| 112 | +
|
| 113 | +2. Open a new PowerShell window and run the following cmdlet with the package name you copied in step 2 to remove the language package: |
| 114 | +
|
| 115 | + ```powershell |
| 116 | + Remove-AppxPackage <package name> |
| 117 | + ``` |
| 118 | + |
| 119 | +3. Check to make sure you've removed the package by running the `Remove-AppxPackage` cmdlet again. If you've successfully removed the package, you should see a message that says the package you're trying to remove isn't there. |
| 120 | + |
| 121 | +4. Run the `sysprep.exe` cmdlet again. |
| 122 | + |
| 123 | +## Capture the image |
| 124 | + |
| 125 | +Now that your system is ready, you can capture an image so that other users can start using VMs based on your system without having to repeat the configuration process. |
| 126 | + |
| 127 | +To capture an image: |
| 128 | + |
| 129 | +1. Go to the Azure portal and select the name of the machine you configured in [Install a language pack](#install-a-language-pack) and [sysprep](#sysprep). |
| 130 | + |
| 131 | +2. Select **Capture**. |
| 132 | + |
| 133 | +3. Enter a name for your image into the **Name** field and assign it to the resource group using the **Resource group** drop-down menu, as shown in the following image. |
| 134 | + |
| 135 | +  |
| 136 | + |
| 137 | +4. Select **Create**. |
| 138 | + |
| 139 | +5. Wait a few minutes for the capture process to finish. When the image is ready, you should see a message in the Notifications Center letting you know the image was captured. |
| 140 | + |
| 141 | +You can now deploy a VM using your new image. When you deploy the VM, make sure to follow the instructions in [Create a Windows virtual machine in an availability zone with the Azure portal](../virtual-machines/windows/create-portal-availability-zone.md). |
| 142 | + |
| 143 | +### How to change display language for standard users |
| 144 | + |
| 145 | +Standard users can change the display language on their VMs. |
| 146 | + |
| 147 | +To change the display language: |
| 148 | + |
| 149 | +1. Go to **Language Settings**. If you don't know where that is, you can enter **Language** into the search bar in the Start Menu. |
| 150 | + |
| 151 | +2. In the Windows display language drop-down menu, select the language you want to use as your display language. |
| 152 | + |
| 153 | +3. Sign out of your session, then sign back in. The display language should now be the one you selected in step 2. |
0 commit comments