Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Simple Log Collecting Batch File For Opening Cases With Symantec Support

Created: 07 Jul 2014 | 6 comments
ianatkin's picture
+5 5 Votes
Login to vote

Today's little download is a simple log collecting script which I use for opening Symantec Support cases. It creates in the same folder as the batch file a log folder and dumps into it the following,

  1. Windows Event Logs
  2. Installed Programs (as scavenged from registry 'uninstall' key)
  3. Installed hotfixes (using wmic)
  4. General system information (using msinfo32)
  5. Altiris Logs (from SMP log folders)

The aim here is to gather painlessly the background info that first line support will request as a matter of course. So when opening a case just run this on your server (takes just a couple of minutes) and then add to the log folder any other case info you think is relevant which might include,

  1. Problem description, steps to reproduce, any background information you feel is relevant etc..
  2. Screenshots
  3. Client logs
  4. Wireshark traces

When you run you'll see a screen as follows,

Log_Collector.png

And when it's done you'll see a pause displayed. Once you press a key, the script will now exit and you can take a look in the log folder which you'll find in the same location as the log collector script. The log folder name uses the hosts computer name as a prefix and the date as a post-fix, so running this on my machine ian-test creates the log folder name is IAN-TEST_LOGS_04-07-2014 

I hope this helps those of you out there who just haven't found the time to write this yourselves. It really makes the process of opening support cases a *lot* less stressful.

Kind Regards,
Ian./

Comments 6 CommentsJump to latest comment

Falquian's picture

Thanks a lot for this, Ian :)

Kind regards:

     Falquian

If this post is useful to you, remember to mark it as a solution ;)

0
Login to vote
Scott W. Allen's picture

This is great. Got one for the client side?

0
Login to vote
ianatkin's picture

Hi Scott, I can't see why this can't be ammended directly for client log pulls; you'll need tweaks for OS flavours... and don't forget to remove the SMP log collection section.

Ian Atkin, IT Services, Oxford University, UK

Connect Etiquette: "Mark as Solution" those posts which assist you most in resolving your problem, and give a thumbs up to useful articles and downloads

0
Login to vote
Scott W. Allen's picture

I'm not sure what the proper etiquette when modifying someone elses work. But I have modified Ian's work to make a client version of his batch file. It works just like the server version, but you run it on the client PC.

AttachmentSize
collect_logs_client.zip 1.08 KB
+1
Login to vote
ianatkin's picture

Excellent work Scott! Thanks for posting.

Ian Atkin, IT Services, Oxford University, UK

Connect Etiquette: "Mark as Solution" those posts which assist you most in resolving your problem, and give a thumbs up to useful articles and downloads

0
Login to vote