Slient Unninstall of Lync 2010 on client machines script required

I have delpoyed Lync 2010 using a client side script (via GPO and a security group) that creates a silent install when an enabled computer object is logged into. Unfortunately some computers were added to this security group so they now have lync 2010 installed. 

I need if possible to create a slient client uninstall of lync 2010, to remove lync of these computers, this is the script below that i use to install the software, is it possible to tweak this to unistall the software or will i need a completley different script to uninstall the software

REM Check for presence of key

REG query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\communicator.exe" || goto INSTALL

EXIT

:INSTALL

Set ARCHITECTURE=x86

If Exist "%SystemDrive%\Program Files (x86)" Set ARCHITECTURE=x64

"\\Domain Name\netlogon\Lync\%ARCHITECTURE%\LyncSetupEval.exe" /silent /install

May 23rd, 2012 5:09pm

Hi Burtos

The /uninstall switch will take care of the uninstallation:

http://ucpedia.wordpress.com/2011/01/03/lync-2010-client-installations/

Regards

JP

Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 7:46pm

Hi,

The Command-Line Argument /Uninstall is to remove previous versions of Office Communicator and add-ins. The OCS client could be removed by installing Lync client. Thus, the Lync client can be remove by this argument.

Regards,

Kent

May 24th, 2012 11:29am

So the install script that i have used to slient install lync would i only need to change

"\\Domain Name\netlogon\Lync\%ARCHITECTURE%\LyncSetupEval.exe" /silent /install

to

"\\Domain Name\netlogon\Lync\%ARCHITECTURE%\LyncSetupEval.exe" /silent /uninstall

Would that work !!!!

Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 12:31pm

It is not what is documented but it works just fine.

/uninstall switch will in fact remove the Lync client.

May 24th, 2012 2:30pm

That will work perfectly.

I just tried it, and it works great.

Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 2:31pm

I haven't been able to get the /uninstall switch to work properly, could this be removed functionality from Office 365's Lync Client?  /? shows me that /uninstall should be recognized.
June 16th, 2012 1:12am

I'm going for a command that works... I'm having a frustrating time on a successful package to deploy out to 1500 users to successfully uninstall MS Lync 2010.

 

My install is Lyncsetup.exe  but, I need an UNINSTALL...

 

the commands I've used are

LyncSetup.exe /uninstall  - problem that I have with this is installs and but never uninstalls the program.  Meaning it goes into the CCM - Cache but never uninstalls Lync2010.

 

msiexec.exe /q ALLUSERS="" /m MSIDYGCO /x "Microsoft Lync 2010.msi"

msiexe.exe/x "Miscosoft Lync2010.msi /norestart/qn

Both of these I get just errors...never even lands on the users PC...

 

I read about regedit hacks and but nothing, nothing straight forward with a simple "command line"

 

If anyone can help me... I greatly appreciate it!  I have SCCM 2007 r3.

 

Thanks!!!!

Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2013 12:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics