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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT Event Log Access

Status
Not open for further replies.

LeeSalter

Technical User
Nov 1, 2001
20
GB
Hi there,

I need to backup and clear the Event Logs on numerous NT4 servers.

I have called the BackupEventLog API in my script, but it fails with an ACCESS_DENIED error.

I am a member of Domain Admins on all servers. Is there any way to programmatically get around this???
 
Could you show us the code for this? I have seen alot of examples of this work without problems.
 
It's ok...I've sussed out what I was doing wrong. I was trying to write from a remote server log to a file on another remote server....apparently this cannot be done.

I made a little workaround by first archiving the log locally and then simply doing a .copy to stick it where I wanted it to go.

Thanks anyway.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top