logo

The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MikePruett  
#1 Posted : Tuesday, March 22, 2016 8:10:28 PM(UTC)
MikePruett


Rank: Newbie

Joined: 3/22/2016(UTC)
Posts: 1
United States

So, while tweaking our Screen Connect / Labtech server we managed to have multiple deployments of the agent take place (we were migrating over to a new server).

I scripted in labtech the removal of the old agents. the screen connect appears to be different per machine and per agent though. (some machines have multiple installs (up to four!) and each one has a different key at the end ScreenConnect Client (0sdf09sdufsdf90sfd0) and the next one may be ScreenConnect Client (6asdg7as6dg76g).


Do you guys know of a way to uninstall in mass ALL screen connect clients so I can repush and have them just be placed once?

I would like to do this via either screen connect or labtech. I can't use AD as I it is spread across multiple clients so it isn't a single environment.

Thanks so much!
Mike Pruett

Scott  
#2 Posted : Wednesday, March 23, 2016 1:34:18 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,862
United States

Thanks: 3 times
Was thanked: 351 time(s) in 303 post(s)
I'm not completely familiar with LabTech, but don't you have a way to script actions? If you can do that using powershell, then something like this might work:

Code:

(Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "ScreenConnect Client*" }).Uninstall()


ScreenConnect Team
Hikato  
#3 Posted : Thursday, March 24, 2016 2:37:49 PM(UTC)
Hikato


Rank: Member

Joined: 5/19/2015(UTC)
Posts: 17
Man
United States

Here's a Labtech script I wrote (with a modification from starbucksgold) that will remove all versions of ScreenConnect. It will remove the active install, but Labtech will automatically reinstall it.

Paste the XML below into a .xml file and import it in Labtech (Tools -> Import -> LT XML Expansion), then run the "Remove ScreenConnect" script on your "All Agents" group.

Code:
<LabTech_Expansion
	Version="100.332"
	Name="LabTech Script Expansion"
	Type="PackedScript">
	<PackedScript>
		<NewDataSet>
			<Table>
				<ScriptId>10239</ScriptId>
				<FolderId>209</FolderId>
				<ScriptName>Remove ScreenConnect</ScriptName>
				<ScriptNotes>Hikato @ LabtechGeek
5/4/2015

Modified by: Jeffrey Brock
Chief Technology Officer
NETWORKS of FLORIDA
111 North Baylen Street
Pensacola, Florida 32502
Office: (850) 434-8600 ext. 2011

</ScriptNotes>
				<Permission>0,</Permission>
				<EditPermission>0,</EditPermission>
				<ComputerScript>1</ComputerScript>
				<LocationScript>0</LocationScript>
				<MaintenanceScript>0</MaintenanceScript>
				<FunctionScript>0</FunctionScript>
				<LicenseData>H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ih4/L6b5ssmfZm129PjN9So/2n18l38+frVenlTrZZvXRzuP73p/PT59typqvJMfvZmv62aWXY/Sp/k0X0zyOt3dHaV7O7v76cNHOzuP9nfSl188vuu98vj1tC5W7U/mdVNUS8AOP9DvP18Xs6P9vcn9h/f2H2xPH2b59u5uvr/9cGd/Z3tnZ/f+/dnO3sPdHfs+v/D4rj+i3zj5fwCZg3Rm4QAAAA==</LicenseData>
				<ScriptData>H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcplVmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/Ih6/ntbFqn2atdnRb5ykqf7d8B/05+m7ts7w7bMiL2dNetd88TKrs0Xe5rX32edlNclK7wMB9pPUqKiWR7uP74YfBK0+Xxezo/29yf2H9/YfbE8fZvn27m6+v/1wZ39ne2dn9/792c7ew92dHQOFX2Cc9YPGH8HrNl/ZURxPW0VAf9PPn62X/PfZ7OjTvcd3vT/9Ue4e/e4EM8+XJ9VymU/b3/3xXf3cb7V3tKOf7wWf3+vQbL/z932PXFXdAgr/1M+oz7ZYrnN8bn/X775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c6CEAAA==</ScriptData>
				<ScriptVersion>1</ScriptVersion>
				<ScriptGuid>42b59347-c9ae-11e4-9040-00155d029100</ScriptGuid>
				<ScriptFlags>0</ScriptFlags>
				<Parameters></Parameters>
			</Table>
		</NewDataSet>
		<ScriptFolder />
	</PackedScript>
</LabTech_Expansion>
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.