Recently after installing FAX Server on our site, we are having some problem with opening received FAX file from user desktop. FAX files are .G3N/.G3F/.CTL of which .G3N and .G3F file can be opened in Windows Image Viewer and .CTL file can be opened in Notepad.
But the problem is, users have to make it their own, or we have to do it manually on all workstation across all branches. But it’s almost impossible to do so, so we have to think about some global solution.
Now we start working on creation a Group policy with which we can easily define default file association for those files and finally we created one.
FileAssociation.ADM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | CLASS USER CATEGORY !!category CATEGORY "Default Viewer/Icon for G3N File" KEYNAME "SoftwareClasses.g3nDefaultIcon" POLICY !!policyg3nicon EXPLAIN !!explain PART Default EDITTEXT DEFAULT "shimgvw.dll,1" VALUENAME "" END PART END POLICY END CATEGORY CATEGORY "Default Viewer/Icon for G3N File" KEYNAME "SoftwareClasses.g3nshellOpencommand" POLICY !!policyg3nview EXPLAIN !!explain PART Default EDITTEXT DEFAULT "rundll32.exe C:WINDOWSsystem32shimgvw.dll,ImageView_Fullscreen %1" VALUENAME "" END PART END POLICY END CATEGORY CATEGORY "Default Viewer/Icon for G3F File" KEYNAME "SoftwareClasses.g3fDefaultIcon" POLICY !!policyg3ficon EXPLAIN !!explain PART Default EDITTEXT DEFAULT "shimgvw.dll,1" VALUENAME "" END PART END POLICY END CATEGORY CATEGORY "Default Viewer/Icon for G3F File" KEYNAME "SoftwareClasses.g3fshellOpencommand" POLICY !!policyg3fview EXPLAIN !!explain PART Default EDITTEXT DEFAULT "rundll32.exe C:WINDOWSsystem32shimgvw.dll,ImageView_Fullscreen %1" VALUENAME "" END PART END POLICY END CATEGORY CATEGORY "Default Viewer/Icon for CTL File" KEYNAME "SoftwareClasses.ctlDefaultIcon" POLICY !!policyctlicon EXPLAIN !!explain PART Default EDITTEXT DEFAULT "C:WINDOWSsystem32shell32.dll,-152" VALUENAME "" END PART END POLICY END CATEGORY CATEGORY "Default Viewer/Icon for CTL File" KEYNAME "SoftwareClasses.ctlshellOpencommand" POLICY !!policyctlview EXPLAIN !!explain PART Default EDITTEXT DEFAULT "C:WINDOWSsystem32NOTEPAD.EXE %1" VALUENAME "" END PART END POLICY END CATEGORY END CATEGORY [strings] category="Zita FAX File Associations" policyg3nicon="Set Default Icon for G3N File" policyg3nview="Set default Viewer for G3N File" policyg3ficon="Set Default Icon for G3N File" policyg3fview="Set default Viewer for G3N File" policyctlicon="Set Default Icon for CTL File" policyctlview="Set default Viewer for CTL File" explain="This policy sets the default file association for G3N files and it's default icon. Custom Group Policy - TechnoChat.IN ! By Saugata Datta." |
Group Policy Fig -1
Group Policy Fig -2
EnjoY 🙂
Disclaimer: All posts and opinions on this site are provided AS IS with no warranties. These are our own personal opinions and do not represent our employer’s view in any way.
This article currently have 30,399 views
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.
Hi There,
I am trying to make a group policy tempalte to change the default program for an already installed file extension. I was planning to modify this one, but when I import it (without altering) it creates the folder structure in GP but no keys? Any ideas?
You have to change the Filtering option, read following link for how to change..
https://technochat.in/2008/10/custom-group-policygpo-for-changing-desktop-background-colour
We like to use the ADM for a different application to file association, will you please tell what all changes has to be done with regards to using the ADM for another application.
You have to change the file ext part and file association. If you can tell me what do you want, then I might help you out 🙂