04-24-2019 01:32 AM
04-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?
10-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.
10-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.
10-23-2020 10:21 AM
12-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.
12-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.
12-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...
12-16-2020 08:18 AM - edited 12-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..
12-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!