Forum Discussion

rmsub509's avatar
rmsub509
Copper Contributor
Sep 22, 2021

How to uninstall Skype from several end-user workstations - They are running Office 2016 version

Greetings Everybody,

 

As we are moving to MS Teams for all end-users, what is the best way to uninstall Skype from several end-user workstations? The workstations are all running Office 2016 version.

 

We think this can be done via PowerShell, or a batch file (via GPO), but after reading several entries online about others' attempts, it seems that many Admins have been unsuccessful in accomplishing this.

 

We welcome your input - Thanks a million!

 

Sincerely,

RM and IH

1 Reply

  • rmsub509's avatar
    rmsub509
    Copper Contributor
    Never mind: PDQ helped me find the answer!

    The following command definitely works, to uninstall Skype for Business 2016 - I placed this into a new batch file to test it, and it did the trick smoothly:

    "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\Office Setup Controller\setup.exe" /uninstall LYNC /dll OSETUP.DLL

    This PowerShell command also works well to uninstall Skype (plain) only:
    Get-AppxPackage *Microsoft.SkypeApp* | Remove-AppxPackage

    I also learned that through GPO, there exists a template called:
    "Prevent Users From Running Microsoft Lync"

    I hope this helps someone else looking for this answer in the future!

    Genuinely,
    RM and IH

Resources