Uninstall Zoom for all users v1.0
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will uninstall the Zoom client using the zoom uninstaller utility

https://support.zoom.us/hc/en-us/article_attachments/360069358032/CleanZoom.zip

Installation Command: "CleanZoom.exe" /slient

Property Details

ID26724
StatusBeta - Preliminary testing ready for more
TitleUninstall Zoom for all users v1.0
DomainSYST
CategorySoftware Removal
Download Size545792
SourceZoom Unistaller
Source Release Date11/30/2020 12:00:00 AM
Keywordszoom, uninstall, all users, zoom client,
Is TaskTrue
Added by on 12/1/2020 7:18:50 AM
Last Modified by on 12/1/2020 7:18:50 AM
Counters 873 Views / 8 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1143 fixlets and 537 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
free space of drive of client > 1000000
Used in 1 fixlet   * Results in a true/false
Show indented relevance
(exists value "DisplayName" whose (it as string as lowercase contains "zoom") of keys ( "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZoomUMX";"HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall") of (x64 registries; x32 registries)) OR (exists logged on user AND exists file whose (name of it as lowercase contains "installer.exe") of folder ("C:\Users\" & (name of logged on user) & "\AppData\Roaming\Zoom\uninstall"))

Actions

Action 1

Action Link Click  here  to deploy this action
Script Type BigFix Action Script
// Download all specified files
begin prefetch block
    add prefetch item name=CleanZoom.zip sha1=0c704491749a4672c388936e8f613b45c021b7e4 size=378630 url=https://support.zoom.us/hc/en-us/article_attachments/360069358032/CleanZoom.zip
    add prefetch item name=unzip.exe sha1=e1652b058195db3f5f754b7ab430652ae04a50b8 size=167936 url=https://software.bigfix.com/download/redist/unzip-5.52.exe
end prefetch block

parameter "baseFolder" = "__Download/"

waithidden __Download\unzip.exe -o __Download\CleanZoom.zip CleanZoom.exe -d "{pathname of download folder}"

// Log setup
parameter "mainSWDLogFolder" = "{parent folder of client folder of current site}/__Global/SWDDeployData"
folder create "{parameter "mainSWDLogFolder"}"
parameter "logFile" = "SWD_RemovalResults.log"

//**End Preparation Marker
delete __createfile
parameter "logFolder" = "{parameter "mainSWDLogFolder"}"
// Run setup process
delete run.bat

// Use .bat to set working directory to packages root, for setup command.
createfile until _end_
@ECHO OFF
cd "{parameter "baseFolder"}"
rem //comment marker
echo %DATE% %TIME% >> "{parameter "logFolder"}\{parameter "logFile"}"
echo Action ID: {id of active action} >> "{parameter "logFolder"}\{parameter "logFile"}"
rem //**Begin Command Marker
echo Command: "CleanZoom.exe" /slient >> "{parameter "logFolder"}\{parameter "logFile"}"
set errorlevel=
"CleanZoom.exe" /slient >> "{parameter "logFolder"}\{parameter "logFile"}" 2>&1
set SWDExitCode=%errorlevel%
rem //**End Command Marker

echo Return code: %SWDExitCode% >> "{parameter "logFolder"}\{parameter "logFile"}"
echo. >> "{parameter "logFolder"}\{parameter "logFile"}"
exit %SWDExitCode%
_end_

move __createfile run.bat
override wait
hidden=true
completion=job
wait run.bat

//**Begin Closing Marker
// Get the return code of the previous action.
parameter "returnCode" = "{exit code of action}"

// Task will now exit.
exit {parameter "returnCode"}
//**End Closing Marker
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
Martijng -
i think there is a typo also "CleanZoom.exe" /slient >> "{parameter "logFolder"}\{parameter "logFile"}" 2>&1 guess that has to be /silent
jgstew -
A better way to check for per-user installed zoom: exists folders "AppData\Roaming\Zoom\uninstall" of folders of folders "C:\Users"