Remove Mail and Calendar Remotely

Joseph Setaro 116 Reputation points


I am trying to uninstall the built-in Mail and Calendar apps on several hundred computers. I have tried many different variations of the Remove-appxpackage command, but none of them work unless someone is logged in. I get the error "An error occurred because a user was logged off" with error code 0x80073D19. How can I remove these apps without having to be logged into the computer?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,513 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Karlie Weng 8,746 Reputation points Microsoft Vendor

    Hello @Joseph Setaro

    WMI is only what I can find to remove apps remotely, but not sure is it applied to built-in apps.

    Here is the WMI method : How To Uninstall Software Remotely Using WMI on Windows

    Best Regards


    If the Answer 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.

    0 comments No comments

  2. Joseph Setaro 116 Reputation points


    I tried WMI, and it did not work. I forgot to mention that I am pushing this down through SCOM, and I have done this many times without issues.

    0 comments No comments

  3. Karlie Weng 8,746 Reputation points Microsoft Vendor

    if it is SCOM related , I would suggest to re-post it with highlighted tag. Users and Experts who encounter similar issue can easy to find it.


  4. Joseph Setaro 116 Reputation points


    None of the suggestions were helpful. Although this is being pushed down through SCOM, it is not a SCOM related issue, therefore I did not post this in SCOM. It seems that mail and calendar can only be removed by physically logging into the computer. I am researching a way to disable Mail through GP, so we can close this issue. Thank you for your help.