question

LukeM-7635 avatar image
0 Votes"
LukeM-7635 asked Ralph-3884 answered

Set Default File Associations for All Users By GPO

How can I set the default file associations for all users by GPO?

This should have a simple answer but unfortunately none of the guides currently available online work for Windows Server 2019. So, I am here asking for a definitive set of steps that I can use to set a user's default applications.

  • The user is a member of an Active Directory domain.

  • The user is logging on to a Windows Server 2019 Remote Desktop Session Host.

  • The user has a User Profile Disk.

The main problem is that it is not possible to change a user's file associations by editing the registry as this only causes the Window's defaults to be reset and the user must manually pick the correct program. Also, exporting a user's file associations then trying to apply that XML to other users doesn't work and also only results in the new user having to pick the correct programs again.


This should be simple thing so let's get a final - working - answer on this. How do you set the default associations?

windows-server-2019windows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Ralph-3884 avatar image
0 Votes"
Ralph-3884 answered

Hi, I'm currently working on the same issue on my network.

The problem i've run into at the moment is i've got 3 GPOs

1 Machine GPO - File Association Global - This applies all default applications except PDF via the .txt file in File Explorer Options.

2 User GPO - File Association Ops - This applies .pdf to utilise PDF Architect as the default application
- File Association Sales - This applies .pdf to utilise Adobe Reader as the default application.

The Machine GPO works but it has to be a .txt file instead of .xml for some reason regardless that Windows's DISM command exports it as .xml it won't work if it isn't a .txt file.

If I could find a way to get this to work it would be golden.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.