PDA

View Full Version : Bitdefender free edition service start/stop script


SuperTaf
June 15th, 2009, 02:49 PM
This is the script that I made to use Bitdefender free without start service on boot-up. The only problem is that services won't stop when I close bitdefender.
Can someone help me?

PS: Thanks for all the people on the forum
PPS: Sorry for my english, I'm still learning the language

lodore
June 15th, 2009, 04:31 PM
Can you simply make a cmd file that just stops the bitdefender services?

i know perfectdisk have a batch file or cmd file that stops the processes after the gui is closed so i will try to find it.

Coff
June 17th, 2009, 12:50 PM
I wrote the following batch file a while ago and had to use pskill to end the bdagent process (it's not a service). Apparently bdagent is there if you have fast user switching turned on.

Information on bdagent http://searchtasks.answersthatwork.com/tasklist.php?File=BDAgent

pskill http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx or you could probably use taskkill to achieve the same result if you have it on your system.

I think also the order of closing the services is important due to dependencies. See the order below as, in your script, you are tring to stop xcomm before bdss. Anyway, hope it helps with your script.

Batch File

net start XCOMM
sc config XCOMM start= auto

net start bdss
sc config bdss start= auto

net start VSSERV
sc config VSSERV start= auto

net start LIVESRV
sc config LIVESRV start= auto

"C:\Program Files\Softwin\BitDefender10\bdmcon.exe"

net stop LIVESRV
sc config LIVESRV start= demand

net stop VSSERV
sc config VSSERV start= demand

net stop bdss
sc config bdss start= demand

net stop XCOMM
sc config XCOMM start= demand

"C:\Program Files\pskill\pskill.exe" bdagent.exe

SuperTaf
June 19th, 2009, 07:55 AM
Your cmd file does his job much better than mine!

Thank you