Illustration of files moving from cloud storage to a laptop, with a disconnected cloud-sync icon.
Windows 11 has a habit of making a fresh install feel like a reunion with your past. One XDA Developers writer found this out when a new setup pulled his old Desktop backup back onto the screen. Some of the shortcuts were blank and wouldn't open. He decided to get rid of OneDrive entirely.

That is one person's experience, not a universal Windows 11 defect. It does raise a practical question many people face: how do you get OneDrive out of the way without losing files or breaking the system?

Illustration of files moving from cloud storage to a laptop, with a disconnected cloud-sync icon. What happened​

The writer, Mainak Kumar Dey, normally uses a local account but chose a Microsoft account for this install because it was more convenient. His Microsoft account already held an old Desktop backup. Once OneDrive was running on the new install, those old files and shortcuts reappeared.

He chose Raphire's open-source Win11Debloat script rather than Settings, because he wanted to clear the app and its File Explorer entry at the same time. His account of the process:

  • He turned off folder backup, chose to keep his files on his PC, and unlinked the device from OneDrive.
  • He launched the script in an administrative PowerShell window, selected OneDrive manually in the app-removal list, and left the default tweaks enabled.
  • He kept the registry backup and system restore point safeguards turned on.
  • After a restart, a terminal window finished the uninstall. He then checked the Start menu and Installed apps to confirm OneDrive was gone.

He says the clean-up removed the desktop clutter, the File Explorer sidebar entry and the taskbar warnings. Those results are self-reported. He also notes this was a fresh install of Windows 11 25H2, which is why the default debloating tweaks were enabled.

Why the old Desktop came back​

Microsoft's documentation explains the behavior. Folder backup protects Desktop, Documents and other standard folders. In Microsoft's words, items on a backed-up Desktop roam to your other desktops running OneDrive. That is useful if you want it. It is less useful if you wanted a blank slate and the cloud copy is years out of date.

The writer's annoyance came from leaving stale cloud copies in place and then enabling backup on a new machine. That is a workflow lesson as much as a OneDrive complaint. Clean up the cloud copy before you re-enable backup and you avoid the surprise.

The safe order of operations​

Microsoft's support pages describe a sequence that matches the writer's cautious advice. The sequence below follows those pages. Menu labels can change between OneDrive builds, so treat it as a guide.

  1. Stop folder backup first. Open the OneDrive cloud icon in the notification area, then Help & Settings, then Settings. Go to Sync and backup and select Manage backup. Toggle off each folder you no longer want backed up.
  2. Choose where the files live. Microsoft's prompt offers two options: keep the files only in OneDrive (removing them from the PC), or keep them only on the PC (removing them from OneDrive). For a local-first setup, the PC option is the one the writer picked.
  3. Download cloud-only files. If the folder holds cloud-only files, Microsoft says you will see a message that some files couldn't be moved. The fix is to set them to Always keep on this device. Skip this and you may leave files behind.
  4. Watch for blockers. Open files can't be moved. OneNote notebooks can't be moved either, because they are cloud-based files.
  5. Unlink the PC. In Settings, go to the Account tab and select Unlink this PC, then Unlink account. Microsoft says you won't lose files or data by unlinking. They stay accessible by signing in to OneDrive.com.
  6. Then uninstall. Microsoft's standard route is Add or remove programs. Find Microsoft OneDrive under Apps & features and select Uninstall. Microsoft again says this doesn't delete your online files.

Settings uninstall or a debloat script?​

Microsoft notes that OneDrive is built into some versions of Windows and can't be uninstalled there. In that case the supported fallback is to unlink it, mark the OneDrive folder as Hidden in File Explorer and quit the app to remove the tray icon. For most people, unlinking plus the normal uninstall is enough, and the writer says the same about existing installs. He warns that using Win11Debloat on an already-configured daily driver is riskier, because the script's wider tweaks can break features you depend on.

Win11Debloat is not a single fixed action. The project describes it as a PowerShell script for Windows 10 and 11 that removes preinstalled apps and changes settings. It has several modes, and some features depend on the Windows version. Thurrott.com's earlier hands-on with it describes three top-level choices: Default mode, Custom mode and App removal. In App removal you get a list of removable apps, can filter to installed apps only, and tick what you want gone. That is the targeted route the XDA writer describes.

Recovery limits​

The project's wiki says most changes can be reverted by running the script again and unchecking the relevant tweak. It also says you can restore a registry backup to undo registry changes. A registry backup does not bring back apps the script uninstalled. Those have to be reinstalled separately, and the wiki says almost all of them are available through the Microsoft Store. A restore point is another recovery path. Restoring one rolls back apps, drivers and updates installed after it was created.

Even the managed-by-your-organization notice has an explanation. The wiki says the script uses local machine policies for some settings, so that message can appear even on a personal PC.

Removal has been a moving target​

Win11Debloat's handling of OneDrive has changed. A 25H2 issue on the project's tracker reported that OneDrive wasn't being uninstalled, and a commenter noted that Windows installs OneDrive after the user logs in. The maintainer replied that the script would now remove the task that installs OneDrive and create a task to remove it via winget. The maintainer also said one specific setting is only meant to remove the OneDrive entry from File Explorer.

A more recent tracker issue, opened about three weeks ago, reports OneDrive not being removed on Windows 11 26H2. It involved a Sysprep run with a modified app list. It is a single user report, not a confirmed bug, but it shows removal behavior can differ by script version and mode. Don't assume the writer's exact menu flow will match yours.

The storage argument​

The writer also argues the free OneDrive tier is too small. He cites 5GB shared across Microsoft 365 files and photos, with Outlook email getting a separate allowance. He compares paid tiers against Google One and settles on Google Drive's free 15GB, with Proton Drive for encryption and an external SSD with FreeFileSync for offline backups.

I could not independently verify those prices and plan sizes, and they change often, so check current pricing before deciding. What holds up is the functional trade-off. OneDrive's advantage is tight integration with Windows folders and Office. Alternatives trade that integration for separation from your default folders, along with their own setup and backup responsibilities.

When keeping OneDrive makes sense​

The writer is fair about this. If you already pay for Microsoft 365 and live in desktop Word, Excel and PowerPoint, the included storage costs you nothing extra. He cites AutoSave, version history and a recycle bin on personal accounts as handy across multiple devices. If you keep a Microsoft account around only for something like PC Game Pass, those extras don't apply to you.

His claims about background-process burden are anecdotal. He admits the resource footprint may be modest, and he offers no benchmarks. Don't expect a measurable speed boost. The benefit is less clutter and fewer prompts.

Bottom line​

The most useful takeaway is not "debloat everything." It is that OneDrive's folder backup is a choice you can unmake, and the order matters:

  • Make sure the files you want are on the PC.
  • Stop folder backup and keep the files locally.
  • Unlink the PC.
  • Use the standard uninstall, or unlink and hide it where uninstalling isn't offered.
  • Reach for a debloat script mainly on a fresh install, with restore points and registry backups in place.

Windows works without OneDrive. Just remove it deliberately rather than letting a script decide for you.

 

References

  1. I took back control of my files from OneDrive, and Windows 11 is better for it XDA 2026-12-01T11:00:21+00:00
  2. De-Enshittifing Windows 11 Version 25H2: Win11Debloat ⭐ - Thurrott.com thurrott.com
  3. OneDrive is not uninstalled 25H2 · Issue #366 · Raphire/Win11Debloat · GitHub github.com