Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > LogEvent.exe for Windows 2008?

Reply
Thread Tools Display Modes

LogEvent.exe for Windows 2008?

 
 
Joseph Morales
Guest
Posts: n/a

 
      01-24-2009
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
 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a

 
      01-24-2009
Have you tried VBScript?

http://msdn.microsoft.com/en-us/library/b4ce6by3.aspx



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Joseph Morales" wrote:
> 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


 
Reply With Quote
 
 
 
 
Joseph Morales
Guest
Posts: n/a

 
      01-24-2009
"Dave Patrick" <> wrote in message
news:%...
> Have you tried VBScript?


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


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a

 
      01-25-2009
I believe the logevent.exe tool is in here.

http://www.microsoft.com/downloads/d...displaylang=en



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Joseph Morales" wrote:
> 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
>


 
Reply With Quote
 
Joseph Morales
Guest
Posts: n/a

 
      01-26-2009
"Dave Patrick" <> wrote in message
news:...
>I believe the logevent.exe tool is in here.
> http://www.microsoft.com/downloads/d...displaylang=en


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


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a

 
      01-26-2009
This one may serve the purpose.

http://www.desaware.com/support/documents/index.aspx



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"Joseph Morales" wrote:
> 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
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off