Quantcast
Viewing all articles
Browse latest Browse all 11372

Batch file seetup to run in event viewer not working.

Hi everyone,

Long story short

we have some new Security monitoring software that we use for our clients WHich is written in .net2 and can't pick up the IDs for failures in event viewer as they are in .net4. so what we have done is set up a series of batch files to run through task scheduler and send the event ID to Application in event viewer that o ur security  monitoring software can read.

This has worked perfectly on all of our servers but for some reason on Windows 7 machines when the batch file is run nothing happens in Application under Event Viewer.

e.g:

Trigger                    Details                                                                                                                                      Status

On an event            On event- Log:Microsoft-WindowsBackup, Source: Microsoft-WindowsBackup, Event ID100   Enabled

Action                      Details             

Start a program       "C:\PandMon\Microsoft Backup Failure ID100.bat"


This is the batch file:

eventcreate /ID 100 /L APPLICATION /T information /SO Backup /D "Microsoftsoft SBS Backup Failed - Id 100"

Any help here would be greatly appreciated.

Cheers :)


Viewing all articles
Browse latest Browse all 11372

Trending Articles