How to Completely Remove OneDrive Personal From Your Computer

OneDrive Personal is built deeply into Windows — and Microsoft wants to keep it that way. For users who prefer local storage, use a different cloud service, or simply don't want the sync interruptions and system tray icon, getting rid of it entirely takes more than just closing the app. Here's what's actually involved.

What "Removing" OneDrive Actually Means

There's an important distinction between unlinking, disabling, and uninstalling OneDrive:

  • Unlinking disconnects your Microsoft account from OneDrive but leaves the app installed
  • Disabling stops it from running at startup but keeps it on your system
  • Uninstalling removes the application — though on some Windows versions, traces remain in the registry and file system

Most users searching for complete removal want the third option, but the right approach depends on which version of Windows you're running and whether OneDrive is a standalone install or a system-integrated component.

Step 1: Unlink Your Account First

Before uninstalling anything, unlink OneDrive from your Microsoft account. Skipping this step can cause sync errors or orphaned files.

  1. Click the OneDrive cloud icon in the system tray (bottom-right corner)
  2. Select Settings → Account → Unlink this PC
  3. Confirm when prompted

Your local OneDrive folder and its contents remain on your computer — they just stop syncing. Files already downloaded stay put. Files that existed only in the cloud will no longer be accessible locally after unlinking.

Step 2: Quit the Application

Once unlinked, fully close OneDrive before attempting removal:

  1. Click the system tray icon again
  2. Select Settings → Quit OneDrive

This ensures no background processes are running, which can block uninstallation.

Step 3: Uninstall OneDrive

On Windows 10

Go to Settings → Apps → Apps & Features, search for "Microsoft OneDrive," and select Uninstall. This works cleanly on most Windows 10 builds where OneDrive was installed as a standalone package.

On Windows 11

Microsoft integrated OneDrive more tightly into Windows 11. The uninstall option still exists in Settings → Apps → Installed Apps, but it may be greyed out or unavailable depending on your build version and whether your PC shipped with a provisioned version of OneDrive.

If the standard uninstall path doesn't work, a Command Prompt method is more reliable:

  1. Open Command Prompt as Administrator
  2. Run the following commands in sequence:
taskkill /f /im OneDrive.exe %SystemRoot%SysWOW64OneDriveSetup.exe /uninstall 

On 32-bit systems, replace SysWOW64 with System32.

This forces the uninstaller to run even when the GUI option is blocked.

Step 4: Clean Up Leftover Files and Folders 🗂️

Uninstalling the app doesn't remove everything. Leftover folders and registry entries can persist:

Folders to manually delete (if present):

LocationPath
OneDrive user folderC:Users[YourName]OneDrive
App data (local)C:Users[YourName]AppDataLocalMicrosoftOneDrive
App data (roaming)C:Users[YourName]AppDataRoamingMicrosoftOneDrive

To see AppData folders, you'll need to enable hidden files in File Explorer (View → Show → Hidden items).

Registry entries (for advanced users only): Residual keys can exist under HKEY_CURRENT_USERSoftwareMicrosoftOneDrive. Editing the registry carries risk — an incorrect deletion can affect system stability. Only proceed if you're comfortable navigating regedit carefully.

Step 5: Prevent OneDrive From Reinstalling 🔒

Windows Update and system resets can silently reinstall OneDrive. A few ways to reduce that risk:

  • Group Policy (Windows 10/11 Pro and Enterprise): Open gpedit.msc, navigate to Computer Configuration → Administrative Templates → Windows Components → OneDrive, and enable "Prevent the usage of OneDrive for file storage"
  • Task Scheduler: Search for any OneDrive-related scheduled tasks and disable them
  • Startup entries: Check Task Manager → Startup to confirm no OneDrive entries remain

Home edition users don't have access to Group Policy, so the Task Scheduler and startup approach is the practical alternative.

Where Setup Complexity Varies

The process above works cleanly for many users — but several variables affect how straightforward removal actually is:

  • Windows edition: Home, Pro, and Enterprise handle OneDrive integration differently, with Pro and Enterprise offering more administrative control
  • OEM installs: PCs from some manufacturers may have OneDrive configured as a provisioned app, which requires different removal commands than a user-installed version
  • Microsoft 365 subscriptions: If OneDrive is tied to an active Microsoft 365 account used for other services (Outlook, Teams, Office apps), removing it may affect how those apps handle file saving and document access
  • Shared or work devices: Organizational policies may prevent removal or automatically restore the app

The gap between "I want to remove OneDrive" and "I've fully removed it" is mostly about which of these variables apply to your specific machine. A straightforward consumer laptop running a clean Windows install is a very different scenario from a work-enrolled device or a system mid-way through a Microsoft 365 setup.