- Repair the PDF association directly in Windows 10 or Windows 11.
- Prevent portable paths, browsers, and other readers from overriding SumatraPDF.
- Test each document extension separately before resetting settings or reinstalling.
You set SumatraPDF as your default PDF reader, but the next PDF opens in Microsoft Edge, Adobe Acrobat Reader, Chrome, or another program. This usually means Windows did not save the association for the specific file extension, another application reclaimed it, or you are using a portable copy that Windows has not registered like an installed application. Less commonly, the file is not actually a PDF, the association exists only for one document type, or account permissions are preventing the change from persisting.
This guide focuses specifically on Windows file associations. It does not cover SumatraPDF tabs, opening files in new windows, or changing how documents behave after they are already open. Start with one ordinary local PDF, apply one fix at a time, and stop as soon as double-clicking that test file consistently opens SumatraPDF.

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 PDF Test
Before changing settings, confirm that the problem is the Windows association rather than a website, email program, cloud service, or damaged document. Download or copy one ordinary, unrestricted .pdf file to your Desktop. Do not begin with a PDF link inside a browser because browsers can display PDFs internally without consulting the normal Windows association.
- Open File Explorer.
- Select the test file and confirm that its name ends in .pdf. If extensions are hidden, enable File name extensions from File Explorer's View menu.
- Right-click the file and select Properties.
- Look at Type of file and the application shown beside Opens with.
- Double-click the file from File Explorer and note which application starts.
If Properties says the file opens with Edge, Adobe Acrobat, a browser, or another reader, Windows still owns the problem at the association level. If Properties already names SumatraPDF but another application opens, restart File Explorer or sign out and back in before investigating deeper.
Success means a local PDF opens directly in SumatraPDF when double-clicked. Once that happens repeatedly, stop changing settings. Browser PDF links may still open inside the browser because browser behavior is controlled separately.
1.1 Separate Browser Behavior From Windows Behavior
Opening a PDF link in Edge, Chrome, or Firefox is not a reliable default-app test. A browser can use its built-in PDF viewer even when SumatraPDF is the Windows default. Depending on the browser's download settings, you may need to download the file first or configure the browser to open downloaded PDFs externally.
Test the downloaded file in File Explorer. If it opens in SumatraPDF there, the Windows association is working. Only adjust browser settings if you also want links or downloads to leave the browser automatically.
2. Set the PDF Association Directly
The most effective SumatraPDF default app not sticking fix is to assign SumatraPDF directly to the .pdf extension. Windows maintains associations per extension, so changing PDF handling does not automatically assign EPUB, MOBI, CBZ, CBR, DjVu, CHM, XPS, or other supported formats.
2.1 Use Open With and Always Use This App
For a quick correction, use the test PDF itself:
- Right-click the local PDF.
- Select Open with, followed by Choose another app.
- Select SumatraPDF.
- On Windows 10, select Always use this app to open .pdf files, then confirm.
- On Windows 11, choose SumatraPDF and use the option that makes it the default rather than opening the file only once.
If SumatraPDF is not listed, choose the option to find another app on the PC. Browse to the actual SumatraPDF.exe that you intend to keep using. For an installed copy, it will normally be under a Program Files location. For a portable copy, select the executable from its permanent folder.
Afterward, close SumatraPDF and double-click the test PDF again. If it opens correctly, the association has been repaired and no settings reset is needed.
2.2 Use Windows 11 Default Apps
Windows 11 emphasizes per-extension defaults. Use this method if the Open with choice does not persist:
- Open Settings.
- Go to Apps and then Default apps.
- Search for .pdf, including the leading dot, or search for SumatraPDF.
- Select the application currently assigned to PDF files.
- Choose SumatraPDF and confirm the change.
Return to File Explorer and double-click the test PDF. Success means both Windows Settings and the file's Properties panel identify SumatraPDF, and the file opens there without an app-selection prompt.
2.3 Use Windows 10 Default Apps
On Windows 10, open Settings, select Apps, and then select Default apps. Choose Choose default apps by file type, locate .pdf, and assign SumatraPDF.
Do not rely only on a general setting described as choosing defaults by application. Verify the .pdf row directly. That row is the clearest indication of which program Windows will use when you double-click a PDF.
2.4 Check SumatraPDF's Own Option Without Relying on It Alone
Some installed SumatraPDF configurations expose a default-reader control in the application's options. If your copy shows an option to make SumatraPDF the default PDF reader, you can use it. However, always verify the result in Windows Default Apps afterward because modern Windows versions retain final control over user-level file associations.
If the SumatraPDF option is missing, disabled, or has no lasting effect, do not repeatedly click it. Set the .pdf association through Windows instead.
3. Check Windows, Installation Mode, and File Type Factors
3.1 Installed and Portable SumatraPDF Behave Differently
The installed edition is generally easier for Windows to register and display in Default Apps. A portable executable can still be selected through Open with, but its path must remain stable. If you associate PDFs with a portable copy in Downloads, on a USB drive, or inside a temporary extraction folder, moving or deleting that executable breaks the association.
For portable use, create a permanent folder such as one inside your user applications directory, move SumatraPDF there before creating the association, and do not rename the executable afterward. Then repeat the Open with process and browse to that permanent copy.
If you want ordinary system integration and do not specifically need portability, install SumatraPDF using its official installer. After installation, assign .pdf through Windows Default Apps. Success means Windows lists the installed application normally and continues opening PDFs after a restart.
3.2 Assign Every Required Extension Separately
A working PDF association does not prove that another format is associated correctly. Windows treats each extension as a separate choice. After confirming .pdf, test other formats one at a time.
- Use a local file with a visible, correct extension.
- Right-click it and choose SumatraPDF through Open with.
- Choose the option that always uses the selected application.
- Confirm the format is supported before treating a failure as an association problem.
For example, assigning SumatraPDF to .pdf will not automatically make it the default for .epub, .cbz, .djvu, or .xps. Test PDF first because it provides the simplest baseline, then configure only the additional extensions you use.
3.3 Watch for Applications Reclaiming PDF Files
Edge, Adobe software, browsers, and other document tools may request to become the default PDF handler after installation, an update, or first launch. Windows may also show a notification that an app default was reset. If the problem began immediately after installing or updating another reader, check the .pdf entry again.
Decline prompts from other applications that ask to become the default if you want to retain SumatraPDF. Do not uninstall Edge or modify protected Windows components merely to change a PDF association. A correct per-user association is sufficient.
3.4 Account Policies and Permissions Can Override Your Choice
On a work, school, kiosk, remote desktop, or otherwise managed computer, administrators can enforce default application associations. A policy may restore Edge or another approved reader at sign-in. A standard user usually cannot make a permanent change against an enforced policy.
A strong sign of policy enforcement is that SumatraPDF works immediately after selection but the old default returns after signing out, restarting, or receiving a management update. Ask the system administrator whether PDF associations are controlled. Avoid registry cleaners, association repair downloads, and scripts from unsupported websites. They may damage multiple file associations without overcoming an organizational policy.
3.5 Do Not Confuse Opening, Rendering, and Printing Problems
If double-clicking a PDF launches SumatraPDF but the page is blank, malformed, or cannot be printed, the default association is already working. That is a separate rendering, document, or printer issue.
- If only one document fails, test a second known-good local PDF.
- If printing fails, test another printer or the Microsoft Print to PDF queue to isolate the printer driver.
- If a non-PDF format fails, verify that SumatraPDF supports that format and that the file extension is accurate.
- If an older PostScript-related workflow requires Ghostscript or another external component, troubleshoot that format separately rather than resetting PDF associations.
- If a document is protected, damaged, incomplete, or subject to access controls, obtain a valid accessible copy rather than attempting to bypass restrictions.
Once SumatraPDF launches from a PDF double-click, stop changing the Windows default. Continue troubleshooting inside the relevant document, rendering, or printing path instead.

4. Inspect SumatraPDF-settings.txt Safely
SumatraPDF stores user preferences in a text settings file named SumatraPDF-settings.txt. This file can matter when SumatraPDF preferences do not persist, but it is not normally the authoritative store for Windows file associations. Windows records the default app separately.
Therefore, resetting this file should not be the first response when Edge keeps opening PDFs. First repair the .pdf association through Windows. Inspect the settings file only if SumatraPDF itself also forgets preferences, such as window state, display choices, history behavior, or other application settings.
4.1 Back Up Before Editing or Resetting
- Exit every SumatraPDF window.
- Locate the settings file used by your copy. Installed and portable modes may store it in different locations.
- Copy the file to a safe backup location.
- Open the original only with a plain-text editor if inspection is necessary.
- Do not paste undocumented settings from random repair sites.
If the file appears corrupted or changes never persist, close SumatraPDF and rename it to something such as SumatraPDF-settings.backup.txt. Start SumatraPDF again so it can create a clean settings file. This resets application preferences, so use it only after making a backup.
Then retest the Windows association separately. Success at this stage means SumatraPDF retains its own preferences after closing and reopening. It does not automatically mean Windows has assigned PDF files to it.
4.2 Check Whether the Settings Location Is Writable
A portable copy located in a protected folder, read-only location, network share, or removable drive may be unable to save changes. Move the complete portable setup to a user-writable permanent folder and test again. Do not run the application as administrator merely to force ordinary preferences to save, because that can create confusing differences between elevated and normal sessions.
If settings persist in a writable folder but the PDF default still changes, return to Windows Default Apps. The two symptoms have different storage mechanisms and may require separate fixes.
5. Run a Clean Temporary Test Before Reinstalling
A clean test helps determine whether the problem belongs to the current executable, its location, Windows, or another application. It is safer than immediately deleting settings or running an unsupported repair utility.
- Keep your original setup and settings backup intact.
- Obtain SumatraPDF only from its official website.
- Use the official installed edition, or place a portable copy in a new permanent, writable folder.
- Open the new copy directly and confirm that it can display the test PDF.
- Use Windows Default Apps or Open with to assign .pdf to that exact executable.
- Close all readers and double-click the PDF several times.
- Restart Windows and test the same local file again.
If the association survives the restart, the clean executable and path are working. You can remove the older duplicate after confirming which copy Windows uses. If Windows reverts again, look for another reader reclaiming PDFs, duplicate SumatraPDF executables, account-management policy, or a damaged Windows user profile.
Reinstalling SumatraPDF may improve application registration, especially when transitioning from a moved portable copy, but reinstalling alone does not guarantee that Windows will change the .pdf default. Always complete the per-extension assignment afterward.
6. Quick Fix Checklist
- Test one ordinary local .pdf from File Explorer, not a browser tab.
- Confirm the file really ends in .pdf.
- Use Open with and select the option to always use SumatraPDF.
- Verify .pdf under Windows 10 or Windows 11 Default Apps.
- If using portable SumatraPDF, keep the executable in a permanent writable folder.
- Configure EPUB, CBZ, DjVu, XPS, and other extensions separately.
- Decline default-reader prompts from Edge, Adobe software, browsers, or other readers.
- Check whether work or school policy restores an approved application after restart.
- Do not use registry cleaners or unofficial file-association repair utilities.
- Reset SumatraPDF-settings.txt only when SumatraPDF preferences also fail to persist.
- Stop troubleshooting the association once double-clicked local PDFs reliably open in SumatraPDF.
7. Frequently Asked Questions
7.1 Why Does Microsoft Edge Keep Taking Over PDF Files?
Edge may still display PDF links inside the browser even when SumatraPDF is the Windows default. That behavior alone does not mean Edge took over the file association. Download a PDF and double-click it in File Explorer. If the downloaded file also opens in Edge, reassign .pdf under Windows Default Apps. If the setting changes back after a restart, check for another PDF application, a managed-device policy, or a damaged user-profile configuration.
7.2 Why Is SumatraPDF Missing From the Default Apps List?
A portable copy may not be registered like an installed application. Use Open with, choose another app, and browse to the correct SumatraPDF executable. Keep that executable in a permanent location. Alternatively, install SumatraPDF from the official source, then return to Default Apps and assign the .pdf extension.
7.3 Will Resetting SumatraPDF-settings.txt Fix the Default App?
Usually not. The settings file stores SumatraPDF preferences, while Windows controls file associations. Reset it only when application preferences are also not saving. For a default-app problem, change the .pdf association directly in Windows.
7.4 Why Do PDFs Open in SumatraPDF but EPUB or Comic Files Do Not?
Windows assigns applications per extension. A PDF association applies only to .pdf. Right-click a known-good file of the other type, choose SumatraPDF, and select the option to always use it. Verify that the particular format is supported and test each extension independently.
7.5 Should I Use a Registry Cleaner or File Association Repair Tool?
No. Third-party repair utilities can alter unrelated associations, introduce unwanted software, or apply outdated registry changes. Use Windows Default Apps, the built-in Open with workflow, and the official SumatraPDF installer. On a managed computer, ask the administrator rather than trying to override policy.
7.6 When Should I Reinstall SumatraPDF?
Reinstall after you have confirmed that Windows cannot find or register the intended executable, the portable copy was moved, or a clean installed copy is needed for comparison. Reinstallation is not the first step because Windows may preserve the existing PDF default. After reinstalling, explicitly assign .pdf to SumatraPDF and verify it with a local test document.