John Gordon

Assistant Professor, David Eccles School of Business

Associate Instructor, College of Humanities

University of Utah logo  University of Utah

Tech Guide: Remove OneDrive from Windows

A step-by-step guide for unlinking, disabling, uninstalling, and blocking OneDrive in Windows.

Operating Systems Beginner Updated June 2026

Disclaimer & Important Cautions

These Tech Guides and instructions are provided in good faith as a general educational guide. Technology changes over time, and settings, software versions, installation steps, and security practices may vary by system.

I cannot guarantee that these steps will work in every environment, and I am not responsible for data loss, configuration problems, system errors, security issues, downtime, or other problems that may result from following this guide.

  • Back up important files before making system or software changes.
  • Document your current settings before changing them.
  • Use administrator privileges carefully.
  • Do not delete files until you have confirmed that local copies exist.
  • Be especially careful with Desktop, Documents, and Pictures, since OneDrive may redirect those folders.
  • When in doubt, consult official documentation or a qualified technician.

Overview

This guide explains how to stop using OneDrive on Windows as completely as Windows normally allows. The process has several layers: protect your files first, stop OneDrive folder backup, unlink the PC, disable OneDrive startup, uninstall OneDrive, and optionally use Group Policy to block OneDrive from being used again.

Main idea: Do not start by uninstalling OneDrive. First make sure your files are really stored locally, then unlink and disable OneDrive.

Requirements

  • Windows.
  • Administrator access for uninstalling software and using Group Policy.
  • Enough local disk space to copy files out of OneDrive folders.
  • Time to carefully confirm that important files are saved locally before uninstalling or blocking OneDrive.

Important Notes Before You Begin

  • OneDrive often redirects Desktop, Documents, and Pictures into the OneDrive folder.
  • Copy files first. Do not move or delete files until you confirm the local copies are complete.
  • Unlinking OneDrive from the PC does not delete files from OneDrive.com.
  • Group Policy steps are intended for Windows.

Part 1: Make Sure Your Files Are Really Local

Before unlinking or uninstalling OneDrive, open File Explorer and check these OneDrive folders:

C:\Users\<yourname>\OneDrive\Desktop

C:\Users\<yourname>\OneDrive\Documents

C:\Users\<yourname>\OneDrive\Pictures

Copy anything you want to keep into the regular local folders:

C:\Users\<yourname>\Desktop

C:\Users\<yourname>\Documents

C:\Users\<yourname>\Pictures

Important: Use copy, not move, until you are sure everything important exists outside the OneDrive folders.

Part 2: Stop OneDrive Folder Backup

Step 2.1: Understand what Sync and backup does

The Sync and backup section is used to manage folder backup for folders such as Desktop, Documents, and Pictures. It is not the place where you unlink the PC from OneDrive.

Important distinction: Use Sync and backup to manage folder backup. Use Account > Unlink this PC to disconnect the computer from OneDrive.

Step 2.2: If OneDrive is still connected, stop folder backup first

Click the OneDrive cloud icon in the Windows system tray. Then choose the gear icon and open Settings.

Then go to:

Sync and backup > Manage backup

Turn off backup for:

  • Desktop
  • Documents
  • Pictures

When prompted, choose the option that keeps the files on the PC, not only in OneDrive.

Step 2.3: If Sync and backup is greyed out

If Sync and backup is greyed out or OneDrive says You do not have an account connected, the PC is already unlinked from OneDrive. In that case, skip the Manage backup step and continue with Windows Backup settings, uninstalling OneDrive, and Group Policy blocking.

Part 4: Stop OneDrive from Starting with Windows

Step 4.1: Disable OneDrive startup in Settings

Open:

Settings > Startup Apps 

Turn off:

Microsoft OneDrive

Step 4.2: Check Task Manager startup apps

You can also check:

Ctrl + Shift + Esc > Startup apps > OneDrive.exe
Right-click and choose Disable.

Part 5: Uninstall OneDrive

Step 5.1: Remove Microsoft OneDrive

Open:

Settings > Installed apps

Search for:

Microsoft OneDrive

Click the three-dot menu and choose Uninstall.

Part 6: Optional Group Policy Block for Windows

If you want OneDrive blocked more permanently, use Group Policy after unlinking and uninstalling OneDrive.

Step 6.1: Open Group Policy Editor

Press Win + R, then run:

gpedit.msc

Step 6.2: Prevent OneDrive file storage

Go to:

Computer Configuration
Administrative Templates
OneDrive

Enable:

Prevent the usage of OneDrive for file storage

Step 6.3: Prevent known folders from moving to OneDrive

Also look for and enable:

Prevent users from moving their Windows known folders to OneDrive

This helps prevent Desktop, Documents, and Pictures from being redirected back into OneDrive.

Troubleshooting: Backup Toggle Will Not Stay Off

If the Desktop, Documents, or Pictures backup toggle will not stay off, you may be in the wrong OneDrive dialog, such as Choose folders, or Windows/OneDrive may be re-enabling known-folder backup through Windows Backup, a work/school policy, or a stuck OneDrive setup state.

Step 1: Protect your files first

Copy important files from the OneDrive Desktop, Documents, and Pictures folders into the regular local folders. Again, copy first. Do not delete or move until you confirm everything is safe.

Step 2: If OneDrive is connected, unlink the PC from Account settings

In OneDrive, go to:

Cloud icon > Gear icon > Settings > Account > Unlink this PC

Confirm Unlink account.

Step 3: Turn off Windows Backup OneDrive sync

Open:

Settings > Accounts > Windows backup

Look for:

OneDrive folder syncing
Manage sync settings

Turn off Desktop, Documents, and Pictures there too.

Step 4: Reset OneDrive if needed

If OneDrive refuses to behave, press Win + R and run:

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Wait a minute. Then open OneDrive again if needed and immediately unlink the PC.