Jump to content

Search the Community

Showing results for tags 'offboarding'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • MSPGeek
    • Announcements
    • The Geek Cast
    • Code of Conduct
  • ConnectWise Automate / Labtech
    • ConnectWise Automate / LabTech
    • ConnectWise Automate / LabTech - Development


  • ConnectWise Automate
    • Scripts
    • Plugins
    • SQL Snippets
    • Role Definitions
    • Automate PowerShell Code
    • Reports
    • Internal Monitors
    • Remote Monitors
  • ConnectWise Manage
    • API Interacting Code

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me


Agent Count













Found 2 results

  1. I know there's built-in scripts to do both of these on their own, but I'm trying to figure out how to do both in one script. Offboarding includes removing ScreenConnect, setting windows update values to default, and removing agent. Any tips? Thanks.
  2. I present: A CWAutomate Executioner. This script is designed to install itself as a startup task that runs as system. After each startup, it will run a knife right through any CWA Agents that it finds, delete the LTSvc folder, and clear out registry keys. To help make sure this agent is not installed again, it re-creates the LabTech\Service registry key with read only permissions. It also creates the LTSvc directory, but denies everyone read and execute status. These steps should prevent any attempts (ever) to reinstall a LabTech agent on the system. You can save and run the .bat file or just paste the content into an Execute Script block, it will install from any temporary location automatically. After it has installed, you can run it without waiting for a restart with: schtasks.exe /run /i /tn "CWAutoMaintenance" The script has a few other tricks: If you set LOGGINGPATH on line 3 to a file path the actions will be recorded. If you set it to CON, it will just output everything as it runs. You can pass as a parameter any of the labels, and it will jump to that label. Some options: UNINSTALL - Will just perform the uninstall, without installing the scheduled task. Does not exit until the process has completed. DELAYUNINSTALL - Will launch a background call to the script to start in 2 minutes, and immediately exits. This is safe to even run from CWAutomate since it will not begin the uninstall for 2 minutes after the command finishes. NEVERMIND - Removes the scheduled task. This is just a re-post under a new topic of my original comment under this thread: https://www.labtechgeek.com/topic/3702-block-former-clients-agents-from-eating-up-licenses/?do=findComment&comment=22906 CWAutomateDestruction.zip Keywords: destroy destruction offboarding removal remove agent ban banned blacklist blacklisting permanent prevent execute
  • Create New...