How to Stop OneDrive from Syncing and Deleting Your Local Files

OneDrive moving your files to the cloud without permission? Learn how to unlink your PC, disable folder backup, and keep your files stored locally.

Published 2026-02-04 by TechNet New England

OneDrive can be a useful backup tool when set up intentionally, but many users discover it's been silently moving their Desktop, Documents, and Pictures folders to the cloud without their knowledge. The real problem shows up when OneDrive decides to make files "online-only" to free up disk space, which means your files are no longer on your computer. If you lose internet access, or if you unlink OneDrive without realizing files were cloud-only, those files can appear to vanish.

Here's how to take back control of your files and stop OneDrive from managing them without your consent.

Understanding What OneDrive Is Doing

When OneDrive's "folder backup" feature is enabled (which Microsoft enables by default on many new PCs and during Windows setup), it redirects your Desktop, Documents, and Pictures folders to OneDrive. This means:

Step 1: Check Which Folders OneDrive Is Managing

  1. Click the OneDrive cloud icon in your system tray (bottom-right corner of the taskbar)
  2. Click the gear icon, then "Settings"
  3. Go to the "Sync and backup" tab (or "Backup" tab in older versions)
  4. Click "Manage backup"
  5. You'll see which folders (Desktop, Documents, Pictures) are being backed up to OneDrive

Step 2: Stop Folder Backup

This is the most important step. It stops OneDrive from managing your personal folders.

  1. In the same "Manage backup" screen, click "Stop backup" for each folder (Desktop, Documents, Pictures)
  2. OneDrive will warn you that files will stay in OneDrive. Click "Stop backup" to confirm
  3. Repeat for each folder

After stopping backup, your folder paths will return to the normal locations (e.g., C:\Users\YourName\Documents instead of C:\Users\YourName\OneDrive\Documents). However, files that were already synced will stay in the OneDrive folder. You'll need to manually move them back.

Step 3: Make Sure Your Files Are Downloaded Locally

Before making any further changes, ensure all your files are actually on your computer and not just in the cloud.

  1. Open File Explorer and navigate to your OneDrive folder
  2. Look at the status icons next to files:
    • Cloud icon = online only (not on your computer)
    • Green checkmark = available locally
    • Green circle with checkmark = always kept on this device
  3. To download everything: right-click the OneDrive folder (or specific subfolders), select "Always keep on this device"
  4. Wait for all files to download before proceeding

Step 4: Move Files Back to Local Folders

Once all files are downloaded locally, move them from the OneDrive folder to your regular local folders:

  1. Open two File Explorer windows side by side
  2. In one window, navigate to C:\Users\YourName\OneDrive\Documents
  3. In the other, navigate to C:\Users\YourName\Documents
  4. Select all files and move (cut and paste) them to the local Documents folder
  5. Repeat for Desktop and Pictures if needed

Step 5: Unlink OneDrive (Optional)

If you want to completely disconnect OneDrive from your PC:

  1. Click the OneDrive icon in the system tray
  2. Click the gear icon > Settings
  3. Go to the "Account" tab
  4. Click "Unlink this PC"
  5. Confirm the action

This stops all syncing but doesn't delete your files from the cloud. Your files on OneDrive.com remain safe.

Step 6: Prevent OneDrive from Starting Automatically

If you want to keep OneDrive installed but don't want it running:

  1. Open Task Manager (Ctrl + Shift + Esc)
  2. Go to the "Startup" tab
  3. Find "OneDrive" and click "Disable"

To uninstall OneDrive entirely, go to Settings > Apps > Installed apps, find Microsoft OneDrive, and uninstall it.

If these steps don't resolve the issue, or if you'd like professional help, our team is here. Contact TechNet New England for IT support.