Forum Discussion
Start OneDrive when using a RemoteApp in WVD
- Sep 26, 2019
We are in the process of documenting how to auto-start OneDrive in a Remote App scenario.
We will be documenting the following registry entry:
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RailRunonce
I believe this works the same as the regular run keys, except that anything listed under this key will be launched when the remote session starts.
What happens is that in a remote session, Explorer.exe is not used as the Windows shell. rdpshell.exe is run instead. rdpshell.exe does not process Run entries. It does do the RailRunonce key though.
Thanks for the updates! Please bear with me if I'm missing the point of the use-case you are referring to.
First, in order to have the documents, desktop, pictures folders synced to OneDrive, 'OneDrive Backup' needs to be enabled in OneDrive sync.
When a user is on a local computer and launches an Office remote app (say MS-Word) then goes to File> Open>OneDrive-Tenant OR Sites-Tenant>(some folder), MS-Word uses the O365 connected service to connect to that users OneDrive or SPO site and works with/saves that file in the cloud.
In this use-case, the OneDrive sync client remote app is not needed.
JeremyEspositoHi Jeremey, thanks for the quick reply. Unfortunately, this isn't for an Office application, otherwise, your way would work perfectly. This is actually for a Dynamics Integration Manager flat file upload, so the user needs access to the SharePoint library via File Explorer from within Dynamics. I'm working on a solution now, but it seems the trick is to publish a Batch Script to RemoteApps that launches the Dynamics application and OneDrive. Also the RD Server needs to be set for a Single Session per user via a GPO so that they open within the same session.
- JeremyEspositoSep 26, 2019
Microsoft
My pleasure! Thanks for sharing your use-case scenario.
It sounds like you would need to run OneDrive sync locally/same computer that is running DIM or implement the workaround you detailed. Hope it works out!