Video Screencast Help

SEP Logs creation

Created: 09 Mar 2012 • Updated: 13 Mar 2012 | 3 comments
ScottM 2's picture
+4 4 Votes
Login to vote

When working with support you may have to collect the logs from your SEPM, and if you have multiple SEPMs and are doing multiple collections it can get somewhat confusing. I modified the CollectLog.CMD script you will find in your Tools directory to replace the line:


with the following lines

Rem Added the following lines to change the report formate to
Rem Parse the Date enviroment variable, this resolves us the / is used as a field seperator.
For /f "tokens=2,3,4 delims=-/ " %%a in ("%date%") Do Set Dateset=%%a-%%b-%%c

The result is a log report that includes the system name and a date when the collection was run.

If you have multiple managers I put together a simple script to use PSexec to remotely run the collection on multiple managers and zip them all up into a single file. To run this you need the PSexec utility of course and administrative rights on your target servers.

Examples of both are inclosed.

Comments 3 CommentsJump to latest comment

John Cooperfield's picture

In case you were going to look in the Tools folder on the install disk as I did,

the utility is located in   C:\Program Files\Symantec\SEPM\Tools

He put more explanation of usage in the downloads.


Login to vote
Constantine's picture

what logs are creating this command?

Login to vote
ChandanMistry's picture

Which log has been creating through this tool

Login to vote