sodcalculator

10 Tech How-To

How to Sign Out of OneDrive in Windows 10

Guide 10-58529 · Updated · Step by step

Signing out of OneDrive on Windows 10 disconnects your PC from your Microsoft account cloud storage, stopping file sync and removing your account from the OneDrive app. This is useful when you’re sharing a computer, troubleshooting sync issues, or switching to a different Microsoft account. You don’t need any special tools—just a few minutes and access to your Windows desktop.

What You’ll Need

  • A Windows 10 PC with OneDrive installed (it comes pre-installed on most systems).
  • Your Microsoft account credentials if you plan to sign back in later.
  • Administrator rights are not required for signing out, but you may need them if you want to fully uninstall OneDrive.

Step-by-Step

  1. Locate the OneDrive icon. Look in the system tray (bottom-right corner of your screen, near the clock). It looks like a white or blue cloud icon. If you don’t see it, click the small upward arrow (^) to show hidden icons.
  2. Open OneDrive settings. Right-click the OneDrive cloud icon. A context menu will appear. Select Settings (or Preferences in some versions). This opens the OneDrive settings window.
  3. Go to the Account tab. In the settings window, click the Account tab at the top. You’ll see your account email address and a list of options.
  4. Click “Sign out”. Under the “Account” section, click the Sign out button. A confirmation dialog will appear, warning that you’ll stop syncing files.
  5. Confirm sign-out. In the dialog, click Sign out again to confirm. OneDrive will close and stop syncing. Your files remain in the cloud and in your local OneDrive folder (but they won’t sync until you sign back in).
  6. Optional: Clear cached credentials. After signing out, it’s a good idea to remove saved credentials from Windows Credential Manager. Press Windows Key + S, type “Credential Manager”, open it, go to Windows Credentials, and remove any entries that start with “OneDrive” or “MicrosoftAccount”. This prevents automatic sign-in on the next launch.

Common Mistakes

  • Signing out from the wrong app. Make sure you’re using the OneDrive desktop app, not the OneDrive website or the UWP “OneDrive” app from the Store. The desktop app is the one that syncs files.
  • Not checking hidden icons. If you don’t see the cloud icon, it might be hidden. Always click the “Show hidden icons” arrow before assuming OneDrive isn’t running.
  • Deleting files instead of signing out. Signing out does not delete your local files. If you want to remove files from the PC, you must delete them manually or use the “Unlink this PC” option (which is different from sign-out).
  • Ignoring the “Keep my files on this PC” option. When you sign out, OneDrive may ask if you want to keep a copy of your files. If you choose “Delete”, it will remove local copies—make sure you understand the difference.

Tips

  • Pause syncing first. If you’re signing out because of sync errors, try pausing sync for a few hours first (right-click the cloud icon → Pause syncing). This can resolve temporary issues without full sign-out.
  • Use “Unlink this PC” for a clean break. In the Account tab, there’s also an “Unlink this PC” option. This removes the link between your PC and your OneDrive account, which is more thorough than just signing out. Use it if you’re giving away the computer.
  • Sign out before selling or donating your PC. Always sign out and unlink before handing over your hardware to protect your data.
  • Remember your files are safe. Signing out does not delete your cloud files. They remain on OneDrive.com and will sync to any other device you sign into.

Troubleshooting

  • OneDrive icon is missing. If you can’t find the cloud icon, open File Explorer, navigate to %localappdata%\Microsoft\OneDrive\OneDrive.exe (or search “OneDrive” in the Start menu) and launch it manually. Then right-click the icon to access settings.
  • “Sign out” button is grayed out. This can happen if OneDrive is still syncing or a file operation is in progress. Wait a few minutes and try again. If it persists, restart your PC and retry.
  • OneDrive keeps signing back in automatically. This usually means Windows is using the same Microsoft account for your user profile. To fully stop it, you need to unlink your PC (Account tab → Unlink this PC) or change your Windows account to a local account (Settings → Accounts → Sign in with a local account instead).
  • After sign-out, files still show in File Explorer. That’s normal—the folder remains. To remove it, you can delete the OneDrive folder (after backing up any needed files) or move it. But don’t delete the folder if you still need those files locally.
  • Sign-out fails with an error. Restart your PC and try again. If the error persists, run the OneDrive reset: press Windows Key + R, type %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset, and press Enter. This resets the app without deleting your files, then you can try signing out again.

Frequently Asked Questions

Will signing out delete my files? No. Signing out only stops syncing. Your files remain in the cloud and in your local OneDrive folder (unless you choose to delete them during the process).

Can I sign back in later? Yes. Open OneDrive, sign in with your Microsoft account, and your files will sync again.

What’s the difference between “Sign out” and “Unlink this PC”? Sign out simply disconnects the app from your account. Unlink this PC removes the device from your Microsoft account’s trusted devices list and is more thorough—use it when you no longer want the PC to be associated with your account.

Do I need to sign out to stop OneDrive from starting at boot? No. You can disable auto-start by opening Task Manager (Ctrl+Shift+Esc), going to the Startup tab, and disabling OneDrive.

Will signing out affect my Office files? No. Office files stored in OneDrive will simply stop syncing. You can still open and edit them locally, but changes won’t upload until you sign back in.

How do I completely remove OneDrive from Windows 10? Sign out first, then go to Settings → Apps → Apps & features, find Microsoft OneDrive, and click Uninstall. Note that OneDrive is a built-in component, so it may reinstall after major Windows updates.

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 →