SCCM uninstall Lync client - requires custom xml file

Posted on 2012-08-27
Last Modified: 2012-10-02
Does anyone know how to get an sccm package to deploy to a client so that it will uninstall the MS Lync client?  The trick is that this requires a custom xml file from what I have found and my problem is that for users not on the network either lan or over vpn than the client won't uninstall as it requires the xml file and the client can't reach the file share I have the xml file on remotely, so I tried to get it to copy locally, but that is failing.
Question by:infotech411
    LVL 23

    Expert Comment

    by:Nagendra Pratap Singh
    How was it installed originally? Using a fileshare?
    LVL 2

    Expert Comment

    by:Vinod Pawar
    Use any of following methods to
    use same sccm package used for installation and in command line type:

     lyncsetup.exe /Uninstall

    you can use following batch file in GPO startup script

    MsiExec.exe /qb /X{81BE0B17-563B-45D4-B198-5721E6C665CD}

     or use vbs file with following

    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
        & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colSoftware = objWMIService.ExecQuery _
        ("Select * from Win32_Product Where Name = 'Microsoft Lync 2010'")
    For Each objSoftware in colSoftware

    Accepted Solution

    These fail to remove the client, thanks though.

    Author Closing Comment

    No good solution

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
    The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now