How To Remove Or Disable OneDrive On Windows 11 (2026)
OneDrive keeps launching, syncing, and nagging you to back up folders you never asked it to touch.
You can stop it completely on Windows 11, and which method fits depends on whether you want it paused, uninstalled, or blocked for good.
Most of these take under five minutes, and none of them delete the files you already have in your OneDrive cloud storage.
Which OneDrive method do you need?
| Goal | Method | Works on Windows 11 Home | Reversible |
|---|---|---|---|
| Pause syncing for a few hours | Pause syncing | Yes | Yes, resumes on its own |
| Stop syncing, keep the app | Unlink this PC | Yes | Yes, sign in again |
| Stop it opening at sign-in | Startup Apps toggle | Yes | Yes |
| Remove the app | Uninstall in Settings | Yes | Yes, reinstall |
| Stop it coming back | Group Policy | No (Pro, Enterprise, Education) | Yes, set to Not configured |
| Stop it coming back | Registry value | Yes | Yes, delete the value |
Why should you stop folder backup first?
Do this first: if OneDrive backs up your Desktop, Documents, or Pictures, those folders may live inside the OneDrive folder.
Turn the backup off before you unlink or uninstall so you know where your files end up.
- Click the OneDrive cloud icon in the taskbar, then the gear icon, then Settings.
- Open Sync and backup and select Manage backup.
- Turn off the toggle for Desktop, Documents, and Pictures.
- Choose whether the files stay only in OneDrive or only on this PC.
If you see "Some files couldn’t be moved", set those files to Always keep on this device and try again.
Close any open files first, because open files cannot be moved.
Need a break? How do you pause OneDrive syncing?
Pausing is the lightest option because nothing is unlinked or removed.
- Right-click the OneDrive cloud icon in the taskbar notification area.
- Choose Pause syncing.
- Pick 2, 8, or 24 hours.
Microsoft says syncing restarts by itself when the timer ends, and OneDrive also pauses on its own in battery saver mode or on a metered network.
To stop it until you start it again, choose Pause syncing and then Quit OneDrive.
Method 1: How do you unlink OneDrive from your PC?
- Click the OneDrive cloud icon in the taskbar.
- Click the gear icon and choose Settings.
- Open the Account tab.
- Click Unlink this PC, then Unlink account.
Microsoft says unlinking does not delete your files or data.
Method 2: How do you stop OneDrive from starting with Windows?
- Press
Ctrl + Shift + Escto open Task Manager. - Go to Startup apps.
- Right-click Microsoft OneDrive and choose Disable.
You can also uncheck the sign-in startup option in the OneDrive Settings window if it is shown there.
The icon stays gone until you open OneDrive yourself or bring the OneDrive icon back.
Method 3: How do you uninstall OneDrive in Settings?
- Press
Windows + Ito open Settings. - Go to Apps > Installed apps.
- Search for Microsoft OneDrive.
- Click the three-dot menu and select Uninstall, then confirm.
- Restart the PC.
Microsoft states that uninstalling OneDrive from a computer does not delete your files or data.
Method 4: What if the Uninstall button fails?
Run the installer’s own uninstall switch from an administrator Command Prompt.
- Press
Windows + R, typecmd, and pressCtrl + Shift + Enter. - Run
%SystemRoot%\System32\OneDriveSetup.exe /uninstall. - If Windows cannot find that file, run
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstallinstead. - Restart the PC.
The command gives no confirmation message, so check Installed apps afterward.
Method 5: How do you block OneDrive with Group Policy?
This works only on Windows 11 Pro, Enterprise, and Education, because Home has no Group Policy Editor.
- Press
Windows + R, typegpedit.msc, and press Enter. - Go to Computer Configuration > Administrative Templates > Windows Components > OneDrive.
- Open Prevent the usage of OneDrive for file storage.
- Select Enabled, then click Apply and OK.
- Restart the PC.
Method 6: How do you block OneDrive with the Registry on Home?
Warning: a wrong registry edit can break Windows, so export the key or create a restore point first.
- Press
Windows + R, typeregedit, and press Enter. - Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows. - Right-click Windows, choose New > Key, and name it
OneDrive. - Inside that key, create a DWORD (32-bit) Value named
DisableFileSyncNGSC. - Set its value to
1and restart the PC.
What if OneDrive is built in and will not uninstall?
Microsoft says OneDrive is built into some Windows versions and cannot be uninstalled there, but you can hide it.
- Unlink the PC using Method 1.
- Open File Explorer, right-click OneDrive, and choose Properties.
- On the General tab, tick Hidden and click Apply.
- Click the OneDrive gear icon and choose Quit OneDrive.
How do you keep OneDrive but free up disk space?
If disk space is the real problem, Files On-Demand keeps files online and removes the local copies.
- Open File Explorer and right-click a file or folder in OneDrive.
- Choose Free up space, or Always keep on this device for files you need offline.
To turn the feature on, open the OneDrive Settings, go to Sync and back up → Advanced settings, and enable Files On-Demand.
A blue cloud icon means online-only, and a green circle with a white check means the file always stays on your PC.
What happens to your files?
| Action | Files on your PC | Files in OneDrive online |
|---|---|---|
| Unlink this PC | Stay on the PC | Stay online |
| Uninstall OneDrive | Stay on the PC | Stay online |
| Backup off, keep in OneDrive only | Removed from the PC | Stay online |
| Backup off, keep on PC only | Stay on the PC | Removed from OneDrive |
Microsoft’s own guides for turning off or uninstalling OneDrive and for backing up folders confirm these results.
Is it safe to delete the leftover OneDrive folder?
Only delete C:\Users\<YourUsername>\OneDrive after you confirm every file you need is saved somewhere else.
Files marked as cloud-only exist online and may not be on the disk, so download them or copy them out first.
Empty the Recycle Bin afterward if you want the disk space back.
How do you turn OneDrive back on?
- After unlinking: open OneDrive from Start and sign in again.
- After uninstalling: install OneDrive again and sign in.
- After a policy block: set the policy to Not configured, or delete the
DisableFileSyncNGSCvalue, then restart.
Cleaning up the rest of Windows? See how to disable Copilot, remove Phone Link, and clear the Start menu Recommended section.
This is an excellent, comprehensive overview of the options for removing this nasty bit of Microsoft Spyware from your devices. The only trouble I see is that there’s no way of deleting Microsoft’s copies of your files. I had no idea until today that MS was even doing this: I never signed up for the OneDrive service and didn’t even sign up for a MS account.
But in true Windows fashion, you are signed up whether you want to or not. And if you read the fine print in your Windows User Agreement, you’ll see that MS retains the right to copy and/or remove any files on your system that it wants to. The tech industry as a whole derides regulation but is always showing the need for it.