logo
search
Sign-in & Login Problems

How to Completely Sign Out of OneDrive on Windows 11

Aamir Naveed AkramAamir Naveed Akram Oct 10, 2026 870 views

Question details

The user needs to completely sign out and disconnect an old Microsoft account from OneDrive to prevent it from automatically signing in.

How to Completely Sign Out of OneDrive on Windows 11
Product
Microsoft OneDrive
Device & OS
Windows 11
Scenario
Attempting to switch accounts or permanently remove a previously used Microsoft account from the OneDrive desktop application.
Observed behavior
OneDrive automatically authenticates and signs in to an old account without a password prompt, even after seemingly removing the account from Edge, Windows Settings, and the Credential Manager.
Before you start

Before unlinking your account, ensure that any important local files currently syncing to OneDrive are fully uploaded to the cloud to prevent local data loss.

Solution 1Recommended

Unlink Your PC and Remove Cached Windows Accounts

Use this method to disconnect OneDrive and clear the system-level Windows 11 account tokens that are causing the automatic password-less sign-ins.

Windows 11 deeply integrates Microsoft accounts into the operating system. Simply logging out of the OneDrive app is often insufficient because Windows retains the account's authentication token globally for seamless sign-on.

1
Unlink this PC in OneDrive

Right-click the OneDrive cloud icon in your system tray on the taskbar. Click the gear icon to open 'Settings', navigate to the 'Account' tab, and click the 'Unlink this PC' link.

2
Remove from Windows Email & Accounts

Open Windows Settings by pressing Win + I. Navigate to 'Accounts' > 'Email & accounts'. If you see the old Microsoft account listed, click on it and select 'Remove' to delete the system-wide token.

3
Disconnect from Work or School

Still in the Windows Accounts settings, click on 'Access work or school'. If the problematic account is listed here, select it and click 'Disconnect'.

4
Clear Windows Credential Manager

Search for 'Credential Manager' in the Windows Start menu and open the app. Click on 'Windows Credentials', locate any items starting with 'OneDrive Cached Credential' or 'MicrosoftAccount', expand them, and click 'Remove'.

Unlink Your PC and Remove Cached Windows Accounts
Restart Required: After removing these credentials and unlinking the account, restart your computer to ensure all cached session tokens are completely cleared from the system memory.
Free Microsoft Office alternative

Switch to WPS Office for a Hassle-Free Document Experience

If managing Microsoft account credentials and OneDrive synchronization issues on Windows 11 is becoming frustrating, consider switching to WPS Office. It provides a lightweight, entirely free Office suite with secure, straightforward local and cloud document management that avoids complex system-level account integrations.

Fully compatible with Microsoft Office file formats including Word, Excel, and PowerPointIndependent cloud storage system that bypasses Windows 11 token caching conflictsLightweight, fast, and free alternative to Microsoft OfficeFamiliar, tabbed user interface requiring zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive sign in without asking for a password?

On Windows 11, Microsoft accounts are integrated at the system level. When you log into a Microsoft app, Windows caches your authentication token. OneDrive utilizes this global cached token to seamlessly sign you in without requiring a manual password prompt.

How do I permanently remove an old Microsoft account from Windows 11?

Go to Windows Settings > Accounts. Check both the 'Email & accounts' section and the 'Access work or school' section. Click on the old account in both menus and select 'Remove' or 'Disconnect' to delete the account from your PC.

Will unlinking my PC delete my existing OneDrive files?

No, unlinking your PC only severs the synchronization connection between your local computer and the cloud. Your files remain safely stored online in your Microsoft OneDrive account.