question

FilthyPierre-9294 avatar image
0 Votes"
FilthyPierre-9294 asked ·

Removing Skype for Business using the Office tool

Our environment consists of Windows 10 1909 Enterprise workstations running Office 365. We are transitioning to Teams and I am trying to uninstall Skype for Business. Eventually I will deploy a script using SCCM for the removal but right now I am testing.

According to this site my product ID is SkypeforBusinessRetail:
https://docs.microsoft.com/en-us/office365/troubleshoot/installation/product-ids-supported-office-deployment-click-to-run

I have downloaded the Office Deployment Tool and I have created an .XML file called RemoveSkype.xml for removal that looks like this:

<Configuration>
<Remove>
<Product ID="SkypeforBusinessRetail">
</Product>
</Remove>
</Configuration>

I kill the skype task using: taskkill /f /im lync.exe and I see Skype close and the task disappear
I run the command line for the office deployment tool using the above XML:
setup.exe /configure RemoveSkype.xml

I see the Office Deployment tool run successfully, it recommends a reboot.
I reboot, Skype for Business is still installed.

What am I doing wrong?

office-itprooffice-deploymentoffice-skype-business-online-itpro
10 |1000 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.

JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered ·

Hi @FilthyPierre-9294

According to your product ID, your client is Skype for Business 2016.

Before uninstalling Skype for Business, you should stop Skype for Business from starting automatically.

Then you can go to control panel to uninstall it from your computer. Another option is to disable it in your registry. For more details, you can learn it from:

https://technoresult.com/how-to-uninstall-skype-for-business-from-office-2013-2016-o365/



If the response 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.

· 1 ·
10 |1000 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.

I kill the skype task using: taskkill /f /im lync.exe and I see Skype close and the task disappear. It does not restart. It stays off until after the reboot.

I don't see it in Control Panel as I believe it was installed as part of Office 365.

And I cannot uninstall it manually, I need to use SCCM going forward to remove it from 3000 computers. I am just trying to get the tool to work on a test box because I want to create an SCCM package. The article you linked tells how to uninstall it manually from one computer through the GUI. I have been following articles that tell me how to run the Office Deployment Tool with an XML because Microsoft decided to make this ridiculously complicated. Here is one of the articles I am looking at:

https://www.reddit.com/r/SCCM/comments/e8v11x/possible_to_uninstall_skype_for_business_without/faevaxo/

Can anyone tell me what I might be doing wrong with the Office Deployment Tool?

Thanks

0 Votes 0 ·
DonPickard-7259 avatar image
0 Votes"
DonPickard-7259 answered ·

to remove an installed component/app which is part of an M365apps installation, you have to reconfigure the M365apps package, like this:

https://docs.microsoft.com/en-us/deployoffice/overview-office-deployment-tool#exclude-or-remove-microsoft-365-apps-applications-from-client-computers

create a config.xml which contains the ExcludeApp settings you wish, then run ODT like this:

setup /configure config.xml

· 6 ·
10 |1000 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.

That is what I am doing, my post above has the config.xml and command line that I am using and after I run it, Skype is still installed.

I am looking for help troubleshooting this.

This should be a simple task (and it used to be with the MSI installer). Microsoft really dropped the ball here. They wanted to force us to use Office 365 and now they want to force us to use Teams but even they can't figure out how to uninstall Skype. Why did they make this so complicated?

I think that my product ID might be wrong since the office installer seems to be running and just not doing anything. How do I verify what product ID to use on a computer that has Skype installed? Microsoft decided to use EIGHT different product IDs for Skype (why?) I've tried all of the ones except Skype 2019 and none of them worked.

0 Votes 0 ·

nope, your above example shows

<Remove>
<Product ID="SkypeforBusinessRetail">
</Product>
</Remove>

but for your scenario you have to use

<Product ID="O365ProPlusRetail" >
<Language ID="en-us" />
<ExcludeApp ID="Lync" />
</Product>

(this example is not a complete config.xml)

https://docs.microsoft.com/en-us/deployoffice/office-deployment-tool-configuration-options#id-attribute-part-of-excludeapp-element

0 Votes 0 ·

That is what I am doing, my post above has the config.xml and command line that I am using and after I run it, Skype is still installed.

I am looking for help troubleshooting this.

This should be a simple task (and it used to be with the MSI installer). Microsoft really dropped the ball here. They wanted to force us to use Office 365 and now they want to force us to use Teams but even they can't figure out how to uninstall a Skype. Why did they make this so complicated?

I think that my product ID might be wrong since the office installer seems to be running and just not doing anything. How do I verify what product ID to use on a computer that has Skype installed? Microsoft decided to use EIGHT different product IDs for Skype (why?) I've tried all of the ones except Skype 2019 and none of them worked.

0 Votes 0 ·

Hi @FilthyPierre-9294

For each version of product ID, you can refer to the following picture:70481-image.png


0 Votes 0 ·
image.png (36.0 KiB)