Bitdefender free edition service start/stop script

Discussion in 'other anti-virus software' started by SuperTaf, Jun 15, 2009.

Thread Status:
Not open for further replies.
  1. SuperTaf

    SuperTaf Registered Member

    Joined:
    Jun 15, 2009
    Posts:
    18
    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
     

    Attached Files:

  2. lodore

    lodore Registered Member

    Joined:
    Jun 22, 2006
    Posts:
    9,065
    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.
     
    Last edited: Jun 15, 2009
  3. Coff

    Coff Registered Member

    Joined:
    Oct 29, 2005
    Posts:
    53
    Location:
    UK
    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
     
  4. SuperTaf

    SuperTaf Registered Member

    Joined:
    Jun 15, 2009
    Posts:
    18
    Your cmd file does his job much better than mine!

    Thank you
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.