
Windows 10 set pdf default to adobe 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$ 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.
Windows 10 set pdf default to adobe 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.
