Setting PhantomPDF as Default PDF viewer
We’re sorry that you’re experiencing issues with setting PhantomPDF as the default PDF handler in Windows 10. This is unfortunately due to the way Windows 10 gives users control of setting default applications. When an admin pushes changes to default apps, users are prompted to approve these changes; because this is coming from the system admin, it asks for admin credentials.
Many 3rd party providers are currently having the same issue and are having to take measures to resolve applying default applications. Read below for more on how to address this.
Users can correct this by setting PhantomPDF back to default (without needing admin rights), however there may be fixes that can be applied across the environment from the admin level. We highly recommend that your team engages your Customer Success Manager and Solution engineer to successfully go through the below steps:
1. Run Install Script
Run an install script that runs a SETDEFAULT="1" command to push PhantomPDF to Windows default app. Windows 10 will generate a Hash value in the registry to link apps to the default list. This Hash is different per machine and cannot be deployed as a way to force default.
2. Copy and Register** - Should be completed with supervision of Foxit's Solution Team
xcopy "C:\Program Files (x86)\Foxit Software\Foxit PhantomPDF\FoxitPhantomPDF.exe" "C:\Windows\System32\Foxit PhantomPDF\" /I /Y
Suppress the Windows 10 check for default command. This will set Windows to not run a check default command when running an application.
reg add "HKLM\SOFTWARE\Policies\Foxit\PhantomPDF 9.0\Preferences" /v EnableSuppressSetDefDlg /t REG_DWORD /d 00000001 /f