Solved

Creating a Windows Event Log

Posted on 2006-10-27
3
194 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now