Solved

Creating a Windows Event Log

Posted on 2006-10-27
3
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Learn about cloud computing and its benefits for small business owners.
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…

726 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