Removing Skype for Business using the Office tool

His Boy Elroy 26 Reputation points

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:

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

<Product ID="SkypeforBusinessRetail">

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?

Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
610 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,040 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Talven Taurog 21 Reputation points

    Found a much simpler answer... to start ignore Microsoft's recommendations on how to do this if using the MUI version. None of it works, and their inability to provide a basic uninstall string is actually quite pathetic.

    From the installation media path run...

    msiexec /x .\lync.en-us\lyncmui.msi
    msiexec /x .\lync.ja-jp\lyncmui.msi

    Repeat for each language... then it leaves a little bit of trash behind in the start menu...

    del "%programdata%\Microsoft\Windows\Start Menu\Programs\Skype for Business 2016.lnk"

    This can even be done with office/outlook running, next reboot it's gone.

    Seriously MS, why try to make this so complicated? It's getting WORSE with 365. I give most of your teams credit for having to put up with a lot and make complicated software, but your Office team isn't even trying to communicate with any other team and do things in a sane and consistent fashion with the rest of Microsoft.

    4 people found this answer helpful.
    0 comments No comments

  2. JimmyYang-MSFT 49,716 Reputation points Microsoft Vendor

    Hi @His Boy Elroy

    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:

    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.

  3. DonPick 1,261 Reputation points

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

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

    setup /configure config.xml

  4. Ray Melvin 1 Reputation point

    You cannot simply "uninstall skype for business", but what you can do is re-configure Office 365. During that reconfiguring, Skype can be removed.

    This is how I achieved this
    I added the following lines to my existing config.xml

    <ExcludeApp ID="lync" />

    <Product ID="Lync">

    here is the full config.xml with these lines added. adding <Display Level="None" AcceptEULA="TRUE" /> will result in a completely quiet installation.

    <Configuration ID="????" Host="cm">
    <Display Level="None" AcceptEULA="TRUE" />
    <Add OfficeClientEdition="32" Channel="SemiAnnual" OfficeMgmtCOM="TRUE" Version="16.0.12527.21104">
    <Product ID="O365ProPlusRetail">
    <Language ID="en-us" />
    <ExcludeApp ID="Groove" />
    <ExcludeApp ID="OneDrive" />
    <ExcludeApp ID="Teams" />
    <ExcludeApp ID="Bing" />
    <ExcludeApp ID="lync" />
    <Property Name="SharedComputerLicensing" Value="0" />
    <Property Name="PinIconsToTaskbar" Value="FALSE" />
    <Property Name="SCLCacheOverride" Value="0" />
    <Property Name="AUTOACTIVATE" Value="0" />
    <Property Name="FORCEAPPSHUTDOWN" Value="FALSE" />
    <Property Name="DeviceBasedLicensing" Value="0" />
    <Logging Level="Off" />
    <Product ID="Lync">


    0 comments No comments