How to Secure Personal OneDrive Files on a Shared Work Computer
Question details
The user wants to secure their personal Microsoft 365 cloud files and documents so that coworkers cannot access them on a shared work computer.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Using a personal Microsoft account and OneDrive cloud storage on a shared workplace computer.
- Observed behavior
- The user needs a reliable method to ensure their personal files remain private and inaccessible to others sharing the same Windows profile, while retaining access on their home devices.
Ensure you have your Microsoft account login credentials and passwords saved in a secure location, such as a personal password manager, before signing out of any applications on the shared computer.
Sign Out of Office and Unlink OneDrive
The most effective way to prevent coworkers from opening your files on a shared profile is to manually sign out of your Office apps and unlink your OneDrive account when finished.
By default, Office applications keep you signed in to facilitate seamless saving to the cloud. On a shared computer, you must manually sever this connection to protect your personal files.
Open Word, Excel, or any other Office application on the shared computer. Click on your profile picture or account name in the top right corner, then select 'Sign out' to remove your account access.
Right-click the OneDrive cloud icon in the Windows taskbar system tray. Click the gear icon to open Settings, navigate to the 'Account' tab, and click the 'Unlink this PC' option.
If you accessed Office online, ensure you log out of the web browser. Do not check 'Remember my credentials' or allow the browser to auto-save your password during login.

Create a Separate Windows User Account
Creating a dedicated Windows profile ensures your files, cached data, and login credentials remain completely isolated from other coworkers on the same machine.
Secure Your Documents Locally with WPS Office
If managing shared Windows profiles or constantly signing out of cloud accounts feels cumbersome, consider switching to WPS Office. It provides robust local document encryption, ensuring your files remain private even on a shared desktop.
- 1. Download and install: Visit the official WPS Office website to download the free, lightweight installer and set it up on your computer.
- 2. Create your document: Open WPS Writer or Spreadsheet to draft your work. You can easily open and edit existing Microsoft Office formats.
- 3. Apply file encryption: Before saving, go to Menu > Document Encryption to add a strong password, ensuring nobody on the shared computer can open the file without your permission.

Frequently Asked Questions
Can I put a password on a specific folder within my personal OneDrive?
Yes, Microsoft OneDrive includes a feature called Personal Vault. It acts as a highly protected area within your cloud storage that requires a secondary step of identity verification, such as a fingerprint, face scan, PIN, or a security code sent via email or SMS, before opening.
Does unlinking OneDrive delete my files from the cloud server?
No. When you select 'Unlink this PC' in the OneDrive settings, it simply stops synchronizing files to that specific computer and removes account access from the local machine. Your files remain safely stored in the cloud.
How do I prevent my web browser from auto-saving my Microsoft password on a shared PC?
When you log into your Microsoft account on a web browser, decline the prompt that asks to save your password. To be absolutely safe, you can open your browser settings, navigate to the Passwords or Autofill section, and temporarily disable the option that offers to save passwords.




