Skip to content

Commit 6c23970

Browse files
Merge pull request #231937 from Heidilohr/work-client-intune
Adding article for per-user installation for Remote Desktop client
2 parents d788740 + d735f3f commit 6c23970

File tree

5 files changed

+110
-0
lines changed

5 files changed

+110
-0
lines changed

articles/virtual-desktop/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@
367367
href: ./users/client-features-microsoft-store.md?toc=%2Fazure%2Fvirtual-desktop%2Ftoc.json
368368
- name: Configure device redirections
369369
href: configure-device-redirections.md
370+
- name: Install the Remote Desktop client for Windows on a per-user basis
371+
href: install-client-per-user.md
370372
- name: Set up email discovery
371373
href: /windows-server/remote/remote-desktop-services/rds-email-discovery?context=/azure/virtual-desktop/context/context
372374
- name: Customize feed
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
title: Install the Remote Desktop client for Windows on a per-user basis - Azure
3+
description: How to install the Azure Virtual Desktop client on a per-user basis using Intune or Configuration Manager.
4+
author: Heidilohr
5+
ms.topic: how-to
6+
ms.date: 04/04/2023
7+
ms.author: helohr
8+
manager: femila
9+
---
10+
# Install the Remote Desktop client for Windows on a per-user basis
11+
12+
You can install the Remote Desktop client on either a per-system or per-user basis. Installing it on a per-system basis installs the client on the machines for all users by default, and updates are controlled by the admin. Per-user installation installs the application into each user's profile, giving them control over when to apply updates.
13+
14+
Per-system is the default way to install the client. However, if you're deploying the Remote Desktop client with Intune or Configuration Manager, using the per-system method can cause the Remote Desktop client auto-update feature to stop working. In these cases, you must use the per-user method instead.
15+
16+
## Prerequisites
17+
18+
In order to install the Remote Desktop client for Windows on a per-user basis with Intune or Configuration Manager, you need the following things:
19+
20+
- An Azure Virtual Desktop or Windows 365 deployment.
21+
- Download the latest version of [the Remote Desktop client](./users/connect-windows.md?toc=/azure/virtual-desktop/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json).
22+
- Microsoft Intune, Configuration Manager or other enterprise software distribution product.
23+
24+
## Install the Remote Desktop client using a batch file
25+
26+
To install the client on a per-user basis using a batch file:
27+
28+
#### [Intune](#tab/intune)
29+
30+
1. Create a new folder containing the Remote Desktop client MSI file.
31+
32+
1. Within that folder, create an `install.bat` batch file with the following content:
33+
34+
```batch
35+
cd "%~dp0"
36+
37+
msiexec /i RemoteDesktop_x64.msi /qn ALLUSERS=2 MSIINSTALLPERUSER=1
38+
```
39+
40+
>[!NOTE]
41+
>The RemoteDesktop_x64.msi installer name must match the MSI contained in the folder.
42+
43+
1. Follow the directions in [Prepare Win32 app content for upload](/mem/intune/apps/apps-win32-prepare) to convert the folder into an `.intunewin` file.
44+
45+
1. Open the **Microsoft Intune admin center**, then go to **Apps** > **All apps** and select **Add**.
46+
47+
1. For the app type, select **Windows app (Win32)**.
48+
49+
1. Upload your `.intunewin` file, then fill out the required app information fields.
50+
51+
1. In the Program tab, select the install.bat file as the installer, and use the MSI product code `msiexec /x (6CE4170F-A4CD-47A0-ABFD-61C59E5F4B43)` for the Uninstall command.
52+
53+
1. Toggle the **Install behavior** to **User**.
54+
55+
1. In the **Detection rules** tab, enter the MSI product code `msiexec /x (6CE4170F-A4CD-47A0-ABFD-61C59E5F4B43)`, as shown in the following screenshot.
56+
57+
:::image type="content" source="./media/install-client-per-user/uninstall-command.png" alt-text="A screenshot of the Detection Rules tab. The product code in the MSI product code field is msiexec /x (6CE4170F-A4CD-47A0-ABFD-61C59E5F4B43)." lightbox="./media/install-client-per-user/uninstall-command.png" :::
58+
59+
1. Follow the rest of the prompts until you complete the workflow.
60+
61+
1. Follow the instructions in [Assign apps to groups with Microsoft Intune](/mem/intune/apps/apps-deploy) to deploy the client app to your users.
62+
63+
#### [Configuration Manager](#tab/configmanager)
64+
65+
1. Create a new folder in your package share.
66+
67+
1. In this new folder, add the Remote Desktop client MSI file and an `install.bat` batch file with the following content:
68+
69+
```batch
70+
msiexec /i RemoteDesktop_x64.msi /qn ALLUSERS=2 MSIINSTALLPERUSER=1
71+
```
72+
73+
>[!NOTE]
74+
>The RemoteDesktop_x64.msi installer name must match the MSI contained in the folder.
75+
76+
1. Open the **Configuration Manager** and go to **Software Library** > **Application Management** > **Applications**.
77+
78+
1. Follow the directions in [Manually specify application information](/mem/configmgr/apps/deploy-use/create-applications#bkmk_manual-app) to create a new application with manually specified information.
79+
80+
1. Enter the variables that apply to your organization into the **General Information** and **Software Center settings** fields.
81+
82+
1. In the Deployment Types tab, select the **Add** button.
83+
84+
1. Select **Script Installer** as the deployment type, then select **Next**.
85+
86+
1. Enter the location of the folder you created in step 1 for the **Content location** field.
87+
88+
1. Enter the path of the install.bat file in the **Installation program** field.
89+
90+
1. Enter the MSI product ID `msiexec /x (6CE4170F-A4CD-47A0-ABFD-61C59E5F4B43)` into the **Uninstall program** field.
91+
92+
:::image type="content" source="./media/install-client-per-user/content-location-uninstall-id.png" alt-text="A screenshot of the Specify information about the content to be delivered to target devices window. The MSI product ID entered into the Uninstall program field is msiexec /x (6CE4170F-A4CD-47A0-ABFD-61C59E5F4B43)." lightbox="./media/install-client-per-user/content-location-uninstall-id.png" :::
93+
94+
1. Next, enter the same MSI product ID you used in the previous step into the **Detection program** field.
95+
96+
:::image type="content" source="./media/install-client-per-user/msi-product-code.png" alt-text="A screenshot of the Specify how this deployment type is detected window. In the rules box, the clause lists the product ID msiexec /x (6CE4170F-A4CD-47A0-ABFD-61C59E5F4B43)." lightbox="./media/install-client-per-user/msi-product-code.png" :::
97+
98+
1. For User Experience, toggle the installation behavior to **Install for user**.
99+
100+
1. Follow the rest of the prompts until you've finished the workflow.
101+
102+
1. Once you're finished, follow the instructions in [Deploy applications with Configuration Manager](/mem/configmgr/apps/deploy-use/deploy-applications) to deploy the client app to your users.
103+
104+
---
105+
106+
## Next steps
107+
108+
Learn more about the Remote Desktop client at [Use features of the Remote Desktop client for Windows](./users/client-features-windows.md?toc=/azure/virtual-desktop/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json).
110 KB
Loading
64.7 KB
Loading
35.6 KB
Loading

0 commit comments

Comments
 (0)