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.
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
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.
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 3: Unlink the PC from OneDrive
If OneDrive is still connected, open the OneDrive cloud icon from the system tray, choose Settings, go to Account, and select Unlink this PC.
If Sync and backup is greyed out or OneDrive says You do not have an account connected, the PC is already unlinked. In that case, skip the Manage backup step and continue with Windows Backup settings, uninstalling OneDrive, and Group Policy blocking.
Step 3.1: Unlink the account
If OneDrive is still connected, open the OneDrive cloud icon from the system tray, choose Settings, go to Account, and select Unlink this PC.
OneDrive cloud icon > Gear icon > Settings > Account > Unlink this PC > Unlink account
If Sync and backup is greyed out or OneDrive says You do not have an account connected, the PC is already unlinked. 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 OneDriveStep 4.2: Check Task Manager startup apps
You can also check:
Ctrl + Shift + Esc > Startup apps > OneDrive.exeRight-click and choose Disable.Part 5: Uninstall OneDrive
Step 5.1: Remove Microsoft OneDrive
Open:
Settings > Installed appsSearch for:
Microsoft OneDriveClick 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.mscStep 6.2: Prevent OneDrive file storage
Go to:
Computer Configuration
Administrative Templates
OneDriveEnable:
Prevent the usage of OneDrive for file storageStep 6.3: Prevent known folders from moving to OneDrive
Also look for and enable:
Prevent users from moving their Windows known folders to OneDriveThis 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 PCConfirm Unlink account.
Step 3: Turn off Windows Backup OneDrive sync
Open:
Settings > Accounts > Windows backupLook for:
OneDrive folder syncing
Manage sync settingsTurn 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 /resetWait a minute. Then open OneDrive again if needed and immediately unlink the PC.
Recommended Path
- Copy files from OneDrive Desktop, Documents, and Pictures to the regular local folders.
- Unlink this PC from OneDrive.
- Turn off OneDrive folder syncing under Windows Backup.
- Uninstall Microsoft OneDrive.
- Use Group Policy to block OneDrive and known-folder movement.
- Restart Windows.
University of Utah