This article applies to:
OS: Windows
Product edition: Phoenix
Overview
This article provides the single script to uninstall Phoenix agents from a Windows system and remove all its directories from their hosts.
Uninstall Phoenix agents from a Windows host
Use any text editor to create the bash file.
Create the bash file with the following script.
echo on
net stop PhoenixCPHService >> "C:\UninstallPhoenix.log" 2>&1 timeout -t 4
wmic product where "name like '%%Druva Phoenix%%'" call uninstall /nointeractive >> "C:\UninstallPhoenix.log" 2>&1 timeout -t 2
rmdir "C:\ProgramData\Phoenix" /S /Q>> "C:\UninstallPhoenix.log" 2>&1 rmdir "C:\Program Files\Druva\Phoenix Agent" /S /Q >> "C:\UninstallPhoenix.log" 2>&1
timeout -t 2 :END
π Note
β To uninstall Phoenix agents, run the bash file as an administrator.