Asked by:
Uninstall mail windows app from sccm

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.
All replies
-
-
-
-
-
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