Uninstall Slack from all user profiles on Windows endpoints on Windows endpoints with automated compliance checks
This Automox Worklet™ removes Slack from all user profiles on your Windows endpoints. The Worklet iterates through every local user account and uninstalls Slack if it is present.
The Worklet performs comprehensive cleanup beyond the standard uninstaller. It removes Slack application shortcuts from the Start Menu and Desktop, deletes the Slack application folder in user AppData directories, and removes any remaining registry entries from the Windows Uninstall hive.
This ensures that Slack is completely removed from each endpoint with no traces left behind in user profiles or system registry.
Organizations remove Slack for several reasons: migrating to a different communication platform, enforcing software restrictions for security or compliance, reducing license costs, or standardizing on approved tools. Slack persists in user profiles even after manual uninstallation, leaving application data and registry traces that can interfere with new software deployments or reappear on user systems.
Manual uninstallation by individual users is time-consuming and unreliable. By automating removal through Automox, you guarantee consistent cleanup across all endpoints regardless of user compliance or technical skill. This is particularly important in regulated industries where software licensing and asset management require documented control over installed applications.
Evaluation phase: The Worklet identifies all user profiles on the endpoint by reading the Win32_UserProfile class and filters for local user directories under C:\Users. For each user, it checks whether Slack is installed by looking for the Update.exe file in the user's AppData\Local\slack folder.
Remediation phase: The Worklet executes Slack's silent uninstaller (Update.exe --uninstall -s) for each user where Slack is found. It then removes the Start Menu folder (Slack Technologies Inc), desktop shortcuts on both local and OneDrive Desktop locations, and loads the user's registry hive to delete the uninstall entry from HKEY_USERS\[SID]\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\slack. Finally, the Worklet removes the entire Slack application folder from AppData\Local.
Windows 10 or later
Local administrator privileges (required to modify registry and delete user AppData folders)
PowerShell execution enabled on endpoints
No requirement for Slack to be currently running (silent uninstall works even if Slack is active)
After the Worklet runs successfully, Slack will be completely uninstalled from all user profiles on the endpoint. Users will no longer see the Slack icon on their Desktop or in the Start Menu. The application folder is deleted from AppData\Local, and the Windows registry uninstall entry is removed, so Slack will not reappear in Programs and Features.
Verify successful removal by checking that the Slack application folder no longer exists at C:\Users\[username]\AppData\Local\slack on any user profile, and that Slack no longer appears in the Programs and Features list in Windows Settings.
Run this Worklet on a pilot Windows endpoint and review evaluation output for uninstall slack.
Confirm Automox activity logs show successful completion and exit code 0.
Verify endpoint state using checks aligned to evaluation script logic, such as the evaluation and remediation scripts.
Validate remediation effects from script operations such as Get-CimInstance, Where-Object, Test-Path, then rerun evaluation for compliance.


By submitting this form you agree to our Master Services Agreement and Privacy Policy.
Already have an account? Log in
Consider Worklets your easy button
A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

AUTOMOX + WORKLETS™
Uncover new possibilities with simple, powerful automation.
By submitting this form you agree to our Master Services Agreement and Privacy Policy