Directory Opus opens PDF Files in Microsoft Edge instead of default PDF viewer

That's because .jar is in the list of default Zip extensions (Preferences / Zip & Other Archives / Zip Files).

That'll happen until the registry values are corrected.

I'm not sure why changing the default app via Open With isn't fixing the registry values, though. When I try the same on a just-updated Windows 11 system and fresh FoxIt Reader install, it updates both UserChoice and UserChoiceLatest, and everything works as expected in Opus.

A little while after first installing FoxIt, there was a notification from Windows about an app "damaging" the file type PDF registration and it being reset to MS Edge as a result (Microsoft accusing others of what they are doing themselves, sigh), but that affected both Opus and File Explorer, and changing the association back to FoxIt using Open With worked OK in both programs and then stuck.

Unfortunately, Microsoft have intentionally made it difficult to change the default web browser or .pdf registry entries directly, going to the extent of adding a new driver to Windows that blocks modifications to the relevant registry data even when permissions should allow editing. There are ways to disable the driver, as well as to turn off the new UserChoiceLatest functionality, but both require some command-line and registry editing. (New Windows driver blocks software that changes default web browser - Techzine Global and https://kolbi.cz/blog/2025/04/20/userchoicelatest-microsofts-new-protection-for-file-type-associations/ have more detail if you're technically inclined.)

The easiest workaround is to override the PDF double-click action within Opus:

  • Settings / File Types
  • System File Types / PDF (or type ".pdf" into the search field under the list).
  • Commands tab, then Events tab under that.
  • Edit the Left double-click event.
  • Set it to run FoxIt:
    "C:\PROGRAM FILES (X86)\FOXIT SOFTWARE\FOXIT PDF READER\FOXITPDFREADER.EXE" "%1"
    

(If you're not sure of the program path to FoxIt on your system, it'll probably also be in the Actions tab under the Open event. That's where I got my example command.)

Then it doesn't matter what's in the registry. The double-click event is part of the Opus configuration and will override the registry data. (Within Opus. It doesn't affect the rest of the system.)

Are people double clicking the file or are they using the right click open. I would suggest uninstalling and reinstalling directory opus. This might solve your problem.

double clicking within dopus will open PDFs with Edge. When I use right click --> Open, it uses Foxit to open the PDF. Unfortunately, right click and open is not an option for me...

A workaround is in my last post.

re-installing dopus didn't fix the issue either... Will try Leo's suggestions now

I know, I was just responding and to the question and trying the suggestion to try with a fresh install first... your workaround works like a charm :wink:

1 Like

Hi, I’m experiencing a similar issue in Directory Opus 13.17.

On Windows 11 Home, I’ve set .apk files to open with Bandizip, but Opus always opens them with WinRAR.

In Opus, the “Opens with” shows WinRAR, and I can’t change it to the correct system default.

This issue did not exist in version 13.15, where the file opened correctly with Bandizip.

Other file types like .yaml also show wrong “Open with” behavior in Opus 13.17.

I've already set the default apps correctly in Windows, and they work fine in File Explorer. But Opus ignores them.

I have a diagnostic report ready for the developers. Could someone PM me so I can send it?

Thank you!

You should be able to PM me by clicking my user icon. (If you couldn't before, the forum may've blocked it until your account had more activity, but it looks like it should be fine now at least.)