none
Uninstall mail windows app from sccm RRS feed

  • Question

  • Hello ! 

    I have to uninstall the mail windows app from the new computer on the domain.

    To be sure to make this change only on the new computer, I wanted to use SCCM, adding a tasksequence.

    So I added at the end a task sequence that executes this PS script :

    Get-AppxPackage -allusers Microsoft.windowscommunicationsapps | Remove-AppxPackage

    There is no error from SCCM, but the mail app is still here. 

    So :

    Does the initialisation of a new user on the computer reinstall the app (while loading the session for the first time) ?

    If yes, is it still possible to solve my issue using a task sequence in SCCM ? 

    If no, the only way would be to use a gpo with a start script session ?

    Thanks a lot.

    Monday, November 8, 2021 7:24 AM

All replies

  • I didn't understand the problem ...
    Monday, January 3, 2022 7:19 AM
  • Open Start.
    Search for Windows PowerShell, right-click the top result and select Run as Administrator.
    Type the following command to uninstall the app and press Enter: Get-AppxPackage Microsoft.windowscommunicationsapps | Remove-AppxPackage.


    Monday, August 8, 2022 5:46 AM
  • this information so detail for me, thank you very much!
    Friday, January 13, 2023 5:23 AM
  • Thanks for the instruction
    Friday, January 13, 2023 8:25 PM
  • Open Start.
    Search for Windows PowerShell, right-click the top result and select Run as Administrator.
    Type the following command to uninstall the app and press Enter: Get-AppxPackage Microsoft. windowscommunicationsapps | Remove-AppxPackage.

    Hope This Helps,
    Peter

    Wednesday, February 15, 2023 5:40 AM