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.
Just a heads up to everyone who is using RailRunOnce in the registry. Microsoft updated OneDrive to a 64bit client which changed the path for me. It no longer lives in ProgramFilesx86. So make sure you update your registry key accordingly.
mirthrock Hi, I a came across this problem last week. Took me a while to sort.
Annoyingly, what I am seeing now is that even on a x64 system, the newest version (21.109.0530.001) released June 15, 2021 is installing back into the Program Files (x86) folder which is crazy Microsoft!
Anyone seeing the same behaviour?
- Mtollex70Jun 23, 2021Brass ContributorI even had a deployment for a customer with two hosts, Onedrive updated 21. juni on one of them, 22. juni on the other. The first was installed in Program Files, the second in Program Files (X86). Crazy!! Both servers from same image.
- adam222Jun 23, 2021Copper Contributor
Mtollex70 That is exactly the same issue as me. I think one of them didn't 'self update' because it was always in use. I only realised when I went to manually update a host in drain mode.
Really poor from Micrososoft - is it native x64 bit or what?
What I have done is installed the x64 preview and works fine in c:\program files
Cheers
- Mtollex70Jun 22, 2021Brass ContributorYes, sadly... 😞