Skip to main content

Automated Offboarding

Summary​

The script should be used against an offboarding group, location, monitor Autofix, or run manually. Review and set global values per client standards and products.

It will check if the agent is online or offline; if online, it will attempt the removal of products as set in Globals. If offline, it will just retire the agent.

Sample Run​

Sample Run

Global Parameters​

NameExampleRequiredDescription
AV_Software_SearchESET%FalseIf filled out, will attempt to remove software. Also requires script line 18 to be set to the correct removal script.
ticketcreationcategory123FalseIf filled out, will enable ticketing for AV and CW Control removal failures.
ThirdWallRemoval0True1 - Will attempt Third Wall removal, 0 - Will NOT attempt removal.
SCRemoval1True1 - Will attempt CW Control removal, 0 - Will NOT attempt removal.
LTAgentRemoval1True1 - Will attempt LT Agent uninstall, 0 - Will NOT attempt removal.
ContinueOnFailure0TrueCannot be used with ticketing; if set to 1, will force through AV and SC removal failures to continue offboarding.

User Parameters​

NameExampleRequiredDescription
OffboardingCommentSystem Replaced - OffboardingFalseComment can be specified to be added to the agent retired comments.

Process​

The script will check if the agent is online or offline; if online, it will attempt the removal of products as set in Globals. If offline, it will just retire the agent.

Windows Updates will be reset back to normal. The script will attempt to remove AV software if specified. It will remove CW Control (ScreenConnect) if specified. Thirdwall will be removed if specified.

Ticketing is optional.

Output​

  • Script Log
  • Ticketing on failure if enabled.

Attachments​

Automated_Offboarding_Generic.xml

Changelog​

2025-04-10​

  • Initial version of the document