logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Ben B  
#1 Posted : Friday, August 18, 2017 3:45:58 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 283

Thanks: 1 times
Was thanked: 58 time(s) in 54 post(s)
The attached controlclientcleanup.sh script automates the process of manually removing Control access clients from OS X machines:

controlclientcleanup.sh (4kb) downloaded 97 time(s).

Download the script and use it on OS X guest machines in the following way (note you will need to chmod the script to make it executable, as shown below):

Code:

VOSX-SIERRA:Desktop Administrator$ chmod 777 controlclientcleanup.sh 
VOSX-SIERRA:Desktop Administrator$ sudo ./controlclientcleanup.sh 
Searching for installed Control clients...
Found client(s) with the following public thumbprint(s):

0a37b437cb29234e
bc21d044d53f4060
c31f161ff213f5b8

Confirm removal of all Control clients? y
Beginning cleanup...
Unloading client launch agents (0a37b437cb29234e)...
Unloading client launch agent for user Administrator
Unloading client launch daemon (0a37b437cb29234e)...
Deleting client launch agents (0a37b437cb29234e)...
Deleting client launch daemon (0a37b437cb29234e)...
Deleting client installation directory (0a37b437cb29234e)...
Unloading client launch agents (bc21d044d53f4060)...
Unloading client launch agent for user Administrator
Unloading client launch daemon (bc21d044d53f4060)...
Deleting client launch agents (bc21d044d53f4060)...
Deleting client launch daemon (bc21d044d53f4060)...
Deleting client installation directory (bc21d044d53f4060)...
Unloading client launch agents (c31f161ff213f5b8)...
Unloading client launch agent for user Administrator
Unloading client launch daemon (c31f161ff213f5b8)...
Deleting client launch agents (c31f161ff213f5b8)...
Deleting client launch daemon (c31f161ff213f5b8)...
Deleting client installation directory (c31f161ff213f5b8)...
Cleanup complete!


The script accepts an optional public thumbprint argument (e.g. 0a37b437cb29234e) in cases where multiple clients are installed on the OS X guest and you wish to remove a single client:

Code:

VOSX-SIERRA:Desktop Administrator$ sudo ./controlclientcleanup.sh 0a37b437cb29234e
Confirm removal of Control client for server with public thumbprint 0a37b437cb29234e? y
Beginning cleanup...
Unloading client launch agents...
Unloading client launch daemon...
Deleting client launch agents...
Deleting client launch daemon...
Deleting client installation directory...
Cleanup complete!


The script does the following:

  1. Unloads the client onlogin launch agent
  2. Unloads the client launch daemon
  3. Deletes the client onlogin and prelogin agents
  4. Deletes the client launch daemon
  5. Deletes the client installation directory
ScreenConnect Team
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.