How to Fix OneDrive Stuck Synchronizing Files in a Directory Junction
Question details
Users need to resolve an issue where OneDrive indefinitely stalls during synchronization when processing files linked via a directory junction.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to sync local folders linked to the OneDrive directory using a Windows directory junction or symbolic link.
- Observed behavior
- The OneDrive client gets stuck on 'Looking for changes' or 'Processing changes', completely halting the synchronization of junction-linked files and other data.
Before attempting more complex fixes, simply pause OneDrive syncing from the system tray menu for five minutes and resume it, which can occasionally force a refresh of the synchronization queue.
Optimize Sync Settings and Reduce File Count
Adjusting the Files On-Demand settings and ensuring you remain under the recommended file limits can prevent OneDrive from looping indefinitely during junction syncs.
Directory junctions often confuse OneDrive's indexing mechanism, especially when combined with the Files On-Demand feature or excessively large file counts. Modifying these local storage preferences is the most reliable way to restore sync function.
Check the properties of your OneDrive folder to ensure the total number of items does not exceed 100,000 files, as exceeding this limit drastically reduces sync performance.
Open File Explorer, right-click the junction folder or affected files, and select 'Always keep on this device'. This forces OneDrive to download the files locally and bypasses indexing conflicts.
Identify large files, such as Outlook .pst email data files or active database files, and move them to a directory outside of your OneDrive sync folder.

Clear Temporary Files and Troubleshoot Network
Hidden temporary files and restrictive network configurations like VPNs can block OneDrive from communicating file states back to the server.
Consult Microsoft Support and Logs
If junction-based synchronization still fails across multiple devices, the issue may require deeper administrative troubleshooting.
Experience Smoother File Management and Editing with WPS Office
If OneDrive sync issues and Microsoft Office complications are slowing down your productivity, consider switching to WPS Office. It offers a lightweight, comprehensive suite for all your document needs without the heavy resource usage.
- 1. Download and Install: Visit the official WPS Office website and download the free desktop application for your operating system.
- 2. Sign In for Cloud Access: Create a free account or log in to instantly access WPS Cloud for seamless, reliable document synchronization across your devices.
- 3. Open Your Office Files: Drag and drop your existing Microsoft Word, Excel, or PowerPoint files directly into WPS Office to continue working immediately.

Frequently Asked Questions
Can OneDrive officially sync files outside its folder using directory junctions?
While it is technically possible to use directory junctions to include outside folders, Microsoft does not officially support network drives or symbolic links/junctions in OneDrive. This unsupported configuration is the most common cause of the app getting stuck on 'Looking for changes'.
Why does OneDrive get stuck on 'Looking for changes' indefinitely?
This happens when OneDrive struggles to index the file list. Common triggers include having more than 100,000 files in the OneDrive folder, syncing heavily active files like databases, or encountering hidden temporary files that constantly change states.
Does disabling 'Files On-Demand' fix directory junction issues?
Yes, it often does. Files On-Demand relies on placeholder files that can cause access conflicts when routed through a directory junction. Selecting 'Always keep on this device' forces OneDrive to resolve the actual file data, often clearing the sync queue.




