When you migrate finance folders from a file server to OneDrive, users often report that shared links and recent file shortcuts stop working. This happens because the old file paths like \\FileServer\Finance\FY24.xlsx do not match the new OneDrive paths. The migration changes the file ID and the URL that OneDrive uses to track recent documents. This article explains why links break, how to preserve them during migration, and which admin settings to check before and after the move.
Key Takeaways: Prevent Link Breakage During Finance Folder Migration
- OneDrive admin center > Sync > Known Folder Move: Redirects standard Windows folders to OneDrive but does not preserve file-server share links.
- SharePoint Migration Tool (SPMT): Preserves file metadata and timestamps but does not automatically update existing shared links.
- OneDrive admin center > Sharing > Link settings: Controls default link type and expiration, which affect how migrated files appear in Recent items.
Why File Server Migration Breaks Recent Links for Finance Folders
OneDrive tracks recently accessed files using a unique identifier called the file ID. When a file exists on a network file server, Windows associates its path and file ID with the local network location. After you move the file to OneDrive, the file gets a new ID and a new URL. Users who had the file pinned in their Office Recent list or who received a sharing link to the old server path will see an error when they try to open it.
Finance folders are especially affected because they contain frequently shared documents such as budget spreadsheets, invoice PDFs, and quarterly reports. Users rely on the Recent list in Excel, Word, and PowerPoint to quickly open these files. After migration, the Recent list still points to the old file server path, which no longer exists. OneDrive does not automatically redirect these old paths.
How OneDrive Stores Recent File References
Office applications store recent file references in the Windows registry under HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\File MRU. Each entry contains the full path of the file. If the path changes from \\FileServer\Finance to https://mytenant.sharepoint.com/sites/Finance, the entry becomes invalid. OneDrive does not update registry entries during migration.
Why Finance Folders Are More Vulnerable
Finance teams often share links to specific files via email or Teams. These links contain the server name and folder path. After migration, every shared link must be re-created. Additionally, finance documents are frequently pinned to the Windows taskbar or Quick Access. Pinned items also break because they rely on the original file path.
Steps to Preserve Links and Recent Items During Migration
Follow these steps before and after migration to minimize link breakage. Perform the pre-migration steps at least one week before the move.
- Audit current shared links and pinned items
Use a PowerShell script to scan the finance file server for all shared links. RunGet-ChildItem -Path \\FileServer\Finance -Recurse | Select-Object FullName, LastAccessTimeto list files. Export the list to a CSV. Ask finance users to identify which files they have pinned or saved in their Recent list. - Notify users about the migration date
Send an email to all finance team members at least five business days before the migration. Include the exact date and time when the server folder will become read-only. Ask users to open any pinned files and save them locally if they need uninterrupted access. - Use SharePoint Migration Tool with link redirection
Download the SharePoint Migration Tool from the Microsoft 365 admin center. In the tool, select the source path \\FileServer\Finance and the destination OneDrive library. Under Advanced Settings, enable the option Preserve file IDs if available. This option is only supported in SharePoint Online, not in OneDrive personal libraries. For OneDrive, you must manually recreate links. - Recreate critical shared links in OneDrive
After migration, open the finance folder in OneDrive. Select the files that had active shared links. Click the Share button and choose People with existing access to generate new links. Send the new links to the same recipients. Use the CSV from step 1 to match old links to new ones. - Clear and rebuild Office Recent lists
Run the following PowerShell command on each finance user’s machine to clear the broken Recent entries:Remove-Item -Path 'HKCU:\Software\Microsoft\Office\16.0\Common\File MRU' -Recurse. Then ask users to open each migrated file from OneDrive at least once. Office will repopulate the Recent list with the correct OneDrive paths. - Remove old file server shortcuts from Quick Access
Open File Explorer. In the Quick Access pane, right-click any pinned finance folder that points to the old server path. Select Unpin from Quick Access. Then navigate to the OneDrive finance folder, right-click it, and choose Pin to Quick Access.
If Links Still Break After the Migration
Users see “File not found” when clicking a shared link
This occurs when the link still contains the old server path. The only fix is to generate a new share link in OneDrive. To prevent this in future migrations, consider using a DFS namespace that redirects to the new OneDrive path. DFS is not a native OneDrive feature, but you can configure a DFS target that points to the OneDrive sync folder URL.
OneDrive Recent list shows old server paths
Office caches recent file paths in a file called MRU stored in the user’s AppData folder. Deleting the registry key as described in step 5 is the most reliable method. Alternatively, you can run the Office cache cleaner tool from Microsoft Support and Recovery Assistant.
Files appear with a red X in OneDrive sync
This usually means the file name or path exceeds the 400-character limit after migration. Finance folders often have deep subfolder structures. Shorten folder names or flatten the hierarchy before migration. Use the OneDrive admin center to check sync status for the affected files.
| Item | File Server Migration | OneDrive Direct Migration |
|---|---|---|
| Link preservation | Links break because file ID changes | Links preserved if using SharePoint Migration Tool with ID preservation |
| Recent list update | Must manually clear registry MRU | Office auto-updates Recent list after first open |
| Quick Access pins | Must manually repin folders | Pins remain if using Known Folder Move |
| Shared link expiration | All old links become invalid | New links must be created |
After migration, you can now manage finance files in OneDrive with working Recent links and shared access. Next, configure a retention policy for the finance library to prevent accidental deletion of critical documents. As an advanced tip, use the OneDrive admin center to set default link permissions to “People in your organization” to reduce link re-creation efforts in future migrations.