How to Stop OneDrive from Signing In Without a Password
Question details
The user wants to prevent OneDrive from automatically signing in without prompting for a password.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Accessing OneDrive on a Windows PC where the application authenticates without requiring manual password entry.
- Observed behavior
- OneDrive logs into the account automatically using cached Windows credentials, Windows Hello, or an active Microsoft account session.
Before making changes, ensure you remember your Microsoft account password and have backup access to any currently syncing files, as you will be unlinking your account.
Clear Cached Credentials and Unlink OneDrive
Removing cached Windows credentials forces OneDrive to ask for your password the next time you try to sign in.
OneDrive natively integrates with Windows and often uses your active Microsoft account session or saved Windows credentials to sign in seamlessly. To require a manual password prompt, you must clear these saved details and unlink your PC.
Press the Windows key, type 'Credential Manager' into the search bar, and hit Enter to open it.
Click on 'Windows Credentials'. Scroll through the list to locate any entries containing 'OneDrive' or 'MicrosoftAccount'. Click the dropdown arrow next to the relevant entry and select 'Remove'.
Click the OneDrive cloud icon in your Windows taskbar, select the Settings gear icon, and go to the 'Account' tab. Click on 'Unlink this PC' to sign out of the current session.
Sign out of your Windows user profile and ensure your local Windows account is protected with a strong password or Windows Hello. This prevents unauthorized users from accessing your desktop and cached sessions.

Experience a Secure and Lightweight Office Suite with WPS Office
While troubleshooting Microsoft OneDrive and Office login issues, consider trying WPS Office. It provides a secure, lightweight, and highly compatible workspace for all your document needs without the hassle of forced account synchronization.
- 1. Download and Install: Visit the official WPS Office website to download the free installer for your Windows PC.
- 2. Open the Suite: Launch WPS Office. You can choose to create a free account or start editing documents locally right away.
- 3. Edit Your Files: Open your existing Word, Excel, or PowerPoint files directly in WPS Office with full layout compatibility.

Frequently Asked Questions
Why does OneDrive sign me in automatically?
Windows natively integrates with Microsoft accounts. If you log into your Windows PC with a Microsoft account, OneDrive uses those credentials to sign in seamlessly via Single Sign-On (SSO).
Does automatic sign-in mean my OneDrive has been hacked?
No. Automatic authentication through Windows Hello or cached credentials is a standard Windows feature designed to make accessing your files easier. It is not a sign of a compromised account.
How do I protect my OneDrive files if I share my computer?
If you share a PC with others, you should create separate Windows user accounts for each person. Alternatively, always unlink your OneDrive and clear your Windows credentials before letting someone else use your account.




