Quick Answer: Uninstall Zoom using Intune and SCCM by packaging Zoom’s official CleanZoom.exe utility with the /silent switch and a custom PowerShell detection script that checks both user-profile (C:\Users\<User>\AppData\Roaming\Zoom\bin) and machine-wide (C:\Program Files\Zoom\bin) paths. Running CleanZoom.exe /silent under the SYSTEM context removes every user-level .exe installation and machine-wide .msi installation in a single pass.
Standard Zoom removal commands often fail in enterprise Windows environments because Zoom installs in two completely different ways. End users who download Zoom directly from the web receive a per-user .exe installer stored inside C:\Users\<Username>\AppData\Roaming\Zoom\bin. IT teams that deploy Zoom centrally use the machine-wide MSI installed under C:\Program Files\Zoom\bin.
When you push a standard msiexec /x {ProductCode} /qn uninstall command from Microsoft Intune or SCCM under the SYSTEM account, it misses every user-profile installation and breaks whenever Zoom updates its MSI product GUID. Zoom’s official CleanZoom.exe cleanup utility solves both problems at once, and pairing it with one PowerShell detection script lets you deploy the exact same solution across both Microsoft Intune and SCCM (ConfigMgr).
Why Standard Zoom Uninstall Commands Fail in Intune and SCCM
Before packaging the removal utility, review why standard MSI product-code uninstalls leave orphaned Zoom clients across Windows 10 and Windows 11 endpoints:
| Installation Type | Default Install Path | Standard msiexec /x Result | CleanZoom.exe /silent Result |
|---|---|---|---|
User-level .exe install | C:\Users\<User>\AppData\Roaming\Zoom\bin | Fails (no machine MSI product code and invisible to SYSTEM uninstallers) | Removes binary, user AppData folders, shortcuts, and registry keys |
Machine-wide 64-bit .msi install | C:\Program Files\Zoom\bin | Fails if the MSI GUID changed after an automatic client update | Removes MSI installation, Program Files directory, and machine registry keys |
| Mixed user and machine installs | Both AppData\Roaming and Program Files | Leaves orphaned user-profile Zoom clients behind on shared workstations | Scrubs all user profiles and machine-wide installations in one execution |
Prerequisites and CleanZoom.exe Command-Line Switches
Verify the following prerequisites before creating your Win32 app in Intune or Script Installer application in SCCM:
- Download the official CleanZoom utility archive directly from Zoom at https://assets.zoom.us/docs/msi-templates/CleanZoom.zip.
- If you want to skip manual packaging, download the pre-built
CleanZoom.intunewinpackage andZoomUninstallDetection.ps1script directly from our public GitHub repository at skatufa-tech/PowerShell/ZoomUninstall. - Download the Microsoft Win32 Content Prep Tool (
IntuneWinAppUtil.exe) if you are packagingCleanZoom.exeyourself for Microsoft Intune. - Confirm you hold Intune Application Administrator permissions (for Intune) or Application Author permissions (for SCCM) and have a pilot device group ready for validation.
Important: CleanZoom.exe performs a complete purge of Zoom desktop clients, local settings, cached credentials, and locally stored cryptographic keys. If your organization uses End-to-End Encryption (E2EE) for Zoom Mail or Zoom Phone Voicemail, confirm key backup or account escrow is enabled before deploying CleanZoom. Active Zoom meetings on a target machine will also terminate immediately during silent execution.
Supported CleanZoom.exe Switches
| Command-Line Switch | Execution Behavior |
|---|---|
CleanZoom.exe /silent | Runs silently with no user prompts and removes all Zoom desktop clients and plugins |
/keep_outlook_plugin | Removes Zoom Workplace while preserving the Zoom Plugin for Microsoft Outlook |
/keep_lync_plugin | Preserves the Skype for Business / Lync plugin during cleanup |
/keep_notes_plugin | Preserves the HCL Notes plugin during cleanup |
/vdi_clean | Removes Zoom VDI client packages from virtual desktop endpoints |
Step 1: Download CleanZoom.exe and Package It into an Intunewin File
Download CleanZoom.zip from Zoom’s official asset URL and extract CleanZoom.exe into a clean local staging folder such as C:\Users\it_support\Downloads\CleanZoom.

Open Command Prompt, run IntuneWinAppUtil.exe, and supply the following values to generate CleanZoom.intunewin:
- Source folder:
C:\Users\it_support\Downloads\CleanZoom - Setup file:
CleanZoom.exe - Output folder:
C:\Users\it_support\Downloads\CleanZoom - Do you want to specify catalog folder (Y/N):
N

Alternatively, you can download the ready-to-upload CleanZoom.intunewin file from GitHub. If you are deploying exclusively through SCCM (ConfigMgr), skip the .intunewin step and copy CleanZoom.exe directly to your SCCM software source share.
Step 2: PowerShell Detection Script for User-Level and Machine-Wide Zoom
Because this Win32 app (and SCCM Application) executes CleanZoom.exe /silent as its Install command, the custom PowerShell detection script uses inverted compliance logic:
- If Zoom is still present in any user profile (
C:\Users\<User>\AppData\Roaming\Zoom\bin) or inC:\Program Files\Zoom\bin, the script exits with code1. Both Intune and SCCM interpretExit 1as “not yet cleaned” and executeCleanZoom.exe /silent. - Once Zoom is absent across every user profile and
C:\Program Files\Zoom\bin, the script outputsNot Detected Zoom on any User's PCtoSTDOUTand returnsExit 0. Intune and SCCM then report the endpoint as Installed (clean and compliant).
Save the script below as ZoomUninstallDetection.ps1 or download it directly from GitHub (ZoomUninstallDetection.ps1):
POWERSHELL • ZoomUninstallDetection.ps1
# Get a list of user profiles under C:\Users\ (excluding 'Public')
$Users = Get-ChildItem "C:\Users\" | Where-Object { $_.Name -ne 'Public' } | Select-Object -ExpandProperty Name
# Iterate through each user's profile
foreach ($User in $Users) {
try {
Write-Output "Searching User $User"
# Construct the user's profile path
$ProfilePath = "$env:SystemDrive\Users\$User\AppData\Roaming"
# Check if Zoom is installed in the user's profile
$ZoomInstalled = Test-Path -Path (Join-Path $ProfilePath 'Zoom\bin')
# Check if Zoom is installed in the Program Files directory
$ZoomInstalled2 = Test-Path -Path "C:\Program Files\Zoom\bin"
if ($ZoomInstalled -or $ZoomInstalled2) {
# If Zoom is detected, exit with code 1 so CleanZoom runs
Write-Output "Detected Zoom on $User's PC"
Exit 1
}
} catch {
# Handle any exceptions and log the error
Write-Output "Error checking $User's profile: $_"
Exit 1
}
}
if (!($ZoomInstalled -or $ZoomInstalled2)) {
# If Zoom is not detected, print a message and exit with code 0 (success)
Write-Output "Not Detected Zoom on any User's PC"
Exit 0
}
# If no detection occurred, exit with code 1 (failure)
Exit 1Legacy 32-Bit Zoom Tip: If older endpoints in your environment still have 32-bit machine-wide Zoom installed under C:\Program Files (x86)\Zoom\bin, add $ZoomInstalled3 = Test-Path -Path "C:\Program Files (x86)\Zoom\bin" inside the loop and append -or $ZoomInstalled3 to both if checks.
Step 3: Create and Deploy the CleanZoom Win32 App in Microsoft Intune
Follow these exact steps in the Microsoft Intune admin center to configure the Win32 cleanup app:
- Sign in to the Microsoft Intune admin center at
https://intune.microsoft.com/and go to Apps > Windows > Windows apps. Click + Create, choose Windows app (Win32) as the App type, and click Select.

- Click Select app package file, browse to
CleanZoom.intunewin(326.33 KiB), and click OK.

- On the App information tab, enter
Zoom uninstallas the Name, set Publisher toZoom, optionally upload the Zoom icon for Company Portal clarity, and click Next. - On the Program tab, enter these execution settings:
- Install command:
CleanZoom.exe /silent - Uninstall command:
NA - Install behavior:
System - Device restart behavior:
App install may force a device restart(orNo specific actionif you want to prevent unexpected restarts during business hours)
- Install command:

- On the Requirements tab, set Check operating system architecture to No. Allow this app to be installed on all systems. and set Minimum operating system to
Windows 10 1607. Click Next.

- On the Detection rules tab, select Use a custom detection script, upload
ZoomUninstallDetection.ps1, leave Run script as 32-bit process on 64-bit clients set to No, and leave Enforce script signature check and run script silently set to No.

- Skip Dependencies and Supersedence (unless you are chaining CleanZoom as a pre-install dependency ahead of a fresh enterprise Zoom MSI package).
- On the Assignments tab, assign a pilot group under Available for enrolled devices first so you can test the removal interactively in Company Portal. Once validated, move your target production device group under Required for automated background removal.

- Click Next, review all configuration values, and click Create.
Step 4: Reuse the Exact Same Package and Detection Script in SCCM (ConfigMgr)
Because SCCM Applications evaluate custom PowerShell detection scripts using the same STDOUT + Exit 0 rule as Intune, you can deploy CleanZoom.exe and ZoomUninstallDetection.ps1 in Configuration Manager without modifying a single line of code. If your organization runs co-management or is evaluating a transition (see our SCCM vs Intune architecture comparison), this keeps application packaging identical across both platforms.
- Open the Configuration Manager console and go to Software Library > Application Management > Applications > Create Application.
- Select Manually specify the application information and name the application
Zoom Uninstall (CleanZoom). - Under Deployment Types, click Add and choose Script Installer.
- Set Content location to your UNC software share containing
CleanZoom.exeand set Installation program toCleanZoom.exe /silent. - On the Detection Method step, choose Use a custom script to detect the presence of this deployment type, select PowerShell, and paste the exact
ZoomUninstallDetection.ps1script from Step 2. - On the User Experience tab, set Installation behavior to Install for system, Logon requirement to Whether or not a user is logged on, and Installation program visibility to Hidden.
- Distribute the content to your Distribution Points, then deploy the application to a pilot device collection as Available (for Software Center testing) before creating a Required deployment for enterprise removal.
Step 5: Before and After End-User Experience and Verification
Before Running CleanZoom
Before triggering the Intune Win32 package, verify the baseline state on a test workstation. Both Control Panel (Programs and Features) and Windows Search show Zoom Workplace (64-bit) installed on the device.

Because ZoomUninstallDetection.ps1 detects the existing Zoom folder and returns Exit 1, Company Portal displays Zoom uninstall with an active Install button ready for execution.

During Execution
Click Install in Company Portal (or allow the Intune Management Extension to run automatically when assigned as Required). Company Portal transitions to Download pending... while Intune downloads CleanZoom.intunewin and runs CleanZoom.exe /silent under the SYSTEM account.

After Running CleanZoom
Once CleanZoom.exe /silent finishes removing both user-profile and machine-wide Zoom installations, the Intune Management Extension re-runs ZoomUninstallDetection.ps1. Because no Zoom directories remain, the script outputs Not Detected Zoom on any User's PC and returns Exit 0, updating Company Portal to Installed.

Opening Control Panel (Programs and Features) and searching for zoom confirms complete removal with No items match your search.

To verify complete removal locally across every user profile and Program Files directory using PowerShell, run:
POWERSHELL • Verify-ZoomRemoved.ps1
# Confirm no Zoom binaries remain in Program Files or any user profile
Get-ChildItem -Path "C:\Users\*\AppData\Roaming\Zoom\bin", "C:\Program Files\Zoom\bin", "C:\Program Files (x86)\Zoom\bin" -ErrorAction SilentlyContinueWhen the command returns no output, every user-level and machine-wide Zoom binary is gone. For deeper execution telemetry, inspect C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log on Intune devices or C:\Windows\CCM\Logs\AppEnforce.log on SCCM clients. If you are standardizing other desktop baselines alongside Zoom cleanup, see our guides to configure Edge favorites using Intune and configure Chrome bookmarks using Intune.
Troubleshooting CleanZoom Deployment in Intune and SCCM
| Symptom or Issue | Root Cause | Resolution |
|---|---|---|
| Detection script fails immediately with syntax errors | Smart or curly quotes pasted from a word processor into the .ps1 file | Download the clean ASCII script from GitHub or replace all quotation marks with straight " and ' characters |
Intune shows Installed even though 32-bit Zoom remains | Workstation has a legacy 32-bit machine Zoom install in C:\Program Files (x86)\Zoom\bin | Add a third Test-Path check for C:\Program Files (x86)\Zoom\bin in ZoomUninstallDetection.ps1 |
| Deployment times out or hangs during removal | CleanZoom.exe was invoked without /silent and waited for an interactive prompt | Verify the Install command is strictly CleanZoom.exe /silent and Install behavior is set to System |
| Outlook Zoom plugin disappeared after running CleanZoom | Default CleanZoom.exe /silent strips both Zoom Workplace and the Outlook plugin | Change the Install command to CleanZoom.exe /silent /keep_outlook_plugin if Outlook integration must remain |
Device reports Not Installed after CleanZoom finishes | An active Zoom.exe session locked files or a secondary user profile still retained Zoom\bin | Allow Intune retry or deploy as a Required assignment during a scheduled maintenance window |
Frequently Asked Questions
Does CleanZoom.exe remove both user-level AppData Zoom and machine-wide MSI Zoom?
Yes. When executed under the SYSTEM context with CleanZoom.exe /silent, Zoom’s cleanup utility removes per-user installations under C:\Users\<User>\AppData\Roaming\Zoom as well as machine-wide MSI installations under C:\Program Files\Zoom.
Why does Intune Company Portal show Installed after uninstalling Zoom?
Because CleanZoom.exe /silent is configured as the Win32 app’s Install command, Intune tracks whether the cleanup action succeeded. When ZoomUninstallDetection.ps1 verifies that Zoom is gone and exits with code 0, Intune marks the cleanup app as Installed (meaning the workstation is clean).
Can I run CleanZoom.exe before deploying a fresh machine-wide Zoom MSI?
Yes. In Microsoft Intune, add your Zoom uninstall Win32 app as a Dependency (with Automatically install set to Yes) on your enterprise Zoom MSI Win32 app. CleanZoom runs first to purge rogue user-level installs, and Intune then installs the standardized machine-wide MSI.
Will the same CleanZoom command and PowerShell detection script work in SCCM?
Yes. Both Microsoft Intune Win32 apps and SCCM Script Installer Deployment Types treat STDOUT text combined with Exit 0 as detected/compliant and Exit 1 as not detected. The exact same CleanZoom.exe /silent command and ZoomUninstallDetection.ps1 script work across both Intune and SCCM.
Does CleanZoom.exe require a device reboot?
In most cases, CleanZoom.exe /silent removes Zoom cleanly without requiring a restart. If a user has Zoom open during execution, Zoom closes immediately; setting Device restart behavior to No specific action prevents unexpected workstation reboots during business hours.