This tutorial will you how to remove an account and unlink your PC from OneDrive for your account in Windows 10 and Windows 11.
You can use OneDrive to sync files and folders between your computer and the cloud, so you can get to your files from anywhere - your computer, your mobile device, and even through the OneDrive website at OneDrive.live.com. If you add, change, or delete a file or folder in your OneDrive folder, the file or folder is added, changed, or deleted on the OneDrive website and vice versa. You can work with your synced files directly in File Explorer and access your files even when you’re offline. Whenever you’re online, any changes that you or others make will sync automatically.
You can have multiple work or school accounts added to OneDrive, but only one Microsoft account can be added to OneDrive.
When you remove an account from OneDrive, that account is signed out of OneDrive on the PC, unlinks your PC from OneDrive, and stops syncing with OneDrive.
- You won't lose files or folders by removing an account. After unlinking, all your files will be available from OneDrive on the web.
- Files marked as
- Files marked as
- If you only want to removed certain folders, read how to Choose which OneDrive folders to sync to your computer.
References:
Unlink and re-link OneDrive - Microsoft Support
Learn how to reset or move OneDrive by unlinking and re-linking your PC.

How to remove an account in OneDrive - Microsoft Support
Learn how to remove an account from OneDrive

Here's How:
1 Click/tap on the OneDrive icon on the taskbar system tray, click/tap on Help & Settings (gear) icon, and click/tap on Settings. (see screenshot below)
2 Click/tap on Account in the left pane, and click/tap on the Unlink this PC link. (see screenshot below)
3 Click/tap on Unlink account to confirm. (see screenshot below)
4 You can now close the Microsoft OneDrive "Set up OneDrive" window. (see screenshot below)
That's it,
Shawn Brink
Last edited: