![set pdf default set pdf default](https://foxitsupport.zendesk.com/hc/article_attachments/360051522852/1539823989664215.png)
![set pdf default set pdf default](https://img-16.ccm2.net/2Q5em3SLOIDPJyCD1iVEexoH7us=/500x/c10d4599dda44844a80d3fedab6ff689/ccm-faq/KuwY1otT-nitro1-s-.png)
WshShell.RegWrite “HKCUSoftwareClassesAcroExch.Document.7shellOpencommand”,”””C:Program Files (x86)AdobeReader 10.0ReaderAcrord32.exe”” “”%1″””,”REG_SZ” WshShell.RegWrite “HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfOpenWithListMRUList”,”acb”,”REG_SZ” WshShell.RegWrite “HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfApplication”,”AcroRd32.exe”,”REG_SZ” SET WSHShell = CreateObject(“WScript.Shell”) StrUserPath = “LDAP://” & objSysInfo.UserName Set objSysInfo = CreateObject(“ADSystemInfo”)
![set pdf default set pdf default](https://images.squarespace-cdn.com/content/v1/5215edd4e4b0a9e95ce231de/1579699205567-WIOZK283KGWCKEYVSRNX/2020-01-22_13-07-13.jpg)
‘VBS script, check Group Membership and add Reg Key It doesn’t work for Server 2008, trying to find a solution.
#Set pdf default pro#
It looks to see if the user is a member of the Adobe Pro group and if not it defaults to Adobe Reader.
#Set pdf default windows#
AcroRD32.exe for Adobe acrobat reader.įor Windows 2008 R2 environments this is much simple to do and can be done through File Associations in Group Policy (See Microsoft Technet fore more information).įor those using Server 2003 圆4 this VBS script seems to work for us. There is then a corrosponding key for each recognised extension, to set the default application for that extension simply create a String Value (REG_SZ) called Application and set the Value to the name of the program executable used to open the file, e.g. HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExt If you wish to change defaults for all users you will need to use a script or reg file to change the appropriate file extension under the following key: Invidual user preferences on applications are stored in the HKEY_CURRENT_USER hive which in turns gets written back to the NTUSER.dat file in their profile. When changes are made by the administrator account for File extensions this will only affect users who do not have a roaming profile and have not logged in to that particular Server or Workstation before. If you are looking at setting other applications as defaults for a particular extension this can also be done through these REG keys. Then when each user logs in Acrobat reader gets set as the default application for PDF’s. I then copied the reg file up to a replicated folder (SYSVOL or NETLOGON) and set up a GPO to run REGEDIT with paramaters /S \NETLOGON.REG and made sure that my lockdown group policy for the Citrix server allowed regedit to run silently. So in order to default the application back to Acrobat Reader for all users I created a REG file with the following content: In this particular environment the Citrix servers were running Windows 2003.
#Set pdf default how to#
I Recently installed Acrobat Professional on some Citrix servers the other day, after completing the installation I found that the installation had reset the default PDF Viewer for all users to Acrobat Professional.Īs this application was restricted to specific users this caused a few problems, after some searching on the Net I could only find how to set file associations via group policy on Windows 2008 servers.