How to Fix OneDrive Folder Backup Stuck on Setting Up
Question details
The user is attempting to back up their Documents folder, but the OneDrive application gets stuck indefinitely on the 'Setting up folder backup' screen.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 10
- Scenario
- Enabling folder backup for local directories like Documents using the OneDrive desktop client.
- Observed behavior
- The backup initialization process hangs on the setup screen and fails to proceed to actual file synchronization.
Verify that your computer has a stable internet connection and ensure your Windows system is fully updated before troubleshooting OneDrive synchronization settings.
Unlink and Reconnect Your OneDrive Account
Unlinking your PC resets your local connection to the cloud server, forcing OneDrive to clear temporary setup glitches and rebuild its synchronization lists.
Often, the OneDrive client gets stuck in a loop while trying to verify account credentials or read existing folder configurations. Completely unlinking the account from your PC is the most effective way to reset this background process.
Click the OneDrive cloud icon located in the Windows taskbar system tray. Click the Gear (Help & Settings) icon and select 'Settings'.
Navigate to the 'Account' tab within the settings menu. Click the 'Unlink this PC' link and confirm your choice.
The OneDrive setup wizard will automatically appear. Enter your Microsoft account credentials to sign back in and follow the prompts to initiate the folder backup again.

Fix Unsupported File Names and Long Paths
Problematic file names or deeply nested folders can prevent OneDrive from completing its initial directory scan, causing the setup screen to hang.
Temporarily Disable Antivirus and Firewall Settings
Aggressive third-party security software can sometimes misidentify OneDrive's bulk file scanning as suspicious activity and block the process.
Switch to WPS Office for Built-in, Hassle-Free Cloud Backup
Tired of troubleshooting Microsoft OneDrive and Office synchronization issues? WPS Office offers an all-in-one productivity suite with integrated WPS Cloud storage, providing smooth, automatic document backups without the constant syncing headaches.
- 1. Download the Software: Visit the official WPS Office website to download the free, lightweight installation package for your PC.
- 2. Sign In to Access WPS Cloud: Launch WPS Office and sign in with your account to automatically activate your free WPS Cloud storage allocation.
- 3. Save and Auto-Backup: Create or open a document and simply click 'Save to Cloud'. Your work will be reliably synced and accessible across all your devices.

Frequently Asked Questions
Why does OneDrive get stuck on 'Setting up folder backup'?
This hang typically occurs due to an unstable internet connection, files in your folder containing unsupported characters, extremely long file paths exceeding system limits, or interference from third-party security software blocking the sync process.
How do I pause and resume syncing in OneDrive to clear a freeze?
Click the OneDrive cloud icon in your taskbar, click the gear (Settings) icon, select 'Pause syncing', and pick a timeframe. Immediately click 'Resume syncing' in the same menu to restart the connection and clear minor hangs.
Can file path length really cause OneDrive backup issues?
Yes. Both Windows and OneDrive enforce a maximum limit of 255 characters for an entire file path (including the drive letter and folder names). If a document nested deep in your folders exceeds this limit, the backup scan will hang or fail.
Will I lose my files if I use the 'Unlink this PC' option?
No, unlinking your PC simply stops the synchronization between your local hard drive and the cloud. Your existing local files remain completely safe on your PC, and any previously synced files stay secure in your online OneDrive storage.




