Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help on creating system event log

Status
Not open for further replies.

tektipssiva

Programmer
Dec 9, 2014
1
Hi,

We've requirement of creating system event log entry in Event viewer.

The event id should be 6008 and description should contain the word "unexpected"

Using vbscript, I'm able to create only application log but we need to create system

event log. Also, We don't want to use powershell too. Is there any way to create such

an event in Event viewer.

Thanks in advance,
siva
 
Script will write to the app log or a custom log. Why did you pick 6008? That is an applocker event.

I hope that helps.

Regards,

Mark

No trees were harmed in posting this message, however a significant number of electrons were terribly inconvenienced.

Check out my scripting solutions at
Work SMARTER not HARDER.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top