Endpoint Protection

 View Only
  • 1.  Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 09:20 AM

    Need script to delete Offline SEP agent entries in the SQL database .

     

    We have SEPM server name for ex (ABC) and database server is (DEF) and database is sem5.

     

    As we have multiple VM's in the environment , having lot of offline entries are created in the SEPM . Due to this manual remediation/deletion is needed on daily basis.

    Can any one help me with the sample script which can delete the entries in the SQL database.

    Thanks

     



  • 2.  RE: Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 09:20 AM


  • 3.  RE: Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 09:25 AM

    Is any sample script is available ?



  • 4.  RE: Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 09:25 AM

    I've not seen a newer one for SEP 12.1 or 14. 

    You can make this change from the SEPM though. There is no script needed to do it.



  • 5.  RE: Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 09:50 AM

    Hello Manikandan,

    Here is the script

     

    https://www.symantec.com/connect/articles/how-delete-particular-computers-sepm-mssql-database



  • 6.  RE: Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 09:57 AM

    @Manikandan

    Test the script first. It is seven years old, and while it doesn't specify version, this was before SEP 12.1 or 14.



  • 7.  RE: Need a script to delete Offline SEP agent entries in the SQL database

    Posted Feb 28, 2017 10:02 AM

    Yeah test it, it references SEM_Client and SEM_Agent, These two exists on all the versions of SEP