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.
JeremyEsposito I have the same scenario happening. I've also confirmed it happens on an 2019 RDSH server. it has nothing to do w/ FSLogic... but the fact that remoteapp launches a stripped down user session and only launches necessary items. id' love a work around too!
I too have the same issue in both WVD using Windows 10 multi-user and on Server 2016/2019. It's not great but I did find a workaround. I made sure that OneDrive was installed in Machine mode (instead of the default user mode), then I created a RemoteApp for the system install of OneDrive. Now, I just tell people using the system to make sure they run the OneDrive RemoteApp whenever they start a new session. It's not great, and is preventing any kind of company wide roll-out, but it works for advanced users. I too would like a better solution thou...
- JeremyEspositoSep 12, 2019
Microsoft
Brent Carlson Thanks for the update!
Per machine install is the only install method supported for WVD. This why you were able to get OD sync work with the per machine install method. As for running OneDrive as a remote app, it isn't necessary or useful to run OD sync as a remote app because it's not an app that users will interact with (like MS word, excel, etc) and/or access their files from.
OD sync is essentially a utility to keep the files synced to/from the cloud and monitor sync status.
Monitoring sync status should be done within the WVD session.
Hope this helps!
- mshepherdSep 12, 2019Copper Contributor
JeremyEsposito the reason he suggest that, and I agree, is because it then triggers the sync for that user session. so a user can then open an app, save the their desktop, and that is then sync'd to all of their other devices... making it much easier for a user to use a remoteapp. saving to a network share is not always ideal or wanted.
My goal is to do away w/ personal network drives and move to onedrive for all private info, but this not working, makes it hard to do that.- mirthrockSep 26, 2019Brass Contributor
mshepherdDid you ever find a solution to this? We're using OneDrive/SharePoint for all of our users and we're publishing a couple remote apps that need OneDrive running in the background so that the user can access the SharePoint libraries via File Explorer when they're in a RemoteApp. I'm in the same boat - works fine on a full session, but doesn't work on a RemoteApp. My line of thinking is to run some sort of script or launch the OnedDrive EXE when the user launches a RemoteApp. But I haven't quite figured out how to make this work yet.