sodcalculator

10 Tech How-To

How to Disable OneDrive on Windows 11: Full Guide

Guide 10-7931 · Updated · Step by step

OneDrive is built into Windows 11, and while it’s handy for syncing files across devices, you might prefer to use another cloud service or keep everything local. This guide shows you how to turn off OneDrive completely—either by unlinking your account, stopping it from starting automatically, or removing it entirely. You’ll need to be signed in with an administrator account to follow all steps.

What You’ll Need

  • A Windows 11 PC with an administrator account.
  • Your Microsoft account password if you plan to unlink OneDrive (optional).
  • About 10 minutes of time.

Step-by-Step

Method 1: Unlink OneDrive (Keeps Files on Your PC)

  1. Click the OneDrive cloud icon in the system tray (bottom-right corner of your screen, near the clock). If you don’t see it, click the up arrow to show hidden icons.
  2. Click the gear icon in the top-right of the OneDrive pop-up, then select Settings.
  3. Go to the Account tab.
  4. Click Unlink this PC. A confirmation window will appear—click Unlink account.
  5. You’ll be asked what to do with your files. Choose Keep files on this PC if you want to keep them locally, or Delete files from this PC if you already have them elsewhere. Click Continue.
  6. OneDrive will stop syncing. Your files remain in the OneDrive folder on your PC, but they are no longer backed up to the cloud.

Method 2: Stop OneDrive from Starting Automatically

  1. Right-click the Start button and select Task Manager.
  2. Go to the Startup apps tab (if you don’t see it, click “More details” at the bottom).
  3. Scroll down and find Microsoft OneDrive.
  4. Right-click it and select Disable. This prevents OneDrive from launching when you sign in to Windows.
  5. Close Task Manager. OneDrive won’t start automatically next time, but you can still open it manually if needed.

Method 3: Remove OneDrive Completely (via Settings)

  1. Open Settings (press Win + I).
  2. Go to Apps > Installed apps.
  3. Search for “OneDrive” in the search box.
  4. Click the three-dot menu next to “Microsoft OneDrive” and select Uninstall.
  5. Confirm the uninstall when prompted. Windows will remove OneDrive from your system.
  6. If the option is grayed out, you may need to use the command-line method below.

Method 4: Remove OneDrive via Command Prompt (For Stubborn Installations)

  1. Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
  2. Type the following command and press Enter:
    taskkill /f /im OneDrive.exe (this closes OneDrive if it’s running).
  3. Type the following and press Enter:
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall (for 64-bit systems). If you’re on a 32-bit system, use %SystemRoot%\System32\OneDriveSetup.exe /uninstall.
  4. Wait for the command to finish. You may see a message that the uninstall was successful.
  5. Close the terminal and restart your PC.

Common Mistakes

  • Not closing OneDrive before uninstalling: If OneDrive is running, the uninstall may fail. Always close it first (right-click the cloud icon and select “Exit”).
  • Choosing “Delete files from this PC” without a backup: This removes your local copies of files that are only in your OneDrive folder. If you haven’t synced them elsewhere, you’ll lose them. Always back up important files before doing this.
  • Only disabling startup, not unlinking: If you only disable startup, OneDrive will still run when you open it manually, and your files will still sync. To fully stop syncing, you must unlink your account.
  • Using the wrong command for your system architecture: Using the 32-bit command on a 64-bit system won’t work. Check your system type in Settings > System > About.

Tips

  • Back up your OneDrive folder before uninstalling: Copy important files to an external drive or another cloud service.
  • Use Group Policy (Pro/Enterprise only): If you manage multiple PCs, you can disable OneDrive via Group Policy: Computer Configuration > Administrative Templates > Windows Components > OneDrive and enable “Prevent the usage of OneDrive for file storage”.
  • Keep the OneDrive folder but stop syncing: After unlinking, you can move the folder to a different location and use it as a regular folder.
  • Reinstalling OneDrive: If you change your mind, you can reinstall OneDrive from the Microsoft Store or the official website.

Troubleshooting

  • OneDrive icon still appears after uninstall: This can happen if the uninstall didn’t complete. Try the command-line method again, then restart your PC. If it persists, check for leftover files in C:\Program Files\Microsoft OneDrive and delete them manually (requires admin).
  • Uninstall option is grayed out: This usually means OneDrive is running. Close it from the system tray, then try again. If still grayed out, use the command-line method.
  • Files are missing after unlinking: If you chose “Keep files on this PC,” they should be in C:\Users\YourUsername\OneDrive. If you chose “Delete files from this PC,” check the OneDrive website to see if they’re still in the cloud. If not, you may have lost them—check the Recycle Bin on your PC and the OneDrive recycle bin online.
  • OneDrive keeps starting despite disabling startup: Some Windows updates can re-enable it. Check Task Manager again and disable it. Also, check if OneDrive is set to start via a scheduled task (Task Scheduler > Task Scheduler Library > Microsoft > Windows > OneDrive).

Frequently Asked Questions

Will disabling OneDrive delete my files?

No, disabling it (unlinking or disabling startup) will not delete your files. They remain on your PC. Only if you choose “Delete files from this PC” during unlink will it remove local copies, but they may still be in the cloud.

Can I still use OneDrive if I disable it?

Yes, you can still open OneDrive manually and use it, but it won’t sync automatically in the background unless you re-enable startup.

How do I re-enable OneDrive after disabling it?

To re-enable startup, go to Task Manager > Startup apps, right-click OneDrive, and select “Enable”. To re-link your account, open OneDrive from the Start menu and sign in again.

Does disabling OneDrive affect other Microsoft apps like Outlook or Teams?

No, those apps work independently. However, if you use OneDrive for file attachments in Outlook, those files may not sync automatically.

Is there a way to disable OneDrive for only one user?

Yes, you can unlink OneDrive for that user account. The other users on the PC will still have OneDrive active if they are signed in.

Will Windows updates reinstall OneDrive?

It’s possible. Some feature updates may reinstall OneDrive. If that happens, you’ll need to uninstall it again.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →