Best Practices Question

GPO - Setting file associations

02/13/2017 2447 views

I have currently used the following in an attempt to change file associations (This is set as Computer Configuration>Policies>Admin Templates>Windows Components/File Explorer>Set a default associations configuration file[Enabled]

Default Associations Configuration File: \\domain\etc\etc.\AppAssoc.txt 


<?xml version="1.0" encoding="UTF-8"?>
  <Association Identifier=".csd" ProgId="Applications\cpscan.exe" ApplicationName="cpscan MFC Application" />


The issue we are seeing now are multiple machines without pattern are losing all icons and I believe association on their desktop and start menu. Any direction would be great thank you!


2 Comments   [ + ] Show comments


  • The GPO is suppose to set Default App Association for .csd with software we use across our environment, so upon logon it doesn't have to be set manually for a new user on a workstation. As far as Scope the GPO is applied to OU's where this software is used on multi-user devices.
  • Unless there is a different way, then to the best of my knowledge, your default associations file should be an XML file, not a txt document.

    Interesting thing I came across too was when setting my defaults, certain applications were still asking users if they should be default. Like Firefox, Chrome, etc. For those I used a Chrome local GPO to prevent checking default status and set some defaults like home page, and for Firefox I used local configuration files within the Mozilla directory to suppress checking default browser status, home page, and other settings.

All Answers

First things first. Do what you should have done in the first place and set a scope for the policy to a restricted group. That way, you don't blat your entire estate. One has to wonder why you didn't do that in the first place, which in turn brings up your suitability for making changes to GP. But, we are where we are, as the saying goes.

Now...what - exactly - are you trying to achieve?
Answered 02/14/2017 by: anonymous_9363
Red Belt

You know it would a quadzillion light years easier to set the FTA whilst installing the relevant software, right?

>your default associations file should be an XML file, not a txt document.
AFAICR, you can give that file any extension you like, provided the file itself is in proper XML format.
Answered 02/16/2017 by: anonymous_9363
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ