How to Uninstall OneDrive on Windows 11 Without Losing Files

Before you uninstall OneDrive on Windows 11, check where your Desktop, Documents and Pictures folders actually live. If OneDrive folder backup is on, removing it the wrong way can make files look like they vanished. This guide shows the safe order: bring files back to your PC first, then unlink, uninstall or block OneDrive.

Why Removing OneDrive Can Make Files Disappear

OneDrive folder backup (sometimes called Known Folder Move) quietly moves your Desktop, Documents and Pictures into the OneDrive folder. Your files then live under C:\Users\yourname\OneDrive\ and sync to the cloud. Files On-Demand can also leave many of them as online-only placeholders.

The problem in practice

If you uninstall OneDrive or stop backup without moving files back, Windows points your Desktop and Documents to empty local folders. The files are usually still in the cloud or in the OneDrive folder, but they no longer appear where you expect. The developer of the Optimizer utility warns about exactly this in its FAQ: removing OneDrive on a PC already synced to a Microsoft account can make Desktop files seem to be deleted.

Check whether folder backup is on

Right-click the OneDrive cloud icon in the taskbar, choose Settings, then Sync and back up > Manage back up. If Desktop, Documents or Pictures are switched on, follow Step 1 before anything else.

Step 1: Bring Your Files Back to the PC

Download everything locally

Open the OneDrive folder in File Explorer, right-click the top-level folder and choose Always keep on this device. Wait until every file shows a solid green check mark, which means it is stored locally.

Stop folder backup

In Manage back up, switch off each folder. Windows will start saving new files locally, but existing files stay in OneDrive. Copy them from OneDrive\Desktop, OneDrive\Documents and OneDrive\Pictures into your local user folders (C:\Users\yourname\Desktop and so on).

Make an extra copy

Before uninstalling, copy important files to an external drive or another folder. It takes a few minutes and removes all risk.

Step 2: Unlink This PC

In OneDrive Settings > Account, click Unlink this PC. Your files stay in the cloud and in the local OneDrive folder, but syncing stops. Some people stop here, because unlinking alone ends the sync without removing the app.

Step 3: Uninstall OneDrive on Windows 11

Through Settings

Go to Settings > Apps > Installed apps, search for Microsoft OneDrive, open the three-dot menu and choose Uninstall.

With winget

In Windows Terminal, run winget uninstall Microsoft.OneDrive. This is useful for scripts and for removing it from several PCs.

With a tweak tool

Debloat utilities often have a “remove OneDrive” option. The Hellzerg Optimizer places it among its advanced tweaks and recommends it only on fresh installs before a Microsoft account is set up, which is the safest moment to use any such tool.

Step 4: Stop OneDrive From Coming Back

Windows updates and Microsoft 365 installs can reinstall OneDrive.

Group Policy (Pro and above)

Open gpedit.msc and go to Computer Configuration > Administrative Templates > Windows Components > OneDrive. Enable Prevent the usage of OneDrive for file storage. This stops the app from being used even if it reappears.

Registry for Windows 11 Home

The equivalent policy is a DWORD named DisableFileSyncNGSC set to 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive. Create the OneDrive key if it does not exist, and back up the registry first.

Troubleshooting and Reinstalling

My Desktop is empty after uninstalling

Do not panic. Check C:\Users\yourname\OneDrive\Desktop and sign in at onedrive.com to see the cloud copy. Move the files back to your local Desktop folder.

How to reinstall OneDrive

Run winget install Microsoft.OneDrive or download it from Microsoft’s OneDrive page, then sign in again.

Frequently Asked Questions

Does uninstalling OneDrive delete my files?

No, it does not delete files from the cloud or the OneDrive folder. Files can appear missing because Desktop and Documents were redirected, which is why Step 1 matters.

Is it better to unlink or uninstall OneDrive?

Unlink if you might use OneDrive later. Uninstall if you never use it and want it gone from startup and File Explorer.

Conclusion

To uninstall OneDrive on Windows 11 safely, keep files on the device, stop folder backup, copy them home, unlink, then uninstall and block it if needed. OneDrive is one of the most common items in a cleanup, so if you are removing more, continue with our guide to debloating Windows 11 safely.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top