Skip to content

Commit 312fb9d

Browse files
Merge pull request #291079 from dknappettmsft/avd-onedrive-remoteapp-updates
AVD OneDrive RemoteApp updates
2 parents 524acfe + 2e6df10 commit 312fb9d

24 files changed

+90
-69
lines changed

articles/virtual-desktop/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
- name: Use Microsoft Teams
311311
displayName: applications, apps, webrtc
312312
href: teams-on-avd.md
313-
- name: Use OneDrive with RemoteApp
313+
- name: Launch OneDrive with RemoteApp
314314
displayName: applications, apps
315315
href: onedrive-remoteapp.md
316316
- name: Migrate from classic

articles/virtual-desktop/autoscale-create-assign-scaling-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ To configure a time limit policy using Intune:
484484

485485
To configure a time limit policy using Group Policy:
486486

487-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
487+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
488488

489489
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
490490

articles/virtual-desktop/clipboard-transfer-direction-data-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ To configure the clipboard using Group Policy in an Active Directory domain, fol
9898

9999
1. Browse to one of the following policy sections. Use the policy section in **Computer Configuration** to the session host you target, and use the policy section in **User Configuration** applies to specific users you target.
100100

101-
- Machine: `Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection`
101+
- Machine: `Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection`
102102

103-
- User: `User Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection`
103+
- User: `User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection`
104104

105105
:::image type="content" source="media/redirection-remote-desktop-protocol/redirection-configuration-group-policy.png" alt-text="A screenshot showing the device and resource redirection options in the Group Policy editor.":::
106106

articles/virtual-desktop/configure-rdp-shortpath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ To enable the RDP Shortpath listener on your session hosts using Group Policy in
119119

120120
1. Make the administrative template for Azure Virtual Desktop available in your domain by following the steps in [Use the administrative template for Azure Virtual Desktop](administrative-template.md?tabs=group-policy-domain).
121121

122-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
122+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
123123

124124
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
125125

@@ -408,7 +408,7 @@ To limit the port range used with STUN and TURN using Group Policy in an Active
408408

409409
1. Make the administrative template for Azure Virtual Desktop available in your domain by following the steps in [Use the administrative template for Azure Virtual Desktop](administrative-template.md?tabs=group-policy-domain).
410410

411-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
411+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
412412

413413
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
414414

articles/virtual-desktop/graphics-chroma-value-increase-4-4-4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ To increase the chroma value to 4:4:4 using Microsoft Intune:
7575

7676
To increase the chroma value to 4:4:4 using Group Policy:
7777

78-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
78+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
7979

8080
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
8181

articles/virtual-desktop/graphics-enable-gpu-acceleration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ To enable GPU-accelerated application rendering using Intune:
158158

159159
To enable GPU-accelerated application rendering using Group Policy:
160160

161-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
161+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
162162

163163
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
164164

327 KB
Loading

articles/virtual-desktop/msix-app-attach-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Here's an example to migrate a specific MSIX package added to a host pool from M
125125
Get-AzWvdMsixPackage @parameters | Select-Object DisplayName, Name
126126
```
127127

128-
The output is similar to the following output:
128+
The output is similar to the following example:
129129

130130
```output
131131
DisplayName Name

articles/virtual-desktop/multimedia-redirection-video-playback-calls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ To enable the multimedia redirection browser extension using Group Policy:
259259

260260
1. Download and install the Microsoft Edge administrative template by following the directions in [Configure Microsoft Edge policy settings on Windows devices](/deployedge/configure-microsoft-edge#1-download-and-install-the-microsoft-edge-administrative-template).
261261

262-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
262+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
263263

264264
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
265265

@@ -308,7 +308,7 @@ To enable the multimedia redirection browser extension using Group Policy:
308308
- **Local location**: `C:\Windows\PolicyDefinitions\en-US\`
309309
- **Central Store**: `\\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions\en-US`
310310

311-
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
311+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
312312

313313
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
314314

articles/virtual-desktop/onedrive-remoteapp.md

Lines changed: 53 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
---
2-
title: Use Microsoft OneDrive with a RemoteApp - Azure Virtual Desktop
3-
description: Learn how to use Microsoft OneDrive with a RemoteApp in Azure Virtual Desktop.
2+
title: Launch Microsoft OneDrive with a RemoteApp - Azure Virtual Desktop
3+
description: Learn how to launch Microsoft OneDrive with a RemoteApp in Azure Virtual Desktop.
44
ms.topic: how-to
55
author: dknappettmsft
66
ms.author: daknappe
7-
ms.date: 09/09/2024
7+
ms.date: 11/26/2024
88
---
99

10-
# Use Microsoft OneDrive with a RemoteApp in Azure Virtual Desktop
10+
# Launch Microsoft OneDrive with a RemoteApp in Azure Virtual Desktop
1111

12-
You can use Microsoft OneDrive alongside a RemoteApp in Azure Virtual Desktop, allowing users to access and synchronize their files while using a RemoteApp. When a user connects to a RemoteApp, OneDrive can automatically launch as a companion to the RemoteApp. This article describes how to configure OneDrive to automatically launch alongside a RemoteApp in Azure Virtual Desktop.
12+
You can Launch Microsoft OneDrive alongside a RemoteApp in Azure Virtual Desktop, allowing users to access and synchronize their files while using a RemoteApp. When a user connects to a RemoteApp, OneDrive can automatically launch as a companion to the RemoteApp.
1313

14-
> [!IMPORTANT]
15-
> You can't use the setting **Start OneDrive automatically when I sign in to Windows** in the OneDrive preferences, which starts OneDrive when a user signs in. Instead, you need to configure OneDrive to launch by configuring a registry value, which is described in this article.
14+
In the settings for OneDrive, there's the option **Start OneDrive when I sign in to Windows**, which ordinarily starts OneDrive when a user signs in. However, this setting doesn't work with RemoteApp in Azure Virtual Desktop. Instead, you configure OneDrive to launch by configuring a registry value. You also enable an enhanced shell experience for RemoteApp sessions, offering support for default file associations, `Run/RunOnce` registry keys, and more.
15+
16+
This article describes how to configure OneDrive to automatically launch alongside a RemoteApp in Azure Virtual Desktop.
1617

1718
## User experience
1819

19-
Once configured, when a user launches a RemoteApp, the OneDrive icon is integrated in the taskbar of their local Windows device. If a user launches another RemoteApp from the same host pool on the same session host, the same instance of OneDrive is used and another doesn't start.
20+
When a user launches a RemoteApp, OneDrive is also launched and the OneDrive icon is integrated in the taskbar of their local Windows device. If a user launches another RemoteApp from the same host pool on the same session host, it uses the same instance of OneDrive and another doesn't start.
2021

2122
If your session hosts are joined to Microsoft Entra ID, you can [silently configure user accounts](/sharepoint/use-silent-account-configuration) so users are automatically signed in to OneDrive and start synchronizing straight away. Otherwise, users need to sign in to OneDrive on first use.
2223

@@ -26,52 +27,72 @@ When a user closes or disconnects from the last RemoteApp they're using on the s
2627

2728
## Prerequisites
2829

29-
Before you can use OneDrive with a RemoteApp in Azure Virtual Desktop, you need:
30+
Before you can use OneDrive with a RemoteApp in Azure Virtual Desktop:
3031

31-
- Session hosts in a host pool that:
32+
- Your session hosts must be running Windows 11 Enterprise, version 22H2 or 23H2 with the [2024-07 Cumulative Update for Windows 11 (KB5040442)](https://support.microsoft.com/kb/KB5040442) or later installed.
3233

33-
- Are running Windows 11, version 23H2 with cumulative and noncumulative updates for Windows 11 ([KB5039302](https://support.microsoft.com/en-us/topic/june-25-2024-kb5039302-os-builds-22621-3810-and-22631-3810-preview-0ab34e3f-bca9-4a52-a1a4-404bf8162f58)) or later installed.
34-
35-
- Have the latest version of FSLogix installed. For more information, see [Install FSLogix applications](/fslogix/how-to-install-fslogix).
34+
- If you're using FSLogix, install the latest version of FSLogix on your session hosts. For more information, see [Install FSLogix applications](/fslogix/how-to-install-fslogix).
35+
36+
- Use Windows App on Windows or the Remote Desktop client on Windows to connect to a remote session. Other platforms aren't supported.
3637

3738
## Configure OneDrive to launch with a RemoteApp
3839

39-
To configure OneDrive to launch with a RemoteApp in Azure Virtual Desktop, follow these steps:
40+
To configure OneDrive to launch with a RemoteApp in Azure Virtual Desktop, you need to enable an enhanced shell experience for RemoteApp sessions using Group Policy and set a registry value to launch OneDrive when a user connects to a RemoteApp. The Group Policy setting isn't available in Microsoft Intune.
4041

4142
1. Download and install the latest version of the [OneDrive sync app](https://www.microsoft.com/microsoft-365/onedrive/download) per-machine on your session hosts. For more information, see [Install the sync app per-machine](/sharepoint/per-machine-installation).
4243

4344
1. If your session hosts are joined to Microsoft Entra ID, [silently configure user accounts](/sharepoint/use-silent-account-configuration) for OneDrive on your session hosts, so users are automatically signed in to OneDrive.
4445

45-
1. On your session hosts:
46+
1. The Group Policy settings are only available in Windows 11, version 22H2 or 23H2 with the [2024-07 Cumulative Update for Windows 11 (KB5040442)](https://support.microsoft.com/kb/KB5040442) or later installed. You need to copy the administrative template files `C:\Windows\PolicyDefinitions\terminalserver.admx` and `C:\Windows\PolicyDefinitions\en-US\terminalserver.adml` from a session host to the same location on your domain controllers or the [Group Policy Central Store](/troubleshoot/windows-client/group-policy/create-and-manage-central-store), depending on your environment. In the file path for `terminalserver.adml` replace `en-US` with the appropriate language code if you're using a different language.
4647

47-
1. Install the latest Windows Update (ensure that [KB Article 5039302](https://support.microsoft.com/en-us/topic/june-25-2024-kb5039302-os-builds-22621-3810-and-22631-3810-preview-0ab34e3f-bca9-4a52-a1a4-404bf8162f58) is included) on the session host.
48+
1. Open the **Group Policy Management** console on a device you use to manage the Active Directory domain.
4849

49-
2. Set the following policy:
50-
51-
Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment\Enable enhanced shell experience for RemoteApp
50+
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
5251

53-
3. Set the following registry value:
52+
1. Navigate to **Computer Configuration** > **Policies** > **Administrative Templates** > **Windows Components** > **Remote Desktop Services** > **Remote Desktop Session Host** > **Remote Session Environment**.
5453

55-
- **Key**: `HKLM\Software\Microsoft\Windows\CurrentVersion\Run`
56-
- **Type**: `REG_SZ`
57-
- **Name**: `OneDrive`
58-
- **Data**: `"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background`
54+
:::image type="content" source="media/onedrive-remoteapp/remote-session-environment-group-policy.png" alt-text="A screenshot showing the remote session environment options in the Group Policy editor." lightbox="media/onedrive-remoteapp/remote-session-environment-group-policy.png":::
5955

60-
You can configure the registry using an enterprise deployment tool such as Intune, Configuration Manager, or Group Policy. Alternatively, to set this registry value using PowerShell, open PowerShell as an administrator and run the following command:
61-
62-
```powershell
63-
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name OneDrive -PropertyType String -Value '"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background' -Force
64-
```
56+
1. Double-click the policy setting **Enable enhanced shell experience for RemoteApp** to open it. Select **Enabled**, then select **OK**.
57+
58+
1. Set the following registry value:
59+
60+
- **Key**: `HKLM\Software\Microsoft\Windows\CurrentVersion\Run`
61+
- **Type**: `REG_SZ`
62+
- **Name**: `OneDrive`
63+
- **Data**: `"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background`
64+
65+
You can configure the registry using an enterprise deployment tool such as Intune, Configuration Manager, or Group Policy. Alternatively, to set this registry value using PowerShell, open PowerShell as an administrator and run the following command:
66+
67+
```powershell
68+
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name OneDrive -PropertyType String -Value '"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background' -Force
69+
```
6570

66-
4. Ensure the Stack on the session host is version 2404.16770 or higher.
71+
1. Ensure the side-by-side stack on the session host is version 1.0.2404.16770 or higher. To check the version, run the following command from Command Prompt or PowerShell.
72+
73+
```cmd
74+
qwinsta
75+
```
6776

68-
5. Reboot your session host.
77+
The output includes a line beginning with `rdp-sxs` followed by a number, where the number correlates to the version number of the side-by-side stack, as shown in the following example. You can find a list of the version numbers at [What's new in the Azure Virtual Desktop SxS Network Stack](whats-new-sxs.md).
78+
79+
```output
80+
SESSIONNAME USERNAME ID STATE TYPE DEVICE
81+
services 0 Disc
82+
console 1 Conn
83+
rdp-tcp 65537 Listen
84+
rdp-sxs240705700 65538 Listen
85+
```
86+
87+
1. Restart the session hosts to apply the changes.
6988

7089
## Test OneDrive with a RemoteApp
7190

7291
To test OneDrive with a RemoteApp, follow these steps:
7392

74-
1. Connect to a RemoteApp from the host pool and check that the OneDrive icon can be seen on the task bar of your local Windows device.
93+
1. Use a supported version of Windows App or the Remote Desktop client to connect to a RemoteApp from the host pool withe the session hosts you configured.
94+
95+
1. Check that the OneDrive icon can be seen on the task bar of your local Windows device. Hover over the icon to show the tooltip and ensure it includes the word **Remote**, which differentiates it from a local instance of OneDrive.
7596

7697
1. Check that OneDrive is synchronizing files by opening the OneDrive Action Center. Sign in to OneDrive if you weren't automatically signed in.
7798

0 commit comments

Comments
 (0)