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.
457 questions
0 comments No comments
{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


3 additional answers

Sort by: Most helpful
  1. Limitless Technology 39,391 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 7,756 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