Endpoint Protection

 View Only
  • 1.  VBSript - Silently turning off SEP with password requirement

    Posted Feb 01, 2012 04:42 PM

    I'm creating a script such that smc.exe will be turned off with the command

     

       'Stop smc.exe service
        objWMISvc.Create(strPath & "\smc.exe -stop password_to_stop_smc")

     

    But here is the problem. On the test computer where I am stopping smc.exe, I see the following pop-up

     

    How do I turn off (I am not taking about stopping and then immediately starting smc.exe) the smc.exe service that requires a password WITHOUT the popup shown?



  • 2.  RE: VBSript - Silently turning off SEP with password requirement

    Posted Feb 01, 2012 05:10 PM

    You will be able to turn this off in SEPM by going to Clients > Policies tab > General Settings > Security Settings tab > "Require a password to stop the client service". Then push the policy out to the client and that should take care of it for you.

    I just realized you are looking for SEP 11 and below is from SEP 12.1 so my apologies. I don't have a SEP 11 server handy at the moment.



  • 3.  RE: VBSript - Silently turning off SEP with password requirement

    Posted Feb 01, 2012 05:40 PM

    On the other hand if you are still wanting to input a password and supress the popup, I am not sure how this would be done.



  • 4.  RE: VBSript - Silently turning off SEP with password requirement
    Best Answer

    Posted Feb 01, 2012 05:54 PM

    If you don't want to disable the password, as SolarisMaestro explained, you can   use
    smc.exe -p <password> -stop, as described here:

    Available Command-Line Options for Smc.exe

    http://www.symantec.com/docs/TECH103048



  • 5.  RE: VBSript - Silently turning off SEP with password requirement

    Posted Feb 02, 2012 09:49 AM

    Hey guys,

     

    I read your responses, will try them out and keep you posted

     

    Thanks :-)



  • 6.  RE: VBSript - Silently turning off SEP with password requirement

    Posted Feb 02, 2012 10:59 AM

    Hi,

     

    This problem occurs when we used password protected SEP that's why when you run the smc -stop command the SEP asked for the password.

    If you don't know the symantec service stop password.

    The simple solution for this type of problem is you

    You will be able to turn this off in SEPM by going to Clients > Policies tab > General Settings > Security Settings tab > "Require a password to stop the client service". Then Unmark the all password protection and click ok and assign the policy to all group.

    Restart the machine on which the SEP is installed and then again try to  stop the Symantec services by command.

    your problem will be resolved.

     

    Baljeet Singh



  • 7.  RE: VBSript - Silently turning off SEP with password requirement

    Posted Feb 02, 2012 03:50 PM

    FYI

     

    Most of these SEP clients cannot retrieve the new policy, no matter what I do, hence I am creating a script to overcome this issue.



  • 8.  RE: VBSript - Silently turning off SEP with password requirement

    Posted Feb 02, 2012 04:11 PM

    Hey Greg12

     

    The -p switch made all the difference in the world, thanks!!!