How to Disable OneDrive on Windows 11

You can prevent it if you don’t need or like OneDrive syncing files. Learn how to disable OneDrive on Windows 11 in this guide.

OneDrive, Microsoft’s cloud-based storage and sharing solution, activates automatically during the initial setup or “Out of Box Experience” (OOBE) on a Windows PC. OneDrive is tied to your Microsoft account unless you choose a different configuration.

While it’s a convenient feature that lets you “set and forget” during installation, you might not want your files stored in the cloud on Microsoft’s servers. Instead, you may prefer to keep them stored locally on a drive or a different third-party service. You may have no reason to sync files between PCs.

Whatever the reason, you can disable OneDrive on Windows 11—here’s how to do it.

How to Disable OneDrive on Windows 11

If you think OneDrive serves no purpose for your computing needs, you can disable it. For example, you might prefer a local account and keeping the file management on your own devices. Or, you might not have a limited or metered network connection.

Luckily, with a few steps, you can disable OneDrive on Windows 11, preventing it from running or wasting network bandwidth.

To prevent OneDrive from running during startup on Windows 11:

  1. Click the OneDrive icon on the system tray. You might need to click the overflow arrow to find it.Disable OneDrive on Windows 11
  2. Click the gear icon in the top-right corner and choose Settings from the menu.Disable OneDrive on Windows 11
  3. Ensure you select the Settings Uncheck the Start OneDrive automatically when I sign in to Windows option in the General section of the menu.
  4. Click OK.Disable OneDrive on Windows 11

After following the steps, OneDrive will no longer launch automatically when you start up your PC.

However, if you don’t want to use the OneDrive menu system, you can follow our instructions on disabling startup apps on Windows 11. Just select the OneDrive.exe option.

Disable OneDrive on Windows 11

How to Disable OneDrive with Group Policy Editor

Another method you can use to disable OneDrive if you’re running Windows Pro, Enterprise, or Education editions is to use the Local Group Policy Editor.

Note: This option doesn’t work on the Home editions of Windows 11.

To use Group Policy on Windows 11 to disable OneDrive:

  1. Hit Windows key + R on your keyboard to bring up the Run box.
  2. Type gpedit.msc and click OK or hit Enter.Disable OneDrive on Windows 11
  3. Navigate to the following path:
    Computer Configuration > Administrative Templates > Windows Components > OneDrive

    Disable OneDrive on Windows 11

  4. Double-click the OneDrive folder and double-click the Prevent the usage of OneDrive for file storage policy.Disable OneDrive on Windows 11
  5. Select the Disabled button, click Apply and OK, and exit Group Policy Editor.
  6. Restart Windows 11 to verify OneDrive is disabled on your PC.Disable OneDrive on Windows 11

Unlink Your OneDrive Account

In addition to preventing OneDrive from startup, it’s a best practice to unlink your PC. After you unlink the computer, it will no longer sync files.

To unlink your OneDrive account on Windows:

  1. Launch OneDrive on your PC, click the gear icon in the top-right corner, and choose Settings from the menu.
  2. Select the Account tab at the top and click the Unlink this PC link.
  3. Verify you want to unlink the account on your PC by clicking the Unlink account button when the verification message appears.Disable OneDrive on Windows 11
  4. After unlinking your account, the OneDrive icon will appear gray with a line through the cloud icon. Hover your mouse over the icon, and you’ll see you’re not signed in.Disable OneDrive on Windows 11
  5. Moving forward, you’ll need to sign in if you want to reaccess your OneDrive account.Disable OneDrive on Windows 11

Unlinking your account and disabling it from starting up keeps OneDrive out of your way and remains inactive. If you want to reaccess it, you’ll need to launch it manually and sign in again with your Microsoft account credentials.

Uninstall OneDrive on Windows 11

Another way to get OneDrive out of your way is by uninstalling the app. Uninstalling it is straightforward by using the Settings app.

To uninstall the OneDrive app on Windows 11:

  1. Press the Windows key, choose Settings from the Start menu or use the Windows key + I keyboard shortcut.Start Settings Windows 11
  2. When Settings launches, click Apps from the left column and the Installed apps option on the right.Disable OneDrive on Windows 11
  3. Type OneDrive in the Search field at the top, click the three-dot button to the right of OneDrive, click Uninstall, and click Uninstall again to verify.

Use PowerShell or Windows Terminal to Uninstall OneDrive

If you prefer to work from the command line, you can use the Windows Terminal or Windows PowerShell tools to uninstall OneDrive by running a single command.

To uninstall OneDrive Using PowerShell or Windows Terminal:

  1. Open the Start menu.
  2. Search for PowerShell or Windows Terminal and select the Run as Administrator option.Find Available Memory Slots on Windows 11
  3. When the terminal opens, run the following command:
    winget uninstall onedrive

  4. You’ll see a progress bar while the process of removing OneDrive executes.
  5. Type Y to agree to the source agreements and hit Enter.Disable OneDrive on Windows 11
  6. Finally, you’ll get a message that the uninstall was successful, and you can close out of PowerShell.

OneDrive Out of Your Way

Whether you remove the app or simply unlink your PC from it, OneDrive will be less invasive using the steps above. However, if you want it back in the future, it might be best to unlink your account and sign into it later. If you want all signs of it gone, uninstall it or disable it via Group Policy.

Another reason you might want to disable OneDrive on Windows 11 is because you prefer to use a third-party option like Apple iCloud, Dropbox, or Google Drive instead. Like OneDrive, those services allow you to store and share files.

Remember that these services aren’t a complete backup solution. For that, you want to use a quality cloud-based service like Backblaze for $5 per month. Or, if you prefer to manage your data and backups locally, you can use the tools already built into Windows.

For example, you can make a full system backup with the backup and restore utility. After creating your system backup, learn how to recover Windows 11 using a system image backup. Also, you’ll want to periodically create a new restore point when you need to get your PC up and running again.

1 Comment

1 Comment

  1. bug

    “Prevent the usage of OneDrive for file storage” setting should be set to ENABLED if you want to disable onedrive!
    Every site in the internet has the same bad information.

Leave a Reply

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


To Top