Configure default mail client

andreas bright 561 Reputation points


How can I change the default mail client in Windows from a Endpoint Manager policy ?
I want to change it to Outlook.


Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,708 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,306 questions
{count} votes

Accepted answer
  1. Lu Dai-MSFT 28,341 Reputation points

    @andreas bright Thanks for posting in our Q&A. From your description, I know you want to change the default email client to outlook. If there’s any misunderstanding, feel free to let us know.

    I have done the test in my lab. Here are the detailed steps for the reference:

    1. Select a windows10 test machine , navigate to Settings > Apps > Default apps and configure the email default app to outlook;
    2. Open cmd as administrator and run command: Dism /Online /Export-DefaultAppAssociations:c:\DefAppAss.xml. This can export the required app association file.
    3. Only keep the following part in this XML file which configure the default app for email.
      <?xml version="1.0" encoding="UTF-8"?>
      <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook" />
    4. Open the Base64 encoder and encode the content in the previous step to Base64 format. The result in Base64 format is the OMA-URI value. Here is the Base64 encoder I used:
      Note: Non-Microsoft link, just for the reference.
    5. Go to Microsoft Endpoint manager admin center. Create a custom profile and deploy this profile to the group you want.
      Name : Set a name for this profile.
      OMA-URI setting: ./Vendor/MSFT/Policy/Config/ApplicationDefaults/DefaultAssociationsConfiguration
      Data Type: String
      Value (The value is gotten from step 4 ) :
    6. After the profile deploy successfully, try to restart this device. We can find the email default app has be changed to outlook.

    Hope it can help.

    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    4 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rahul Jindal [MVP] 9,131 Reputation points MVP

    The only way I am aware of is using the OMA CSP DefaultAssociationsConfiguration, exported xml and a base64 encoder.

    2 people found this answer helpful.