Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
andrew1s Absent Member.
Absent Member.
1264 views

Computer Configuration - Group Policy - File Associations

Hi everyone,


We are having problems configuring the file associations on Windows 8.1 with Zenworks 11.4. We want HTM and HTML files to be associated with Chrome rather than IE. We know that Microsoft have changed procedures a little bit with Windows 8.1 and that you amend the settings to how you want them to be, export the settings to an XML file using DISM. You then place the XML file in an area that the PC can access (we have used the local C drive) and you amend the Group Policy in

Computer Configuration/Administrative Templates/Windows Components/File Explorer/ - Set a default associations configuration file and we point it at the file that we outputted from DISM.

We apply the policy and we can see it change within the local group policy of the PC. But it doesn't change the file associations. Other changes we make on the Group Policy work - so we know the deployment of it is okay.

I have found this article on the Zenworks 11.4 Documentation and at the very bottom of the page it says for Windows 8.1 ensure that Interactive Logon: Do not require CTRL+ALT+DEL is set to disabled. We have done that and it has made no difference.

We are NOT in a domain environment and I can see from the policy description that we are trying to change it has this following advice:-

If the group policy is not configured, disabled, or the client machine is not domain-joined, no default associations will be applied at logon time.

I am thinking we can't be the only Zenworks environment without a domain and therefore not the first people to come across this issue. Does anyone have any ideas of where I can investigate further?
Labels (2)
0 Likes
5 Replies
Micro Focus Expert
Micro Focus Expert

Re: Computer Configuration - Group Policy - File Association

When you manually run GPEdit.MSC on a PC and apply this change.
Does it take effect?
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
andrew1s Absent Member.
Absent Member.

Re: Computer Configuration - Group Policy - File Association

CRAIGDWILSON;2443046 wrote:
When you manually run GPEdit.MSC on a PC and apply this change.
Does it take effect?


Yes it does - the change appears in the local group policy.
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Computer Configuration - Group Policy - File Association

But does it actually change the File Associations?
If not, then ZCM would not either since it is doing the same thing.

You may want to enable GPO Logging and looking that the GPO Logs

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics]
"GPSvcDebugLevel"=dword:00030002

The resulting log file will be
%WINDIR%\debug\usermode\gpsvc.log

(Reboot Required to For Logging to turn on)
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
stelgenkamp Honored Contributor.
Honored Contributor.

Re: Computer Configuration - Group Policy - File Associations

Did you get this to work ?

My PC's are not domain-joined either, and with windows 10, this is giving my people headaches!

0 Likes
jdkoerner Honored Contributor.
Honored Contributor.

Re: Computer Configuration - Group Policy - File Associations

The only thing I found that works is doing a program default export using dism.exe(must be run from an elevated prompt) on a machine that has the defaults set the way you want.

dism /Online /export-DefaultAppAssociations:[path]\[filename].xml

This gives you an xml list of all program defaults on the computer.  I then trim it down to just the program(s) I want to set the defaults of.

For example we use NitroPro for PDF editing so i have an xml file with just those defaults

<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
<Association Identifier=".fdf" ProgId="NitroPDF.FDFDoc.12" ApplicationName="Nitro Pro" />
<Association Identifier=".pdf" ProgId="NitroPDF.Document.12" ApplicationName="Nitro Pro" />
<Association Identifier=".ppdf" ProgId="NitroPDF.PPDFDoc.12" ApplicationName="Nitro Pro" />
<Association Identifier=".xfdf" ProgId="NitroPDF.XFDFDoc.12" ApplicationName="Nitro Pro" />
</DefaultAssociations>

You can then run dism on other computers to import the file .

dism /Online /import-DefaultAppAssociations:[path]\NitroProDefaults.xml

If the user is already logged on they will not see the change until the next logon.   I usually put the necessary actions in the bundle that installs the program I want the defaults set for.

 

Jim Koerner

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.