Solved

Creating a Windows Event Log

Posted on 2006-10-27
3
195 Views
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:

Source: MSSQLSERVER
Type: Error
User: domain\user
Description: Failed
0
Comment
Question by:SANG501
  • 3
3 Comments
 
LVL 4

Expert Comment

by:KPCarl
ID: 17820323
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
 
LVL 4

Expert Comment

by:KPCarl
ID: 17820336
Firing up the Win2k3 VM now... I'll let you know.
0
 
LVL 4

Accepted Solution

by:
KPCarl earned 500 total points
ID: 17820456
It worked in 2k3.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

829 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