![]() $ = WriteValue ($PSW,"LockUnloadServices","0","REG_DWORD") $PSW = "HKLM\SOFTWARE\Intel\LANDesk\VirusProtect6\CurrentVersion\AdministratorOnly\Security" $fileversion = GetFileVersion("$progdir\Symantec AntiVirus\Rtvscan.exe", "FileVersion" ) IF EXIST ("$progdir\Symantec AntiVirus\Rtvscan.exe") ?"Verifying if Symantec Anti-Virus is installed" $progdir = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesDir") [ Uninstall old SAV / Install of Symantec Endpoint Protection The script works but i know something isn't right becasue of the error at the end here is the script. i get a unknown command error at the end of the script. In some instances, this could take hours as these folders have hundreds of thousands of tmp files adding up to several GB of space.īatch or vb script, doesn't matter, something I can just execute on each of the machines having this issue.Hello i wrote a script that uninstalls symantec antivirus silently. I can't just have the script run through all the commands when the previous one didn't finish. I also need it to somehow recognize when the file/directory deleting in each of the above steps is completed. MD "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec Endpoint Protection\Quarantine"įinally to start the Symantec service again (smc -start) Exact details are located here: īreakdown, we only use Symantec Endpoint Protection on XP, so the only folder we are concerend about is C:\Documents and Settings\All Users\Application Data\Symantec\Symantec Endpoint Protection\xfer_tmpĭEL /F /Q "C:\Documents and Settings\\Loca l Settings\TempĭEL /F /Q "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec Endpoint Protection\xfer_tmp\"ĭEL /F /Q "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec Endpoint Protection\xfer\"ĭEL /F /S /Q "C:\Documents and Settings\All Users\Application Data\Symantec\Symantec Endpoint Protection\Quarantine" Have a list of steps from Symantec to resolve this issue, just need them automated, so I don't have to waste any time running through each one. Large amounts of temp files are being created in the xfer_tmp and are being detected as threats on several PCs throughout our organization. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |