Apr 24 2019 01:32 AM
Apr 24 2019 01:32 AM
I am testing with WVD in a Lab environment, and everything is working fine. I only have one thing that doesn't seem to work. OneDrive is starting when i'm using the "Full Desktop" mode in WVD, but when i start a RemoteApp, the OneDrive client isn't starting.
Is this a WVD / FSLogix related issue? And how can i solve this?
Oct 21 2020 12:33 AM
Baljit, I believe I found a solution to this hang on RemoteApp application launch for new users with OneDrive integrated using the RailRunonce method.
Oct 23 2020 09:37 AM
Looks like if MFA is enabled, the user will not be automatically signed in. I had to publish OneDrive and allow the user to walk through the setup process. During the process, the MFA takes place. Subsequent logins (at least on that server) do not require MFA.
Oct 23 2020 10:21 AM
Dec 03 2020 09:20 AM
@mirthrock our official statement is captured here https://docs.microsoft.com/en-us/onedrive/sync-vdi-support.
While it is possible to get the desired outcome as you have seen its not elegant.
Dec 16 2020 05:57 AM
@bnicholson80 Are you sure you didnt do anything else in this process? I've been struggling with this problem for a while, feel i have tried everything, including now your solution. Still 5 min on first login, 20-sek on logins after that. :( And OneDrive does not work on first login.
Dec 16 2020 07:57 AM
@Mtollex70 I am having the same problem. First login hangs on preparing Windows for 5 or so minutes. When RemoteApp opens, OneDrive is not configured. But on subsequent logons, it's there.
I can see in task manager that the renounce.exe is running for the user. I'd I kill renounce.exe in those 5 minutes while it's "preparing windows" it logs on successfully straight away.
I cannot work out why the runonce task is holding the login...
Dec 16 2020 08:18 AM - edited Dec 16 2020 04:18 PM
@Mtollex70 Hi, I tried the deletion of run keys in the default user hive and works for me. I deleted entries for Run and RunOnce though as there was another OneDrive entry in there. I will test and see if I need to delete both.
One thing to note, if you delete the reg keys above, and you also use the host pool for a desktop, you may need to use a GPO to launch OneDrive for normal logons..
Dec 16 2020 11:41 PM
@adam222 Yes, i moved the "OneDriveSetup=C:\\Windows\\SysWOW64\\OneDriveSetup.exe /thfirstsetup" from the Run key of the default user profile to the RailRunonce key in GPO instead. But i suspect its enough to just remove it, and not set it in RailRunonce. I had no time yesterday to check this, but will now. :) Thanx for your reply!
Jun 08 2021 07:05 AM
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.
Jun 21 2021 06:10 AM
@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?
Jun 23 2021 03:50 AM
Jun 23 2021 03:55 AM
@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