# Transition from Windows Folder Redirection [[Group Policy Object (GPO)|Group Policy Objects]]^[[Redirect and move Windows known folders to OneDrive - SharePoint in Microsoft 365 | Microsoft Learn](https://learn.microsoft.com/en-us/sharepoint/redirect-known-folders#transition-from-the-windows-folder-redirection-group-policy-objects)] ## Folders redirected to a network share 1. Use Migration Manager to copy contents in the network file share location to a user's [[OneDrive]], making sure that all contents go into the existing Documents, Pictures, or Desktop folders. > [!Note] > If Migration Manager will create the Documents, Pictures, or Desktop folders, ensure that **Preserve file share permissions** is not selected when performing the migration. 2. Disable the Window Folder Redirection Group Policy and make sure to leave the folder and contents on the network file share. 3. Enable Known Folder Move Group Policy. Known folders move to OneDrive and will merge with the existing Desktop, Documents, and Pictures folders, which contain all the file share content that you moved in the first step. ## SPMT Migration Tool Job I made a mistake during a Windows File Server to OneDrive migration where I migrated all files to the OneDrive root folder. The following examples are how I finally got it to work. ```JSON { "Tasks": [ { "SourcePath": "\\\\contoso-DC01\\RedirectedFolders\\DaveC\\Desktop", "TargetPath": "https://contoso-my.sharepoint.com/personal/d_callari_contoso_com", "TargetList": "Documents", "TargetListRelativePath": "Desktop", "MigrationType": "Content" }, { "SourcePath": "\\\\contoso-DC01\\RedirectedFolders\\DaveC\\My Documents", "TargetPath": "https://contoso-my.sharepoint.com/personal/d_callari_contoso_com", "TargetList": "Documents", "TargetListRelativePath": "Documents", "MigrationType": "Content" }, { "SourcePath": "\\\\contoso-DC01\\RedirectedFolders\\DaveC\\My Pictures", "TargetPath": "https://contoso-my.sharepoint.com/personal/d_callari_contoso_com", "TargetList": "Documents", "TargetListRelativePath": "Pictures", "MigrationType": "Content" }, { "SourcePath": "\\\\contoso-DC01\\RedirectedFolders\\DaveC\\Music", "TargetPath": "https://contoso-my.sharepoint.com/personal/d_callari_contoso_com", "TargetList": "Documents", "TargetListRelativePath": "Music", "MigrationType": "Content" }, { "SourcePath": "\\\\contoso-DC01\\RedirectedFolders\\DaveC\\Videos", "TargetPath": "https://contoso-my.sharepoint.com/personal/d_callari_contoso_com", "TargetList": "Documents", "TargetListRelativePath": "Videos", "MigrationType": "Content" } ] } ``` ```CSV \\contoso-DC01\RedirectedFolders\DaveC\Desktop,,,https://contoso-my.sharepoint.com/personal/d_callari_contoso_com/,Documents,Desktop \\contoso-DC01\RedirectedFolders\DaveC\My Documents,,,https://contoso-my.sharepoint.com/personal/d_callari_contoso_com/,Documents,Documents \\contoso-DC01\RedirectedFolders\DaveC\My Pictures,,,https://contoso-my.sharepoint.com/personal/d_callari_contoso_com/,Documents,Pictures \\contoso-DC01\RedirectedFolders\DaveC\Music,,,https://contoso-my.sharepoint.com/personal/d_callari_contoso_com/,Documents,Music \\contoso-DC01\RedirectedFolders\DaveC\Videos,,,https://contoso-my.sharepoint.com/personal/d_callari_contoso_com/,Documents,Videos ```