Remove OneDrive Account and Unlink PC in Windows 11
In this article
To remove a OneDrive account and unlink your PC in Windows 11, right-click the OneDrive cloud icon in the taskbar, go to Settings > Account, and select Unlink this PC. This process stops the synchronization between your local folders and the cloud, ensuring that changes made on your computer no longer affect your online storage and vice versa.
Unlinking your account is the primary way to disconnect a specific device from your Microsoft cloud storage without deleting the actual account or the files stored online. It is particularly useful when you are selling a computer, switching to a different Microsoft account, or simply want to manage your files locally to save system resources. Please note that menu labels may differ slightly depending on your specific version of Windows 11 or your region.
What You'll Need
- A Windows 11 PC with OneDrive currently signed in.
- Administrative access to the user account on the PC.
- An internet connection to ensure the final sync is completed before unlinking.
Step-by-Step
- Locate the OneDrive cloud icon in the Windows 11 taskbar notification area (usually found in the bottom-right corner). If you do not see it, click the upward-pointing arrow to show hidden icons.
- Right-click the OneDrive icon to open the quick access menu.
- Click the gear icon (Settings) in the top-right corner of the OneDrive pop-up window.
- From the secondary menu that appears, select Settings.
- In the left-hand navigation pane of the Settings window, click on the Account tab.
- Look for the account you wish to disconnect and click the link labeled Unlink this PC.
- A confirmation dialog box will appear asking if you are sure you want to unlink your account. Click Unlink account to confirm.
- Once confirmed, the OneDrive setup screen will appear, asking you to sign in again. You can now close this window to complete the process.
Common Mistakes
- Deleting files before unlinking: Many users mistakenly delete files from the OneDrive folder on their PC thinking it will only remove them from the computer. Because the account is still linked, this will delete the files from the cloud and all other synced devices. Always unlink the PC first if you intend to wipe local data.
- Uninstalling the app instead of unlinking: Uninstalling the OneDrive application via the Control Panel does not always properly unlink the account from the Microsoft server side. It is cleaner to unlink the account through the settings menu before removing the software.
- Confusing "Pause Syncing" with "Unlinking": Pausing synchronization is a temporary measure that stops updates for a few hours. It does not remove the account or stop the association between the PC and the cloud.
Tips
- Verify Cloud Backups: Before unlinking, log into the OneDrive website via a web browser to ensure all your most recent files have successfully uploaded.
- Manage Local Copies: After unlinking, your files remain in the
C:\Users\[Username]\OneDrivefolder. If you no longer need them on your hard drive, you can manually delete this folder to free up space. - Check Folder Redirection: If you used OneDrive to back up your Desktop, Documents, or Pictures folders, these folders may still point to the OneDrive path. You may need to move these files back to the local user folders manually.
Troubleshooting
If the unlinking process does not work or the OneDrive icon is missing, try these steps in order:
- Restart Windows Explorer: Open Task Manager (Ctrl + Shift + Esc), find Windows Explorer in the list, right-click it, and select Restart. This often brings back a missing OneDrive icon.
- Check for Updates: Ensure Windows 11 is fully updated via Settings > Windows Update, as bugs in older builds can sometimes cause the Settings menu to freeze.
- Reset OneDrive: If the "Unlink this PC" button is unresponsive, you can reset the app. Open the Run dialog (Windows Key + R), type
onedrive.exe /reset, and press Enter. After a few minutes, restart OneDrive from the Start menu and try unlinking again. - Sign Out via Web: If you cannot access the PC, you can remove the device's access by logging into your Microsoft Account online, navigating to Devices, and removing the specific PC from your trusted list.
Frequently Asked Questions
Will unlinking my PC delete my files in the cloud?
No. Unlinking only breaks the connection between the computer and the server. Your files remain safely stored in the OneDrive cloud and can be accessed via any web browser or another linked device.
What happens to the files already downloaded to my PC?
Files that were "Always keep on this device" will remain on your hard drive. Files that were "Online-only" (indicated by a blue cloud icon) will disappear from your local folder because they were never actually stored on your disk.
Can I unlink one account but keep another?
Yes. If you have both a personal and a work/school account linked, you can go to the Account tab in Settings and choose to unlink only one specific account while leaving the other active.
How do I stop OneDrive from starting automatically after unlinking?
Open the Task Manager (Ctrl + Shift + Esc), go to the Startup apps tab, find Microsoft OneDrive, right-click it, and select Disable.
Is unlinking different from signing out?
In the context of the OneDrive desktop app, "Unlink this PC" is the official method of signing out. It removes the credentials and the sync relationship simultaneously.