Solved

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

Posted on 2009-04-03
1
2,120 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

UPDATE - 6/15/2011 Added support for Release Update 6 Maintenance Patch 2 Point Patch 1 (RU6 MP2 PP1). Fixed a defect in the username field that was hard-coded to look for a specific domain (left over code from testing). This release will be the …
If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

734 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