question

JosephSetaro-4064 avatar image
0 Votes"
JosephSetaro-4064 asked KarlieWeng-MSFT commented

Remove Mail and Calendar Remotely

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-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KarlieWeng-MSFT avatar image
0 Votes"
KarlieWeng-MSFT answered

Hello @JosephSetaro-4064

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JosephSetaro-4064 avatar image
0 Votes"
JosephSetaro-4064 answered KarlieWeng-MSFT converted comment to answer

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KarlieWeng-MSFT avatar image
0 Votes"
KarlieWeng-MSFT answered KarlieWeng-MSFT commented

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



image.png (128.1 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi@JosephSetaro-4064

Have you checked if above answers help?
If they are helpful, please do not forget to accept the answers.

Thanks

0 Votes 0 ·

Hi @JosephSetaro-4064
We have not heard from you for several days, any update?

0 Votes 0 ·
JosephSetaro-4064 avatar image
0 Votes"
JosephSetaro-4064 answered KarlieWeng-MSFT commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
sorry for not helping, I hope there will be a workaround for you.

Best Regards

0 Votes 0 ·