How to Fix OneDrive Asking for Password to Open PDF Files
Question details
Users encounter a false password prompt when attempting to open standard, unprotected PDF files in the OneDrive web interface.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Viewing PDF documents stored in OneDrive using a web browser.
- Observed behavior
- The OneDrive web previewer displays a glitched password prompt for PDFs that were never encrypted. The files remain fully accessible without a password when opened on mobile devices or via locally synced folders.
Verify if the PDF file is genuinely password-protected by downloading it and opening it with a local PDF reader. Do not attempt to guess or create new passwords on the glitched OneDrive web screen.
Bypass Web Preview by Downloading the PDF Locally
Download the file locally to ensure the PDF itself is not locked and bypass the buggy OneDrive web viewer.
Since the issue is typically isolated to the OneDrive web interface, downloading the file directly to your computer will allow you to read and print your document normally.
Locate the PDF in the OneDrive web interface and click the small circular checkmark next to the file name to select it.
Click the 'Download' button located on the top navigation menu bar.
Navigate to your computer's Downloads folder and open the file using a desktop PDF reader or via the locally synced OneDrive folder on your PC.

Troubleshoot Browser and Web Cache Issues
Clear cached data or use alternative browser modes to rule out local browser glitches causing the false password prompt.
Check Microsoft 365 Service Health
If the issue persists across all browsers, it is likely a Microsoft server-side bug requiring their intervention to fix.
Seamlessly Read and Edit PDFs with WPS Office
Avoid frustrating web preview bugs by managing your documents with WPS Office. As a lightweight, feature-rich alternative to Microsoft Office, WPS provides reliable desktop and mobile PDF reading, editing, and cloud syncing without unexpected password prompts.
- 1. Download and Install WPS Office: Get the free installation package from the official WPS website and complete the quick setup process.
- 2. Open your PDF Document: Launch WPS Office and drag your downloaded PDF file into the workspace to view it immediately without password issues.
- 3. Edit and Manage: Use the built-in PDF tools to read, annotate, or convert your document effortlessly.

Frequently Asked Questions
Why does OneDrive say my PDF needs a password when it does not?
This is typically caused by a known bug or glitch within the OneDrive web previewer, which misinterprets standard PDF elements as encrypted data. The file itself remains unaltered and is not actually protected.
Can I remove the password prompt directly in the OneDrive web app?
Unfortunately, if it is a server-side preview glitch, you cannot remove or bypass the prompt from within the web interface. You must download the file and open it locally, or wait for Microsoft to release a fix.
Are my PDF files corrupted if this glitch happens?
No, your files are completely safe and uncorrupted. The issue only affects the way the web browser displays the document. Downloading the file or syncing it to your desktop will restore normal access.
Will changing browsers stop the false PDF password prompt?
Sometimes clearing your browser cache or switching to an incognito window can resolve local display issues. However, if it is a Microsoft server bug, the problem will persist across all web browsers until patched.




