Endpoint SWAT: Protect the Endpoint Community

 View Only
  • 1.  Script to check if SMC is started or restart if stopped.

    Posted Feb 21, 2014 01:38 AM

    Can anyone supply me with a batch file to run to check the SMC service is running - if not restart it.

    Running SEP12RU4 - issue with GUP's currently as SMC service stops. 



  • 2.  RE: Script to check if SMC is started or restart if stopped.

    Posted Feb 21, 2014 01:51 AM
    There in no script for restart SMC service,You can do this with SNAC hi policy. The SMC.exe processes crashes on Symantec Endpoint Protection 12.1 RU4 when Group Update Provider functionality is enabled http://www.symantec.com/business/support/index?page=content&id=TECH213461 See this thread https://www-secure.symantec.com/connect/forums/smc-keeps-stopping-0


  • 3.  RE: Script to check if SMC is started or restart if stopped.

    Posted Feb 21, 2014 01:54 AM

    You have to run this to create a task for each server in a batch file like this, just change the path to SMC depending on SEP11 and 12

     

     

     

    SCHTASKS /Create /S Server01 /SC minute /MO 10 /RU SYSTEM /TN SMCStart /F /TR "'d:\program files\symantec\smc.exe' -start"

     

    SCHTASKS /Create /S Server02 /SC minute /MO 10 /RU SYSTEM /TN SMCStart /F /TR "'d:\program files\symantec\smc.exe' -start"

     

    SCHTASKS /Create /S Server03 /SC minute /MO 10 /RU SYSTEM /TN SMCStart /F /TR "'d:\program files\symantec\smc.exe' -start"

     



  • 4.  RE: Script to check if SMC is started or restart if stopped.
    Best Answer

    Posted Feb 21, 2014 01:54 AM

    See GJCronje comments

    https://www-secure.symantec.com/connect/forums/smc-keeps-stopping-0

     

    You have to run this to create a task for each server in a batch file like this, just change the path to SMC depending on SEP11 and 12

     

    SCHTASKS /Create /S Server01 /SC minute /MO 10 /RU SYSTEM /TN SMCStart /F /TR "'d:\program files\symantec\smc.exe' -start"

    SCHTASKS /Create /S Server02 /SC minute /MO 10 /RU SYSTEM /TN SMCStart /F /TR "'d:\program files\symantec\smc.exe' -start"

    SCHTASKS /Create /S Server03 /SC minute /MO 10 /RU SYSTEM /TN SMCStart /F /TR "'d:\program files\symantec\smc.exe' -start"