When you sign in to a personal Microsoft account on a work computer to access OneDrive files, that account stays linked to the system. This can cause sync conflicts, expose personal files to IT policies, or leave your data behind when you leave the company. The problem is that OneDrive for Business and the personal OneDrive app run side by side, and simply unlinking the personal account often leaves cached files and credentials on the machine.
This article explains how to completely remove a personal OneDrive account from a work PC. You will learn the correct unlink process, how to delete leftover local files, and how to clear stored credentials so the account cannot reconnect automatically.
Key Takeaways: Remove Personal OneDrive Account from Work PC
- OneDrive Settings > Account > Unlink this PC: Removes the account link from the personal OneDrive app without affecting the work OneDrive for Business account.
- Windows Credential Manager > Windows Credentials: Delete all entries containing the personal Microsoft account email to prevent automatic sign-in.
- File Explorer > %LocalAppData%\Microsoft\OneDrive: Delete the cached personal OneDrive folder after unlinking to remove leftover files and settings.
Why a Personal OneDrive Account Stays on a Work Computer
When you sign in to the personal OneDrive app using a Microsoft account such as a Hotmail, Live, or Outlook.com email, Windows stores that account’s credentials in the Credential Manager. The OneDrive app also keeps a local cache of file metadata and thumbnail previews in a hidden folder under your user profile. Even if you click “Stop sync” or close the app, the credentials remain, and the app can reconnect the next time you start Windows.
On a work PC that also runs OneDrive for Business, the two accounts are separate. Unlinking the personal account does not affect the work account. However, if you only sign out of the personal app without unlinking, the account will still appear in the OneDrive settings pane and may prompt you to sign in again.
What Happens If You Do Not Remove the Account
Leaving a personal OneDrive account on a work PC can cause several problems. The personal sync folder may conflict with company file backup policies. IT administrators using Microsoft Intune or Group Policy may detect unauthorized personal accounts. If you leave the company, your personal files remain cached on the machine, creating a data privacy risk.
Steps to Remove a Personal OneDrive Account Completely
Follow these steps in order. Do not skip the Credential Manager step, because that is where Windows stores the sign-in token that allows automatic reconnection.
- Open OneDrive Settings
Right-click the OneDrive cloud icon in the system tray near the clock. If you do not see it, click the up arrow to show hidden icons. Select Settings from the menu. - Go to the Account Tab
In the Microsoft OneDrive dialog, click the Account tab. Under the personal account section, you will see the email address and a link that says Unlink this PC. - Unlink the Personal Account
Click Unlink this PC. A confirmation dialog appears. Read the message — it tells you that files will stop syncing and the local cache will remain. Click Unlink account. The personal OneDrive folder is no longer synced. - Open Windows Credential Manager
Press the Windows key and type Credential Manager. Click the result to open it. Select Windows Credentials. - Delete Personal Account Credentials
Scroll down to the Generic credentials section. Look for entries that contain MicrosoftAccount or OneDrive followed by the personal email address. For example, MicrosoftAccount:user=personal@outlook.com. Click the arrow to expand each entry, then click Remove. Confirm the deletion. Repeat for every entry that matches the personal account. - Delete the Local OneDrive Cache Folder
Open File Explorer. In the address bar, type %LocalAppData%\Microsoft\OneDrive and press Enter. Look for a folder named personal@outlook.com or similar with the personal email address. If it exists, delete it. This removes cached thumbnails, settings, and metadata. - Restart the OneDrive App
Press Ctrl+Shift+Escape to open Task Manager. Find Microsoft OneDrive in the list, select it, and click End task. Then press the Windows key, type OneDrive, and press Enter to restart the app. Only the work account should appear in the account tab now.
If OneDrive Still Shows the Personal Account After Removal
Sometimes the personal account reappears after a reboot or Windows update. This happens when a credential was missed in Credential Manager or when the personal account was also added to another Microsoft app such as Outlook or Teams. Check the following locations.
Personal Account Appears in Other Microsoft Apps
Open any Microsoft 365 app such as Word or Excel. Go to File > Account. Under User Information, look for the personal email. If it is listed, click Sign Out. Then remove the account from Windows Settings > Accounts > Email & accounts. Under Accounts used by other apps, select the personal account and click Remove.
OneDrive Sync Icon Shows a Personal Account
If the system tray icon still shows the personal account name, the credential might be stored in the Web credentials section of Credential Manager instead of Windows credentials. Open Credential Manager again, click Web credentials, and delete any entry that contains the personal email address or the domain live.com or outlook.com.
Personal OneDrive vs OneDrive for Business: Key Differences for Removal
| Item | Personal OneDrive | OneDrive for Business |
|---|---|---|
| Account type | Microsoft account (Hotmail, Live, Outlook.com) | Work or school account (Microsoft 365 tenant) |
| Unlink method | OneDrive Settings > Account > Unlink this PC | Same location, but the work account requires admin approval to unlink in some organizations |
| Credential storage | Windows Credential Manager under Generic credentials | Windows Credential Manager plus Azure AD token cache |
| Local cache folder | %LocalAppData%\Microsoft\OneDrive\[email] | %LocalAppData%\Microsoft\OneDrive\[tenant ID] |
| Effect on work files | None — only personal files stop syncing | All work files stop syncing until the account is reconnected |
Removing a personal OneDrive account from a work PC requires unlinking the app, deleting credentials from Credential Manager, and removing the local cache folder. After completing these steps, the personal account will not reappear unless you sign in again manually. If the account still appears, check other Microsoft apps and the Web credentials section in Credential Manager. For IT-managed devices, Group Policy settings may prevent personal accounts entirely — check with your IT department before attempting removal on a company-managed computer.