GPO association file doesn't work

M.Tech 0 Reputation points
2024-07-03T10:30:12.6333333+00:00

I would like to force on all Win10/Win11 domain PCs in the company Outlook as the default application for mailto. I have followed the instructions for creating a GPO with an associated xml file. https://learn.microsoft.com/it-it/microsoft-365/troubleshoot/group-policy/configure-email-client-using-policy On the PCs the registry key is created with the correct path to the .xml file, but the default app does not change, not even after restarting the PC.

Help me, please!

Thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,181 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,418 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,974 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Faery Fu-MSFT 18,521 Reputation points Microsoft Vendor
    2024-07-04T08:02:15.1433333+00:00

    Hi @M.Tech ,

    According to my research, there could be several reasons why the default app is not changing even after the registry key is created and the PC is restarted. Here are some potential causes:

    1. GPO Application: The Group Policy might not be applying correctly. You can check the application of Group Policy using the gpresult /h report.html command in the command prompt, which generates a report of the Group Policy results.
    2. Group Policy Updates: Make sure that the Group Policy has been updated on the client machines. You can force an update by running the command gpupdate /force in the command prompt.

    Besides, changes made through Group Policy can sometimes take time to propagate and might not apply until after several restarts. Also, Group Policy settings typically apply only to new users logging in for the first time and won’t change existing user settings.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Neuvi Jiang 765 Reputation points Microsoft Vendor
    2024-07-05T06:56:28.5966667+00:00

    Hi M.Tech,

    Thank you for posting in the Q&A Forums.

    Verify that the GPO settings are correct

    Ensure that the GPO settings are in the correct path, i.e., Computer Configuration > Administrative Templates > Windows Components > File Explorer".

    Double-click on the Set Default Associations policy and ensure that it is set to Enabled and that the correct path to the XML file is specified.

    Verify that the contents of the XML file are correct, specifically the <Association Identifier="mailto"...> section to ensure that it points to Outlook. > section to make sure it points to Outlook.

    Ensure that the path to the XML file is accessible to all domain PCs, either locally or over the network.

    If the content of the XML file is incorrect or incorrectly formatted, the policy will not take effect. 2.

    1. Confirm the policy is applied

    Run the gpupdate /force command on the domain PC to force the immediate application of the Group Policy.

    Event Viewer: Check the Group Policy related logs in the Windows Event Viewer for any error or warning messages.

    If the Group Policy is not applied correctly, it may be due to network problems, permission issues, or policy conflicts.

    1. Check the registry settings

    Use registry editor (regedit) to check the DefaultAssociationsConfiguration value under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System to make sure that it points to the correct XML file path.

    Before modifying the registry, be sure to back up the registry in case of an accident.

    If the settings in the registry are incorrect or missing, it is possible that the GPOs are not being applied correctly to the PC.

    Best regards

    NeuviJ

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. M.Tech 0 Reputation points
    2024-07-08T07:27:38.58+00:00

    Hi,in the meantime thank you for your answers but unfortunately they do not solve the problem.

    As I wrote on my request, the GPO is set up correctly and the PCs reach the share where I copied the .xml file, the proof is that deleting the registry key "DefaultAssociationsConfiguration in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" recreates it by running the command gpupdate /force.

    Despite the registry key being created and restarting the PC, the default software does not change...mystery!

    Regards

    Marco

    0 comments No comments