
Hi, I've been trying to uninistall bitdefender on multiple machines. Please run the script as 'Local System User' from the ITSM Print 'FAIL: Uninstalling' Sample Output: If os.path.isfile(os.path.join(PF, 'WinRAR', 'WinRAR.exe')): UnInstallWinRARCMD = '"'+os.path.join(PF, 'WinRAR' ,'Uninstall.exe')+'"'+' /S'

UnInstallBD = '"'+os.path.join(TEMPHOME, 'UninstallTool.exe')+'" /silent /force:Endpoint Security by Bitdefender' OBJ = Popen(CMD, shell = True, stdout = PIPE, stderr = PIPE)īDPATH = Download('', FileName = 'BEST_Uninstalltool.exe') Self.success = self._disable(ref(self.old_value))ĭef _exit_(self, type, value, traceback): With open(os.path.join(DownloadTo, FileName), 'wb') as f: Def Download(URL, DownloadTo = None, FileName = None):ĭownloadTo = os.path.join(os.environ, os.sep)
