I need to retrieve Windows Event Logs programmatically from a remote XP system. Any links/resources related to this would be really helpful.
Thanks in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should be able to get event the event log/build a watcher using Windows Management Instrumentation (WMI). Here’s an article on building a “watcher”.
http://www.siccolo.com/Articles/CodeProject/LogWatcher_RSS_feed/build_log_watcher_rss_feed_using_WMI.html
There are a few caveats to using WMI remotely, but as long as you have the correct permissions on the remote system, you should be fine.