LogEvent.exe for Windows 2008?

Discussion in 'Windows Server' started by Joseph Morales, Jan 24, 2009.

  1. Hello,
    I'm looking for a utility that would let me write arbitrary entries to
    Windows 2008 event logs. I need to be able to specify the Log Name (System,
    Application, etc.), Source Name, Type (Error, Warning, Info), Event ID, and
    Description.

    From Googling, I find that there used to be a tool of this kind for Windows
    2000 called LogEvent.exe. However, I can't find anyplace to download it. Is
    there something similar available for Windows 2008?

    Thanks!
     
    Joseph Morales, Jan 24, 2009
    #1
    1. Advertisements

  2. Joseph Morales

    Dave Patrick Guest

    Dave Patrick, Jan 24, 2009
    #2
    1. Advertisements

  3. Thanks, but the LogEvent method in VBScript doesn't allow you to specify the
    value for the Source of the log entry. Unfortunately, for my purposes, I
    need to be able to do this.

    Any other suggestions out there?

    Joseph
     
    Joseph Morales, Jan 24, 2009
    #3
  4. Joseph Morales

    Dave Patrick Guest

    Dave Patrick, Jan 25, 2009
    #4
  5. Thanks, Dave! Unfortunately, now that I have it, it turns out the
    logevent.exe tool has an unfortunate limitation. It appears to be capable of
    logging only to the Application event log. I need to be able to log to the
    event log of my choice, such as the System event log.

    As mentioned in my original message, these are the things that I need to be
    able to specify: Log Name (System, Application, etc.), Source Name, Type
    (Error, Warning, Info), Event ID, and Description.

    Are there any other utilities out there that would serve the purpose? Thanks
    again for any suggestions.

    Joseph
     
    Joseph Morales, Jan 26, 2009
    #5
  6. Joseph Morales

    Dave Patrick Guest

    Dave Patrick, Jan 26, 2009
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.