Uninstall LabTech and ScreenConnect Agents: For those who are having a hard time uninstalling the LabTech Agent from their computer, the first script will remove the LabTech Agent, and the second will remove ScreenConnect aka (ConnectWise Control).
UninstallLabTechAgent.ps1
In the search box on the task bar, type control panel, then select Control Panel. Select Programs Programs and Features, then right-click your Microsoft Office product, and choose Uninstall. Windows 8.1 or 8. Right-click the Start button (lower-left corner), and choose Control Panel. From the 'Add/Remove Programs' area of the Control Panel, remove the entry, 'ScreenConnect Client (xxxxxxxxxxxxxxxx)' where xxxxxxxxxxxxxxxx is the thumbprint which is unique to your ScreenConnect installation. You can also remove the access client manually via the administrator command prompt.
Screenconnect Manual Uninstall
$url='https://s3.amazonaws.com/assets-cp/assets/Agent_Uninstaller.zip' |
$output='C:WindowsTempAgent_Uninstaller.zip' |
(New-Object System.Net.WebClient).DownloadFile($url,$output) |
# The below usage of Expand-Archive is only possible with PowerShell 5.0+ |
# Expand-Archive -LiteralPath C:WindowsTempAgent_Uninstaller.zip -DestinationPath C:WindowsTempLTAgentUninstaller -Force |
# Use .NET instead |
[System.Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') |Out-Null |
# Now we can expand the archive |
[System.IO.Compression.ZipFile]::ExtractToDirectory('C:WindowsTempAgent_Uninstaller.zip','C:WindowsTempLTAgentUninstaller') |
Start-Process-FilePath 'C:WindowsTempLTAgentUninstallerAgent_Uninstall.exe' |
UninstallScreenConnectClient.bat
wmic product where'name like 'ScreenConnect Client%%''call uninstall /nointeractive |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uninstall LabTech and ScreenConnect Agents: For those who are having a hard time uninstalling the LabTech Agent from their computer, the first script will remove the LabTech Agent, and the second will remove ScreenConnect aka (ConnectWise Control).
UninstallLabTechAgent.ps1
$url='https://s3.amazonaws.com/assets-cp/assets/Agent_Uninstaller.zip' |
$output='C:WindowsTempAgent_Uninstaller.zip' |
(New-Object System.Net.WebClient).DownloadFile($url,$output) |
# The below usage of Expand-Archive is only possible with PowerShell 5.0+ |
# Expand-Archive -LiteralPath C:WindowsTempAgent_Uninstaller.zip -DestinationPath C:WindowsTempLTAgentUninstaller -Force |
# Use .NET instead |
[System.Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') |Out-Null |
# Now we can expand the archive |
[System.IO.Compression.ZipFile]::ExtractToDirectory('C:WindowsTempAgent_Uninstaller.zip','C:WindowsTempLTAgentUninstaller') |
Start-Process-FilePath 'C:WindowsTempLTAgentUninstallerAgent_Uninstall.exe' |
Manually Uninstall Screenconnect Client
UninstallScreenConnectClient.bat
wmic product where'name like 'ScreenConnect Client%%''call uninstall /nointeractive |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment