
- Citrix set pdf default program pdf#
- Citrix set pdf default program upgrade#
- Citrix set pdf default program Offline#
This policy specifies the path for the XML file that can be either stored locally or on a network location.
Citrix set pdf default program pdf#
Reg add HKEY_LOCAL_MACHINE\SOFTWARE\AcroRd32\Capabilities /v “ApplicationDescription” /d “AcroRd32 reads PDF files.” /f >nul Reg add HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications /d “AcroRd32″=”Software\AcroRd32\Capabilities” /f >nul Reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroRd32.pdf\shell\open\command /ve /d “\”C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe\” \”%%1\”” /f >nul

Reg add HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\AcroRd32.exe\shell\open\command /ve /d “\”C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe\” \”%%1\”” /f >nul If exist “c:\Program Files (x86)\Adobe\Reader 11.0\Reader\” ( Reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System” /v DefaultAssociationsConfiguration /t REG_SZ /d “c:\defaultassociations.xml” This, if you change your mind and would like to remove…ĭism.exe /Image:C:\mount\offline /Remove-DefaultAppAssociationsĭon’t forget about ‘New Users’ or the default user profileĬopy /y defaultassociations.xml \\%computername%\c$
Citrix set pdf default program Offline#
This could also be handled in an offline mannerĭism /Mount-Image /ImageFile:C:\mount\images\install.wim /Name:”Windows” /MountDir:C:\mount\offlineĭism.exe /Image:C:\mount\offline /Import-DefaultAppAssociations:c:\defaultassociations.xml “DefaultAssociationsConfiguration”=”c:\\defaultassociations.xml” Start by setting the default PDF app(s) and then exporting the defaultassociations.xml fileĭism /Online /Export-DefaultAppAssociations:c:\defaultassociations.xml If you can use GP, I recommend using it-either local or domain. ObjShell.Run LaunchDefaultProgram & setIE ObjShell.Run LaunchDefaultProgram & setAcrobat

ObjShell.Run "reg delete ""HKEY_CLASSES_ROOT\.pdf"" /f ",0,true LaunchDefaultProgram = "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=" Set objShell = WScript.CreateObject("WScript.Shell") VBScript Method-run while user is logged in (meh)ĭIM objShell, setIE, setAcrobat, LaunchDefaultProgram This is the research I have done, along with developing a couple solutions myself.
Citrix set pdf default program upgrade#
In Windows 10 build 1703 (as well as some previous builds), the full upgrade or Windows Servicing upgrade, the Edge browser breaks the PDF file association (meaning, you are forced to use Edge by default), and there is no automated method to fix it for current users.
