- Verify the password, spaces, local file, and document type first.
- Test associations, portable copies, and clean settings before reinstalling.
- Respect owner restrictions and request authorized document access.
When a password-protected PDF does not open in SumatraPDF, the cause is usually one of a few specific problems: the password is being entered differently from how it was created, the file is incomplete or damaged, the document uses encryption that another viewer handles differently, or SumatraPDF is not saving a password-related setting where expected. A PDF can also open normally but block printing, copying, or editing because it has owner restrictions rather than an open password. The steps below help you identify the exact symptom and restore legitimate access without bypassing encryption or document restrictions.

Start with free Canva bundles
Browse the freebies page to claim ready-to-use Canva bundles, then get 25% off your first premium bundle after you sign up.
Free to claim. Canva-ready. Instant access.
1. Confirm the Symptom With One Simple Test
Before changing Windows or SumatraPDF settings, determine whether the failure follows the application, the document, or the password. This prevents a broad troubleshooting process when only one downloaded file is defective.
1.1 Test a simple local copy
Save the protected PDF to a simple local location such as your Documents folder. Give the copy a short name, such as protected-test.pdf, without changing the .pdf extension. Open SumatraPDF first, and then use its Open command to select the local copy.
This test avoids problems caused by email previews, temporary browser downloads, cloud placeholders, portal sessions, and unusually long paths. It also confirms that Windows is giving SumatraPDF a real PDF file rather than a link or incomplete temporary file.
Success means the local copy displays a password prompt and opens after you enter the legitimate password. If it works, stop changing SumatraPDF settings. The original location, download method, or file association was probably responsible.
1.2 Type the password manually
Enter the password manually once, even if you normally paste it from an email, password manager, or web portal. PDF passwords can be case-sensitive, and a copied value may contain a leading space, trailing space, line break, or visually similar character.
- Check uppercase and lowercase letters.
- Confirm whether characters are letters, numbers, or symbols.
- Disable Caps Lock unless the password requires capital letters.
- Do not add quotation marks around the password.
- Include intentional spaces inside the password.
- Avoid copying punctuation that follows the password in a message.
If manual entry works, the document and SumatraPDF are functioning. Correct the saved password in your password manager or copy only the intended characters. There is no reason to reinstall the reader.
1.3 Test one known-good protected PDF
If possible, create or obtain a small test PDF protected with a password you control. Do not upload confidential material to an unknown online service to create this test. Open the test file in SumatraPDF and enter its known password.
If the test PDF opens, the original document or its supplied password is the likely problem. If every protected PDF fails while unprotected PDFs open, continue with the SumatraPDF-specific checks below.
2. Check the Password Type and How SumatraPDF Opens the File
The phrase password-protected PDF can describe two different security mechanisms. Understanding which one applies is essential because they produce different symptoms.
2.1 User passwords versus owner restrictions
A user password, sometimes called a document-open password, must be entered before the PDF content can be viewed. SumatraPDF should show a password prompt when opening such a document.
An owner password controls permissions such as printing, copying, commenting, or editing. A PDF with only owner restrictions may open without prompting, but certain actions can remain unavailable. Being able to view a restricted document does not authorize a reader or external tool to remove its controls.
If the PDF opens but printing or copying fails, repeated attempts to use the opening password will not solve the problem. Ask the document owner for an authorized, unrestricted copy or permission to perform the required action. This guide does not provide methods for bypassing PDF encryption, DRM, or owner restrictions.
2.2 Open the file from inside SumatraPDF
Double-clicking a file in File Explorer depends on the Windows file association. The .pdf extension could be assigned to another application, an obsolete SumatraPDF executable, or a portable copy that has been moved.
- Start the SumatraPDF executable you intend to use.
- Select the application’s Open command.
- Browse to the local PDF copy.
- Enter the legitimate password when prompted.
If this works but double-clicking does not, repair the Windows default app for .pdf files. In Windows Settings, search for default apps and assign .pdf files to the desired SumatraPDF installation. Verify the application path if you keep both installed and portable copies.
2.3 Confirm that the document is actually a PDF
A file named with a .pdf extension is not necessarily a valid PDF. Email gateways and document portals sometimes save an HTML sign-in page, error response, or download placeholder under a misleading filename. An extremely small file can also indicate a failed download.
Download the document again through the official email attachment control or authenticated portal. Wait for the download to finish before opening it. If the portal offers several formats, select PDF explicitly rather than an eBook, image package, XPS file, or web preview.
Success means the newly downloaded file has a plausible size, triggers the expected password prompt, and opens after authentication. If the replacement works, delete the incomplete copy and stop troubleshooting the reader.
3. Check Windows, the Source Document, and External Factors
SumatraPDF supports several document families, but a protected PDF opening failure should be investigated as a PDF problem first. Codecs, Ghostscript, printer drivers, and shell integrations generally do not validate a PDF’s opening password.
3.1 Test the same file in another trusted viewer
Open the local copy in another reputable PDF viewer already approved for your computer. Enter the same password manually. This is a diagnostic comparison, not a way to defeat protection.
- If both viewers reject the password, confirm it with the sender.
- If both viewers report damage, download or request the file again.
- If another viewer opens it, update SumatraPDF from its official source and retest.
- If only a browser preview works, make sure it is displaying the same downloaded file.
A successful test elsewhere shows that the password and at least one copy of the document are valid. It does not automatically prove that SumatraPDF is defective because Windows may have opened a different copy or a portal may have supplied an authenticated preview.
3.2 Treat email and portal documents carefully
Protected financial, medical, legal, and workplace documents are often distributed through secure portals. The password may be based on information formatted in an exact way, such as a date with or without separators. Follow the sender’s instructions precisely and contact the issuing organization when those instructions are ambiguous.
Do not repeatedly guess passwords against a portal account, and do not upload a sensitive PDF to an online unlocking website. Repeated portal attempts can trigger account controls, while third-party upload services may expose confidential information.
3.3 Separate opening problems from rendering and printing problems
If the password is accepted and the document page appears, the opening problem is resolved. Blank pages, missing graphics, font issues, crashes during rendering, and failed print jobs are different symptoms.
Ghostscript may matter in workflows involving PostScript files, but installing it is not a normal fix for a PDF password prompt. Likewise, changing a printer driver cannot make an opening password valid. Investigate a printer driver only after the protected PDF opens and the failure occurs specifically during printing.
When the PDF opens but renders incorrectly, compare it with another trusted viewer and obtain a fresh source copy. When it opens and renders but will not print, first determine whether printing is restricted by the document owner. Do not attempt to work around that restriction.
3.4 Compare installed and portable copies
SumatraPDF can be used as an installed application or as a portable executable. If both exist, they may use different executable paths or settings locations. A desktop shortcut, file association, and pinned taskbar icon can each launch a different copy.
Close all SumatraPDF windows. Start one known executable directly, use its Open command, and test the local protected file. If that copy works, update or remove stale shortcuts and point the PDF association to the working copy. Avoid deleting either copy until you know which one contains the settings you need.

4. Inspect or Reset SumatraPDF-settings.txt Safely
SumatraPDF stores preferences in a text settings file named SumatraPDF-settings.txt. The relevant file location can differ depending on whether you use an installed or portable build. Settings persistence problems can explain why a password workflow works temporarily but is not remembered as expected.
4.1 Check whether settings are being saved
Make a harmless preference change in SumatraPDF, close the application normally, reopen it, and see whether the preference remains. If it reverts, SumatraPDF may be unable to write to its active settings file.
Possible causes include a read-only folder, restrictive permissions, security software, a portable executable stored in a protected directory, or confusion between multiple copies. Move a portable copy to a normal user-writable folder rather than running it from a locked application directory or read-only device.
Success means ordinary preferences persist after a full close and restart. Once they do, retest the protected PDF before modifying password settings.
4.2 Understand the DefaultPasswords setting
SumatraPDF has an advanced setting named DefaultPasswords that can be used to try predefined passwords when opening protected documents. It can be convenient for personal workflows in which documents you are authorized to access repeatedly use the same password.
Use this setting cautiously. Values stored in a settings file should not be treated like secrets protected by a password manager. Anyone or any software able to read the settings file may be able to see them. Do not store high-value, shared, workplace, banking, or confidential credentials there unless your organization explicitly approves that practice.
When editing DefaultPasswords, use the structure already present in the settings file and consult the official SumatraPDF documentation for the build you are running. Preserve spaces that are part of a password, and do not assume that trimming or adding quotation marks will produce the same value. Close SumatraPDF before editing, make a backup first, and test with a non-sensitive document you own.
Success means an authorized document using a configured default password opens as intended after SumatraPDF restarts. If manually entering the password already works and you do not need automatic attempts, leave DefaultPasswords empty.
4.3 Reset the settings file without destroying it
Close every SumatraPDF process. Locate the active SumatraPDF-settings.txt file and rename it to something such as SumatraPDF-settings.backup.txt. Do not delete it. Start SumatraPDF again so it can create clean settings, and then test the local protected PDF.
If the file opens with clean settings, an old or malformed preference was involved. Reapply only the settings you need, one group at a time, rather than copying the entire old file back. If the problem remains, restore your backup if desired and continue to the clean executable test.
5. Run a Clean Temporary Test Before Reinstalling
Reinstallation is often unnecessary because application preferences or stale shortcuts can survive and reproduce the same behavior. A clean temporary test gives clearer evidence.
- Close all SumatraPDF windows and confirm the process has ended.
- Back up the active settings file without deleting it.
- Download a current official SumatraPDF package from the project website.
- Place a portable test copy in a new user-writable folder.
- Do not import old settings or reuse an old shortcut.
- Open the test PDF from inside that clean copy.
- Type the verified password manually.
If the clean copy opens the PDF, the original executable, settings, shortcut, or file association is responsible. You can then replace the old installation or repair its configuration. If the clean copy fails but another viewer opens the exact same local file, report the compatibility problem to SumatraPDF with non-confidential details. Never publish the document password or a sensitive document in a public bug report.
If every trusted viewer fails, stop changing SumatraPDF. Request a new file and confirmed password from the sender. That result points to the source document, password instructions, or download rather than the local reader.
6. Quick Fix Checklist
- Save the PDF locally instead of opening an email or browser preview.
- Enter the password manually with the correct case and intentional spaces.
- Confirm whether the problem concerns opening or only printing and copying.
- Open the file from inside the intended SumatraPDF executable.
- Repair the Windows .pdf association if double-clicking launches the wrong copy.
- Download the document again from its official source.
- Test the exact local file in another trusted PDF viewer.
- Compare installed and portable SumatraPDF copies.
- Verify that ordinary settings persist after restarting the application.
- Back up and temporarily reset SumatraPDF-settings.txt.
- Use DefaultPasswords only for authorized, low-risk personal workflows.
- Run a clean portable test before reinstalling.
- Contact the sender when all viewers reject the password or file.
Stop as soon as the PDF opens after accepting the correct password. Additional changes can obscure the original cause or create a new settings problem.
7. Frequently Asked Questions
7.1 Why does SumatraPDF keep asking for the same password?
The entered value may be incorrect, may contain an unintended space, or may not be retained between document sessions. Type it manually and test the same local file in another trusted viewer. If manual entry works every time, the document is healthy and the remaining issue concerns convenience or settings persistence.
7.2 Can SumatraPDF remember a PDF password?
The advanced DefaultPasswords setting can try configured passwords for authorized documents. Because those values reside in a settings file, consider the security implications before using it. A password manager and manual entry are safer choices for sensitive credentials.
7.3 Do spaces count in PDF passwords?
Yes, an intentional space can be part of a password. A copied leading or trailing space can also cause rejection. Confirm the exact value with the sender, and distinguish intentional internal spaces from formatting accidentally copied from an email or webpage.
7.4 Why does the PDF open but refuse to print?
The opening password has already succeeded if you can view the pages. Printing may be disabled by owner permissions, workplace policy, or a separate print-system problem. Check the document’s permissions and request an authorized printable copy. Do not try to remove the restriction.
7.5 Will reinstalling SumatraPDF fix a protected PDF?
Only if the executable or installation is damaged. It will not correct a wrong password, incomplete download, owner restriction, or malformed source file. A clean portable test is faster and more informative than immediately uninstalling the application.
7.6 What should I do if another viewer opens the PDF?
Confirm both programs are opening the exact same local file. Then test an official current SumatraPDF package with clean settings. If the failure remains specific to SumatraPDF, report a compatibility issue using non-sensitive details such as the Windows edition, file behavior, and error message. Do not share the password or confidential file publicly.