Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

McAfeeV451 & Control Panel - Using VBScript, How to Activate?

Status
Not open for further replies.

jsuther

Programmer
Feb 27, 2001
6
CA
Background:
Win2k with McAfeeV4.5.1 installed, but not activate during startup. I did this deliberately. I can manaully set MCafee to startup on next reboot using McAfee Applet in the control panel. I want the same thing, but execute a VBScript locally.

I can this much from the commandline:
control avsmcpa.cpl
but, now need to set the check boxes. Can you help? What are the parameters from the command line?

Thanks.
Joseph
 
you cannot do this i dont think.
you may just remove the avsynmgr from the run line in the registry and then have it configured how you like and launch it when you want to... (ie start menu, batch file, any way you want..) FatesWebb

if you do what I suggested it is not my fault...
 
Thanks. I will continue trying anyway. I'm sure it can be done...atleast hoping anyway.
 
I did something similar in activating & scheduling scan tasks on client computers. All you have to do is figure out which keys are changing in the registry for the activation. Do an export of that key, should be somewhere around here: HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan\AVConsol

Put this into a batch file, drop it into the runonce key:

net stop avsynmgr
regedit /s \\<server name here>\whatever.reg
net start avsynmgr
 
Actually I guess my response was too much, all you need is the last line to start the service.
 
net start will work on nt, and on 9x I think you pretty much just run the avsynmgr.exe file... FatesWebb

if you do what I suggested it is not my fault...
 
Thanks. I'm doing something simliar now...I'm updating the registry directly with VBScript instead of a reg file.

later,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top