Creating a Windows Event Log

Posted on 2006-10-27
Medium Priority
Last Modified: 2010-04-18
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:

Type: Error
User: domain\user
Description: Failed
Question by:SANG501
  • 3

Expert Comment

ID: 17820323
Have you tried LogEvent.exe? I haven't tested it on Windows 2003 yet - may work for you...


Expert Comment

ID: 17820336
Firing up the Win2k3 VM now... I'll let you know.

Accepted Solution

KPCarl earned 2000 total points
ID: 17820456
It worked in 2k3.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question