Command -register-for-pdf (register SumatraPDF as the default PDF) not working

Hi
Using Windows 10 64 I’can’t register SumatraPDF 3.2 as the default PDF from command line with
-register-for-pdf
thanks

The command functioned well in Win XP 7 & 8
Windows 10 will not allow you to use that method (afaik, but I have not tried to force it recently)
Windows 10 expects Edge to be the Default PDF reader and persuading it to not do so has been a to and fro battle which varies per release

I install on Windows 10 without that option
Then kick windows in the shins by selecting a pdf and telling associations
its my fervent wish it allows SumattraPDf to open similar such files

1 Like

Windows 10 doesn’t allow programs to do it themselves (unlike earlier versions).

You have to do it as described at https://www.sumatrapdfreader.org/docs/Configuring-as-default-PDF-viewer-on-Windows-10.html

1 Like

The following also works for me equally well:


1 Like