Help with manual low-level uninstall of a MSIX appx package (New Teams)

mfred

Member
Dec 15, 2024
11
Italy
Hi there,
as for the title, I'm looking for help about how to low-level uninstall "New Teams" MSIX appx package.

The environment is a Windows Server 2019 Remote Session Desktop host, and the app has been initially installed as per official doc with the following command:
Dism /Online /Add-ProvisionedAppxPackage /PackagePath:c:\admin\teams\MSTeams-x64.msix /skipLicense

Sadly, after initial install of the package, something went wrong with Outlook add-ins, maybe because classic old Teams were present.

So I tried to uninstall with Dism.exe /online /remove-provisionedappxpackage but nothing to do... the package was not able to be removed for a infinite series of reasons.

So, I tried then to delete as much as possibile in the registry and in the file system about that package but without success.

Asked help to Microsoft, but they said the system is out of maintenance windows and could not help in any way.

I have the feeling that this forum is my only chance to find a solution!

Thanks in advance.

Fred.
 
For one user or all users? Not sure now, but it might be possible you need to reinstall because of what you've done piecemeal. If old is still present, that needs uninstall unless you want to use that instead of new version. Even though MS said out of maintenance, ask if they have a script that will work.
 
In Windows Server 2019 RD Session Host the old Teams is installed as per use profile .

While, the new Teams is provisioned as per-machine in a brand new way of software delivery called MSIX and, because this is a terminal server, whenever an user logs and run for the first time the provisioned app, the bits of the package start running and populate the user profile with a bunch of folders and files.

In my case I have the feeling that some dust of old Teams and new Teams is still present somewhere between user profiles and common folders, despite the chirugical cleaning I did... and that's where I'm stuck.

What I'm trying to do is understand and try to find a way to low level remove of a generic MSIX app... because all Powershell commands I tried are giving errors...
 
Unless some one has a better way, Files & Chat Data need to be backed up and the new program installed and IMO using the per machine option. After your attempts, I hope none of the valuable info was lost. I still think a script might pop up to solve the problem, but this is way beyond my pay grade.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!


Write your reply...
Back
Top