Does OneDrive Automatically Sign Out When a Computer Is Idle?
Question details
The user wants to know if a personal OneDrive account automatically logs out when a computer is left idle, to understand potential security risks for their files.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Leaving a computer idle while signed into a personal OneDrive account via a web browser or desktop app.
- Observed behavior
- OneDrive generally remains signed in during idle periods, keeping files accessible if the Windows account or browser session is left unlocked.
Before leaving your computer unattended, verify whether your browser or local system is configured to save your login credentials automatically.
Secure Your OneDrive Account on Shared or Idle Computers
Best practices to prevent unauthorized access to your personal OneDrive when stepping away from your device.
Personal OneDrive does not automatically sign out simply because a computer is idle. If you leave your browser open or your Windows account unlocked, anyone using the device can access your files. You must take proactive steps to secure your session.
Press the Windows key + L to lock your computer whenever you step away. This prevents others from accessing your active desktop and browser sessions.
When using a web browser, click on your profile icon in the top right corner of OneDrive.com and select 'Sign out' before leaving.
Do not check the 'Keep me signed in' box or allow your browser to save your OneDrive password on shared, public, or employer-managed devices.

Review Account Activity and Update Passwords
Take immediate action if you suspect someone has accessed your OneDrive files while your computer was unattended.
Securely Manage and Edit Your Documents with WPS Office
If you are concerned about file security and looking for a reliable productivity suite, WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office. It offers robust local file protection features, allowing you to encrypt sensitive documents with ease.

Frequently Asked Questions
Does the OneDrive desktop app sign out when my PC goes to sleep?
No, the desktop sync client remains connected even when your PC goes to sleep. You must manually unlink the PC or sign out of the app to stop it from syncing or providing access.
How can I force OneDrive to ask for a password every time?
OneDrive does not have a built-in feature to require a password on every launch if the Windows account is already authenticated. You should rely on a secure Windows user account password and lock your screen when away.
Will clearing my browser cache sign me out of OneDrive online?
Yes, clearing your browser's cookies and cached data will terminate your active web sessions, requiring you to sign back into OneDrive.com on your next visit.
Can I remotely sign out of OneDrive if I left my computer on?
Yes, you can log into your Microsoft account from another device, go to the Security section, and select 'Sign me out everywhere' to terminate all active sessions within 24 hours.




