MSFN Forum: Can I Delete Programs Like This? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can I Delete Programs Like This? Rate Topic: -----

#1 User is offline   phillyman2004 

  • Robert
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 27-August 04

  Posted 12 September 2005 - 02:19 PM

At my job everyday i have to work on new machines.....we have an automatic batch script that runs thru and does tweaks and installs programs on each machine

Problem is alot of these machines are come with McAffee AntiSpy and McAffee Security Center

This screws up our automation process because when installing Norton it questions the Security Center

Basically what i want to know is ...

Can i write a short script to Kill the Mcafee processes....Remove the Registry Entries....and Remove the Directory Tree ...as a solution?

If i remove all 3 of those things i should be ok right ?


#2 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 12 September 2005 - 03:00 PM

I probably wouldn't try to manually uninstall virus protection. You could try to script something that would initiate the uninstall process...maybe AutoIT or something that you can program to 'click' the appropriate buttons.

The problem with manually removing it is that it's almost a guarantee you're gonna miss something, leaving it half-installed. And by then you have no chance of uninstalling it unless you reinstall it first...and even then, that may not work.

This post has been edited by InTheWayBoy: 12 September 2005 - 03:02 PM


#3 User is offline   chilifrei64 

  • How do you like your Chili?
  • PipPipPipPipPip
  • Group: Members
  • Posts: 995
  • Joined: 16-February 05

Posted 12 September 2005 - 03:16 PM

What you could do is call the uninstall string from the registry. Not sure how McAfee works.. this may be a static string or a dynamic string.

Basically you would look at the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Key of the registry and find the Keys associated with McAfee and pull their uninstall string and run that in the batch file.

I used this method for uninstalling an old version of Pervasive SQL Client from about 50 machines.. Here is a copy of the script I ran to initiate the uninstall of Pervasive
start C:\WINDOWS\IsUninst.exe -fC:\PVSW\DeIsL1.isu -c"C:\PVSW\W32PTKUN.DLL" -mpsql.mif -a


I ran this from a batch script..

One thing I did encounter was Windows 2000 acted differently to this one because the uninstall string references C:\Windows as opposed to C:\Winnt.. So i guess just watch out for that one..

#4 User is offline   HyperHacker 

  • Just plain nuts
  • PipPipPip
  • Group: Members
  • Posts: 473
  • Joined: 01-May 05

Posted 12 September 2005 - 07:20 PM

Forcibly uninstalling an antivirus may leave your system in an unstable condition, as they often use device drivers and such and get buried really deep in the system.

If you have the option, just dump McAfee altogether. :P

#5 User is offline   chilifrei64 

  • How do you like your Chili?
  • PipPipPipPipPip
  • Group: Members
  • Posts: 995
  • Joined: 16-February 05

Posted 12 September 2005 - 09:02 PM

Just to clarify.. calling the uninstall string using a batch file is the same as calling the uninstall from add/remove programs. When ran... it executes the same uninstall process. This is not a forced uninstall process

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy