Connectwise Control used to be called ScreenConnect which probably means when they switched to the new branding the old program was never removed. Just stop/disable/uninstall the service (s) and you should be good. Uninstall from the Control Panel (for programs) In the search box on the taskbar, type Control Panel and select it from the results. Select Programs Programs and Features. Press and hold (or right-click) on the program you want to remove and select Uninstall or Uninstall / Change. Then follow the directions on the screen.
The remote sharing server mentioned on the home page refers to ScreenConnect (SC) or what is now known as Connectwise Control. Here are some useful commands used in the command window.
- Any User or Group Authenticator can run the uninstaller in Windows if the policy Full Disk Encryption Agent Allow User to Uninstall = Yes. From Windows, go to C: Program Files Trend Micro Full Disk Encryption and run TMFDEUninstall.exe. Note: If prompted by User Account Control, click Yes.
- Plugins can be disabled and removed from ConnectWise Automate using the Plugin Manager. ConnectWise recommends running as few plugins as necessary.
NOTE: You will notice a couple of lines added to the scripts below that are specific commands for ScreenConnect. If you remove these two lines you can run these commands on any Windows machine. Here is an explanation of those lines:
- #!ps - This command tells SC the following commands are PowerShell commands. You are simply sending commands to the command prompt you can use #!cmd instead. I'm lazy and use #!ps for most of the commands.
- #maxlength=100000 - This command defines the number of lines to be returned. You can modify this based on what you are expecting, again I simply use the same for all my commands.
- #timeout=90000 - An important command that provides a timeout and is very useful for when you make a mistake! ;) Set this too low and your command may not complete..especially during installations.
Download a file using BITS
Here I am downloading an mst file matching the below msi file for installation.
How To Remove Connectwise Control
Another example of BITS download
What I'm actually doing here is copying the msi file matching the mst file above and then I will install the application.
msiexec from cli to install the application
Downloading another file using BITS in Windows
This script contains commands for Windows 10 Debloate
Yet another BITS download for unzip.exe hosted on my site
Combining and executing
Here I combine the commands to execute
Uninstall NinjaRMM
I was using NinjaRMM, but needed to uninstall. I achieved that with the following commands.
First check to see if it is installed
Connectwise Control Manual Uninstall Tool
wmic product where 'Name like '%%Ninja%%' get name
Perform the un-installation/removal
Rename computer from CLI
WMIC computersystem where caption='DESKTOP-95PQTKT' rename NEWNAME
Change from default WORKGROUP to a new one via CLI
WMIC ComputerSystem Where Name='%NEWNAME%' Call JoinDomainOrWorkgroup Name='WORKGROUP-NEW'
Example of how to download a Windows update file using BITS inside of PS and then execute
Another example to install Windows update from CLI
dism /online /get-packages | findstr KB4074608
Check to see if Windows update has been installed on a system
SYSTEMINFO.exe | findstr KB4074608
Download PatchMyPC
Modify Registry Entry via PS
This entry is not display last user logged on:
Installing WebRoot AV from CLI and assigning license
Uninstall WebRoot AV from CLI
'C:Program FilesWebrootWRSA.exe' -uninstall
'C:Program Files (x86)WebrootWRSA.exe' -uninstall
Installing WebRoot AV from CLI and assigning license
Uninstall WebRoot AV from CLI
'C:Program FilesWebrootWRSA.exe' -uninstall
'C:Program Files (x86)WebrootWRSA.exe' -uninstall
Windows Defender on Win 10
Turn off
Run the following command in PowerShell:
Set-MpPreference -DisableRealtimeMonitoring $true
Enable Controlled Folder Access
Set-MpPreference -EnableControlledFolderAccess Enabled
CAUTION: Take ownership and delete
Running Windows Updates from PowerShell CLI
The first thing you will need to do is to manually Install the Windows Update module,
Next, you will need to connect to the Windows Update servers and download the updates, if any are needed
Last, use the following to install the Windows Updates downloaded to the computer
If needed, you may need to register the update service with the following: Mac app store apk.