Remove Mail and Calendar Remotely

Joseph Setaro 121 Reputation points
2021-03-10T22:13:29.847+00:00

Hello,

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.
12,035 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Karlie Weng 19,121 Reputation points Microsoft Vendor
    2021-03-11T08:30:24.853+00:00

    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
    Karlie

    ----------

    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 121 Reputation points
    2021-03-11T15:34:56.397+00:00

    Hello,

    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 19,121 Reputation points Microsoft Vendor
    2021-03-12T09:03:09.297+00:00

    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.

    77173-image.png


  4. Joseph Setaro 121 Reputation points
    2021-03-24T12:40:51.43+00:00

    Hello,

    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.


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.