AB TUTOR V10 CLEANUP UTILITY
A command-line utility for removing AB Tutor v10 Client from Windows systems. This tool performs a comprehensive cleanup of all AB Tutor v10 Client components including services, scheduled tasks, files, and registry entries.
COMMAND LINE OPTIONS
--logpath <path> Optional. Specifies a file path where detailed logs will be written.
--nowait Optional. Skips the exit delay and closes immediately.
DEPLOYMENT OPTIONS
Option 1: Intune Deployment
-------------------------
Packaging:
Use the Microsoft Win32 Content Prep Tool to create the .intunewin package:
IntuneWinAppUtil.exe -c <source_folder> -s "AB Tutor v10 Cleanup Utility.exe" -o <output_folder>
Configuration:
1. Install Command:
"AB Tutor v10 Cleanup Utility.exe" --logpath "C:\ProgramData\ABTutor\cleanup.log" --nowait
2. Detection Rules:
* Use return code method
* Success codes: 0 (complete success) or 3 (partial success)
Option 2: PsExec Deployment
-------------------------
Requirements:
* Domain admin or local admin credentials on target machines
* Network connectivity to target machines
* File share accessible by target machines
* Windows SMB ports open (TCP 445)
* Target machines must allow remote administration
Steps:
1. Download PsExec from Microsoft's Sysinternals:
* Download and extract PsExec.exe to your machine
* Or install via winget: winget install --id Microsoft.Sysinternals
2. Create a text file 'computers.txt' with one hostname per line:
Example:
PC001
PC002
PC003
3. Copy the utility to a network share accessible by target machines, e.g., \\server\share\cleanup\
4. Run the following PowerShell script:
$computers = Get-Content "computers.txt"
$count = 0
$success = 0
function Get-ResultMessage {
param($exitCode)
switch ($exitCode) {
0 { return "Success - Complete cleanup" }
1 { return "Error - General failure" }
2 { return "Error - Insufficient privileges" }
3 { return "Warning - Partial cleanup" }
default { return "Error - Unknown (Code: $exitCode)" }
}
}
foreach ($computer in $computers) {
$count++
Write-Host "Processing $computer..." -NoNewline
$logPath = "\\server\share\cleanup\logs\$computer.log"
# If not running as domain admin, you'll need to provide credentials to PsExec
# Add these parameters to the psexec command:
# -u "DOMAIN\username" -p "password" # For domain account
# -u "username" -p "password" # For local admin account
# Example:
# psexec \\$computer -u "CONTOSO\admin" -p "password" -s "\\server\share\cleanup\AB Tutor v10 Cleanup Utility.exe"
psexec \\$computer -s "\\server\share\cleanup\AB Tutor v10 Cleanup Utility.exe" --logpath $logPath --nowait
$result = Get-ResultMessage $LASTEXITCODE
Write-Host " $result"
if ($LASTEXITCODE -eq 0) { $success++ }
}
Write-Host "`nFinished processing $count computers. Complete success: $success"
MONITORING
Return Codes:
0: Complete success
1: General error
2: Insufficient privileges
3: Partial success (some operations skipped/failed)
Event Log:
The utility writes errors and final status to the Windows Event Log under source "AB Tutor v10 Cleanup".