• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Creating a Windows Event Log

Somehow I thought this would be a lot easier than it seems. Basically I need to create a windows event log where I can specify the type, source, and the description. I need this to test my event log monitoring program. The only material I was able to find is the windows command "eventtriggers.exe". However, it seems like this program only acts on events you specify and not create articifical events. Does anyone have any experience with this? I need to create the following:

Source: MSSQLSERVER
Type: Error
User: domain\user
Description: Failed
0
SANG501
Asked:
SANG501
  • 3
1 Solution
 
KPCarlCommented:
Have you tried LogEvent.exe? I haven't tested it on Windows 2003 yet - may work for you...

http://support.microsoft.com/kb/315410
0
 
KPCarlCommented:
Firing up the Win2k3 VM now... I'll let you know.
0
 
KPCarlCommented:
It worked in 2k3.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now