How to disable mail client in windows 10

abdul latheef 31 Reputation points
2021-09-01T04:10:54.297+00:00

Hi,

I need to disable the windows default mail client in Windows 10 system. I have applied the GPO to disable this for all users but can't able to disable this app, policy is applied but still able to access and configure the email from the mail client.

Policy path:

User Configuration\Policies\Administrative Templates\Windows Mail

Scope:
User

Thanks
Abdul Latheef

Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
480 questions
{count} votes

Accepted answer
  1. Gabriel Oliveira 76 Reputation points
    2021-09-01T05:07:29.017+00:00

    Hi Abdul!

    You can remove Windows email application in Microsoft System Center Configuration Manager (SCCM) with script in Powershell

    Write-Output "Removing Windows 10 Mail Appx Package"
    Get-AppxPackage Microsoft.windowscomminicationsapps | Remove-AppxPackage
    Get-AppxPackage Microsoft.windowscomminicationsapps | Remove-AppxPackage -Allusers
    if(Get-AppxPackage -Name Microsoft.windowscommunicationsapps -AllUsers){
    Get-AppxPackage -Name Microsoft.windowscommunicationsapps -AllUsers | Remove-AppxPackage -AllUsers - Verbose -ErrorAction Continue
    }
    else{
    Write-Output "Mail app is not installed for any user"
    }
    if(Get-ProvisionedAppxPackage -Online | Where-Object {$_.Displayname -match "Microsoft.windowscommunicationsapps"}){
    Get-ProvisionedAppxPackage -Online |Where-Object {$_.DisplayName -Match "Microsoft.windowscommunicationsapps"} | Remove-AppxProvisionedPackage -Online -AllUsers -Verbose -ErrorAction Continue
    }
    else {
    Write-Output "Mails app is not installed for the system"
    }

    Save the script in the next path: C:\windows\system32\windowsPowerShell\V1.0\powershell.exe -executionpolicy bypass -file ".\mailremoval.ps1"

    In SCCM configuration, watch this vídeo:

    https://www.youtube.com/watch?v=3F0LiyqTM9k

    I hope I was helpfull

    Thanks!
    Gabriel Oliveira


5 additional answers

Sort by: Most helpful
  1. Limitless Technology 39,666 Reputation points
    2021-09-01T10:19:42.623+00:00

    Hi there,

    If GPO is not Handy you can try out these methods

    Method 1
    Click on Start Menu > Settings > System > Apps and Features.
    Wait till the app list is populated.
    Click on the Mail & Calendar App.
    It will reveal the menu to Move and Uninstall.
    Click on the Uninstall button to remove the Mail & Calendar from Windows.

    Method 2

    Open PowerShell with admin privileges, and execute the Remove App package command for the Mail App:

    Get-AppxPackage Microsoft.windowscommunicationsapps | Remove-AppxPackage
    Once the execution is complete, the Mail App will be uninstalled.

    Hope this Answers all your queries , if not please do repost back .
    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    2 people found this answer helpful.

  2. Kapil Arya 8,236 Reputation points MVP
    2021-09-01T05:17:12+00:00

    Hello,

    If you like, you can remove Mail app using these steps:

    1. Open Start.
    2. Search for Windows PowerShell, right-click the top result and select Run as Administrator.
    3. Type the following command to uninstall the app and press Enter: Get-AppxPackage Microsoft.windowscommunicationsapps | Remove-AppxPackage

    Hope this helps!


  3. SimonEdwards-2756 1 Reputation point
    2022-09-08T01:37:10.667+00:00

    Get-AppxPackage Microsoft.windowscommunicationsapps | Install-AppxPackage -Allusers =D

    0 comments No comments

  4. Buystockinfun 0 Reputation points
    2024-09-05T17:39:48.7733333+00:00

    In my case, I had selected open Outlook (New) in the App Defaults. I thought this was the Office 365 Outlook. The default should be in my case Outlook not Outlook (New). So now it opens just an Outlook (365 Program) new mail window and in chrome email links open the same instead of the annoying Outlook (New App). I guess Windows 10 Mail and Calendar App is something different.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.