We are have planning to migrate our Files to Onedrive4B and as part of the requirements we have been asked to Redirect Known Folders to Onedrive in our case (Desktop, Pictures and Documents). Our Documents is redirected to H: Mapped Network Drive so whatever is saved in Documents is synced via the Microsoft Sync Center back to H: Network Location whenever the client is in online mode.
The Challenge here is since our Documents Folder (which is part of the known folders) is not on the local Machine but in a network location how do we handle this?. We noticed that it was not possible to backup the Documents folder, OneDrive will refuse telling me that "The Documents folder contains other important folders and isn't supported for file protection." Contact your IT Department or something. Similar Description here https://onedrive.uservoice.com/forums/913534-onedrive-security-policy-administration/suggestions/35072257-allow-onedrive-kfm-to-work-with-folder-redirected
So in order to give Onedrive access to my Documents on the local System the plan was to disable Folder Redirection using GPO.
So I did this in a separate group policy which precedes the group policy with all Onedrive settings. https://4sysops.com/archives/how-to-disable-folder-redirection/
I still didn't see a behaviour change or option deactivated even though corresponding registry key is updated on computers after a policy update. I checked the following location https://www.winhelponline.com/blog/windows-10-shell-folders-paths-defaults-restore/
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Shell Folder Name — Value type: REG_EXPAND_SZ: Personal Location: %USERPROFILE%\Documents
I found an interesting article here https://lazyadmin.nl/office-365/migrate-users-home-drives-to-onedrive-for-business-with-powershell/ that seem to be talking on the same lines but i am not too sure if this is the way to go.
Some recommendations could help