OneDrive File Issues

How to Stop OneDrive Backup from Changing Desktop and Documents Paths

Rana GarciaRana Garcia Oct 28, 2026 868 views

Question details

The user needs to prevent OneDrive from moving the Desktop and Documents folders to cloud locations in order to maintain original local paths.

How to Stop OneDrive Backup from Changing Desktop and Documents Paths
Product
OneDrive
Device & OS
Windows
Scenario
Using Git repositories or software programs that rely heavily on original local Windows file paths while OneDrive backup is active.
Observed behavior
OneDrive Known Folder backup moves the local Desktop and Documents folders into OneDrive directories, which breaks programs and Git repositories that depend on the original local Windows paths.
Before you start

Ensure you have enough local hard drive space to restore your files, as you will need to manually move existing files from the OneDrive folder back to your local C: drive after stopping the backup.

Solution 1Recommended

Stop Known Folder Backup in OneDrive Settings

Use the OneDrive application settings to halt the backup of your Desktop and Documents folders, reverting their paths back to local directories.

When you turn off the backup for these folders, OneDrive immediately stops syncing them to the cloud. The system paths for Desktop and Documents will revert to your local user profile.

However, the files that were already uploaded to OneDrive will remain in the OneDrive folder. You must manually move them back to your local computer to restore your previous workspace state.

1
Open OneDrive Settings

Click on the OneDrive cloud icon located in your Windows taskbar notification area (system tray). Click the gear icon (Help & Settings) and select 'Settings' from the context menu.

2
Navigate to Backup Management

In the OneDrive Settings window, go to the 'Sync and back up' tab on the left sidebar, then click the 'Manage back up' button.

3
Toggle Off Folder Backups

A window displaying your backed-up folders will appear. Toggle off the switches for the 'Desktop' and 'Documents' folders to stop backing them up to OneDrive.

4
Confirm Changes

Click 'Save changes' or 'Stop backup' in the confirmation prompt to finalize your settings.

5
Move Files Back Manually

Open File Explorer and navigate to your OneDrive folder. Select all your files from the OneDrive Desktop and Documents folders, and move them back to your local C:\Users\[YourUsername]\Desktop and Documents folders.

Stop Known Folder Backup in OneDrive Settings
Manual File Restoration is Required: After stopping the backup, your local Desktop and Documents folders will initially appear empty. This is normal. Your files are safe in the OneDrive folder until you manually drag them back to the local folders.
Free Microsoft Office alternative

Edit Your Local Documents Effortlessly with WPS Office

If you prefer managing your files locally to avoid unwanted OneDrive sync issues and path changes, try WPS Office. It is a powerful, lightweight, and free alternative to Microsoft Office that respects your local storage preferences.

Save and manage files purely on your local drives without forced cloud path changes.Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight installation that operates smoothly without bloating your system.Familiar tabbed user interface for a seamless transition from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Will stopping OneDrive backup delete my files?

No, stopping the backup will not delete your files. They will remain safely stored inside your OneDrive folder. However, they will no longer appear on your local Desktop until you manually move them back.

Why are my Desktop files missing after turning off OneDrive backup?

When you disable the backup, Windows reverts the Desktop path back to your local drive (C:\Users\[Username]\Desktop). Since OneDrive kept your files in its own cloud directory, your newly restored local Desktop appears empty. You simply need to navigate to the OneDrive folder and move the files back.

How do I fix Git repositories broken by OneDrive's path changes?

First, stop the OneDrive backup for the folder containing your repositories. Next, move your project folders from the OneDrive directory back to their original local paths. This restores the local path dependencies that Git requires to function properly.

Can I choose which specific folders OneDrive backs up?

Yes. By accessing the 'Manage back up' menu in OneDrive settings, you can individually toggle the backup status for your Desktop, Documents, and Pictures folders according to your preferences.