FSLogix and OneDrive Sync App

Copper Contributor

I'm a bit confused and am looking for clarification and/or guidance.  Per Use the sync app on virtual desktops - SharePoint in Microsoft 365 | Microsoft Learn, the OneDrive Sync App is supported for our configurations, but then there is the note: 

"It is not supported to roam the OneDrive registry hive as part of a non-persistent VDI environment. Do not roam HKEY_CURRENT_USER\Software\Microsoft\OneDrive\ in your non-persistent VDI user profiles."

 

In trying to find out how to exclude this reg key from FSLogix, I found this: How to exclude registry key from FSLogix · Issue #108 · MicrosoftDocs/fslogix-docs · GitHub which says:

"Excluding registry keys isn't supported."

 

So now I'm curious, how is it supported, but one can't exclude registry keys?  Or have I just completely missed the method for excluding this reg key?

 

-Derek

6 Replies

Hi Derek,

I have had very bad experiences with using OneDrive in combination with FSLogix.

If possible, I would recommend:
- using FSLogix in combination with a Windows File Server or Azure Files
- not using other roaming solution (e.g. folder redirection) in combination with FSLogix
- only changing these settings in the FSLogix GPO: DeleteLocalProfileWhenVHDShouldApply, SizeInMBs, VolumeType and FlipFlopProfileDirectoryName

- excluding administrative profiles from using FSLogix so you can troubleshoot, even when the local FSLogix service has issues

- using FSLogix 2201 hotfix 2 (2.9.8228.50276) and not the latest builds

All my deployments use the above (best) practices.

@MathieuVandenHautte Thank you for the feedback, thus far in small scale testing OneDrive has been working.  I certainly appreciate calling out excluding administrative profiles and will be implementing that (I don't know why I didn't think about doing that after the annoyances of logging onto multiple machines with a locked profile).

We are using Azure Files, with no other profile solutions.

The only policy we don't have set that you referenced is FlipFlopProfileDirectoryName.

 

I'm hoping MS can jump in here and answer my question as it doesn't seem to make sense to me (as I noted).

 

Thanks @MathieuVandenHautte for your reply.

@dloveless 

 

Did you ever resolve this? One year later from this post and that MS article is still the same and there is no article for fslogix. We're hybrid joined non-persistent and OD will not log in seamlessly.

@Alsmk255 

 

Same here. Exact same problem. 

No I have not received any clarification to my initial post on why one part of their documentation says to exclude a registry and the other says they don't support excluding registry keys.
We are using FSLogix and OneDrive and so far so good, but I didn't do any special configuration (that I recall).
I have also issues in my environment, when the Onedrive sync starts always syncing by new when login to the Desktop all the files, even if it was synced already. I had a case with Microsoft and they mention to include all the Onedrive cache in the FSLogix Profile container to get rid of this. But for sure i can say they do not really know how there products work or should be set up.