Uninstall Zoom Using Intune and SCCM with CleanZoom.exe

Table of content

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 TypeDefault Install PathStandard msiexec /x ResultCleanZoom.exe /silent Result
User-level .exe installC:\Users\<User>\AppData\Roaming\Zoom\binFails (no machine MSI product code and invisible to SYSTEM uninstallers)Removes binary, user AppData folders, shortcuts, and registry keys
Machine-wide 64-bit .msi installC:\Program Files\Zoom\binFails if the MSI GUID changed after an automatic client updateRemoves MSI installation, Program Files directory, and machine registry keys
Mixed user and machine installsBoth AppData\Roaming and Program FilesLeaves orphaned user-profile Zoom clients behind on shared workstationsScrubs 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.intunewin package and ZoomUninstallDetection.ps1 script directly from our public GitHub repository at skatufa-tech/PowerShell/ZoomUninstall.
  • Download the Microsoft Win32 Content Prep Tool (IntuneWinAppUtil.exe) if you are packaging CleanZoom.exe yourself 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 SwitchExecution Behavior
CleanZoom.exe /silentRuns silently with no user prompts and removes all Zoom desktop clients and plugins
/keep_outlook_pluginRemoves Zoom Workplace while preserving the Zoom Plugin for Microsoft Outlook
/keep_lync_pluginPreserves the Skype for Business / Lync plugin during cleanup
/keep_notes_pluginPreserves the HCL Notes plugin during cleanup
/vdi_cleanRemoves 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.

Uninstall Zoom using Intune extracted CleanZoom.exe utility inside staging folder
Uninstall Zoom using Intune: extracted CleanZoom.exe utility inside the staging folder

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
Uninstall Zoom using Intune packaging CleanZoom.exe into CleanZoom.intunewin with IntuneWinAppUtil
Uninstall Zoom using Intune: packaging CleanZoom.exe into CleanZoom.intunewin with IntuneWinAppUtil

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 in C:\Program Files\Zoom\bin, the script exits with code 1. Both Intune and SCCM interpret Exit 1 as “not yet cleaned” and execute CleanZoom.exe /silent.
  • Once Zoom is absent across every user profile and C:\Program Files\Zoom\bin, the script outputs Not Detected Zoom on any User's PC to STDOUT and returns Exit 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 1

Legacy 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:

  1. 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.
Uninstall Zoom using Intune create Windows app Win32 in Microsoft Intune admin center
Uninstall Zoom using Intune: selecting Windows app (Win32) in the Intune admin center
  1. Click Select app package file, browse to CleanZoom.intunewin (326.33 KiB), and click OK.
Uninstall Zoom using Intune upload CleanZoom.intunewin Win32 app package file
Uninstall Zoom using Intune: uploading CleanZoom.intunewin as the Win32 app package file
  1. On the App information tab, enter Zoom uninstall as the Name, set Publisher to Zoom, optionally upload the Zoom icon for Company Portal clarity, and click Next.
  2. 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 (or No specific action if you want to prevent unexpected restarts during business hours)
Uninstall Zoom using Intune Win32 Program settings with CleanZoom.exe /silent and System behavior
Uninstall Zoom using Intune: Win32 Program settings with CleanZoom.exe /silent and System behavior
  1. 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.
Uninstall Zoom using Intune Win32 Requirements tab configured for Windows 10 1607
Uninstall Zoom using Intune: Win32 Requirements tab configured for Windows 10 1607
  1. 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.
Uninstall Zoom using Intune custom PowerShell detection script checking user and Program Files paths
Uninstall Zoom using Intune: custom ZoomUninstallDetection.ps1 PowerShell detection rule
  1. Skip Dependencies and Supersedence (unless you are chaining CleanZoom as a pre-install dependency ahead of a fresh enterprise Zoom MSI package).
  2. 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.
Uninstall Zoom using Intune Assignments tab for Available pilot testing and Required deployment
Uninstall Zoom using Intune: Win32 Assignments tab set to Available for pilot testing
  1. 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.

  1. Open the Configuration Manager console and go to Software Library > Application Management > Applications > Create Application.
  2. Select Manually specify the application information and name the application Zoom Uninstall (CleanZoom).
  3. Under Deployment Types, click Add and choose Script Installer.
  4. Set Content location to your UNC software share containing CleanZoom.exe and set Installation program to CleanZoom.exe /silent.
  5. 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.ps1 script from Step 2.
  6. 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.
  7. 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.

Uninstall Zoom using Intune before cleanup showing Zoom Workplace 64-bit in Control Panel and Windows Search
Uninstall Zoom using Intune before cleanup: Zoom Workplace (64-bit) visible in Control Panel and Windows Search

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.

Uninstall Zoom using Intune Company Portal showing Zoom uninstall ready with Install button
Uninstall Zoom using Intune: Company Portal showing Zoom uninstall ready with the Install button

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.

Uninstall Zoom using Intune Company Portal showing Download pending during CleanZoom sync
Uninstall Zoom using Intune: Company Portal displaying Download pending during CleanZoom sync

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.

Uninstall Zoom using Intune Company Portal showing Zoom uninstall status Installed after removal
Uninstall Zoom using Intune: Company Portal confirming Zoom uninstall status as Installed

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

Uninstall Zoom using Intune after cleanup confirming no Zoom items remain in Control Panel Programs and Features
Uninstall Zoom using Intune after cleanup: Control Panel search confirming Zoom is completely removed

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 SilentlyContinue

When 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 IssueRoot CauseResolution
Detection script fails immediately with syntax errorsSmart or curly quotes pasted from a word processor into the .ps1 fileDownload the clean ASCII script from GitHub or replace all quotation marks with straight " and ' characters
Intune shows Installed even though 32-bit Zoom remainsWorkstation has a legacy 32-bit machine Zoom install in C:\Program Files (x86)\Zoom\binAdd a third Test-Path check for C:\Program Files (x86)\Zoom\bin in ZoomUninstallDetection.ps1
Deployment times out or hangs during removalCleanZoom.exe was invoked without /silent and waited for an interactive promptVerify the Install command is strictly CleanZoom.exe /silent and Install behavior is set to System
Outlook Zoom plugin disappeared after running CleanZoomDefault CleanZoom.exe /silent strips both Zoom Workplace and the Outlook pluginChange the Install command to CleanZoom.exe /silent /keep_outlook_plugin if Outlook integration must remain
Device reports Not Installed after CleanZoom finishesAn active Zoom.exe session locked files or a secondary user profile still retained Zoom\binAllow 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.

TechEUC - Atoofa Shaikh
FIVERR PRO VERIFIED 12+ YRS EXPERIENCE

Atoofa Shaikh

Senior Microsoft 365, EUC & Cloud Endpoint Architect

Need custom Win32 App Packaging, PowerShell Automation, Zero-Touch Intune Autopilot, or SCCM Co-Management for your enterprise or MSP? I specialize in production-grade deployment architectures with zero downtime.