Solved

Remote and silent uninstall of SAV 10.x and then cleanup with cleanwipe

Posted on 2009-04-03
1
2,101 Views
Last Modified: 2013-12-09
I need to remotely and quietly uninstall and cleanup all Symantec products on domain workstations.  I am wanting to combine the use of msiexec to perform a remote uninstall of SAV 10.x, and then followup with cleanwipe so that LiveUpdate gets uninstalled along with all virus definitions and related Symantec items.  I want to do everything using psexec from an admin workstation.

Here is what I am trying to work with... (workstations are running low level users)

1.  I need to remotely edit the workstation registry to turn off the  SAV password requirement before I can uninstall anything.  I have this reg code ready and tested, but need to push it out using psexec.

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDESK\VirusProtect6\CurrentVersion\AdministratorOnly\Security]
"LockUnloadServices"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDESK\VirusProtect6\CurrentVersion\AdministratorOnly\Security]
"UseVPUninstallPassword"=dword:00000000

2.  I need to then uninstall SAV 10.x using this statement, which seems to work okay.

psexec \\192.168.0.148 MsiExec.exe /norestart /q/x {5A633ED0-E5D7-4D65-AB8D-53ED43510284} REMOVE=ALL

3.  I then need to execute cleanwipe on all the same computers to remove LiveUpdate and related Symantec items.  I cannot seem to get this nailed down.  Cleanwipe is a folder that contains files and a batch file that calls those files.

I want to combine all 3 of these steps into one error free batch file and run it against just one computer for testing, then against all domain computers.  Thanks for the help.
0
Comment
Question by:murryc
1 Comment
 
LVL 5

Accepted Solution

by:
bRvO earned 500 total points
ID: 24079806
You want to use the following registry add commands in the batch file ...

REG ADD "\\192.168.0.148\SOFTWARE\INTEL\LANDESK\VirusProtect6\CurrentVersion\AdministratorOnly\Security" /v LockUnloadServices /t REG_BINARY /d 00000000

REG ADD "\\192.168.0.148\SOFTWARE\INTEL\LANDESK\VirusProtect6\CurrentVersion\AdministratorOnly\Security" /v UseVPUninstallPassword /t REG_BINARY /d 00000000

This should add the values to the remote machines registry.

Then

psexec \\192.168.0.148 MsiExec.exe /norestart /q/x {5A633ED0-E5D7-4D65-AB8D-53ED43510284} REMOVE=ALL



Then psexec \\<location of cleanwipefile batch>

or something similar. You'll want to have pauses in there tho as I'd imagine that uninstalling SAV will take a few minutes.

If you combine these commands into 1 batch file and place it in the netlogon shares and then ammend the logon scripts to call this file it should work. I'm not sure how you'd get these to run from the administrator console for every machine without calling each computername from a text file and in that case it would be easier using VBScript.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The purpose of this Article is to provide information for a newly released variant of malware – with the assumption that many EE Members will have need of the information. According to “Computerworld”, well over one million web sites have been co…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now