Remote eventlog

  • Thread starter Thread starter Palloquin
  • Start date Start date
P

Palloquin

Hi,

I need to access eventlogs on remote machines.

I can do this using
Dim logs() As EventLog
logs = EventLog.GetEventLogs("RemotePC")

The problem is that this will only work if on the remote machines (win XP
pro) I add everyone to the administrators group. For obvious reasons I do
not want to do that.

All machines are stand alone machines. They are not in any AD or Domain.

Is there any way I can connect to the machines with a username / password,
or any other way to get to this data?

TIA!!!
 
Yeah, I came a cross that while looking for a solution

I just can not seem to figure out how to impersonate a user which only
exists on another machine (not domain)...

Impersonation seems quite complicated... or is that just me?
 
I tried the sample and you are right - it does not work for local users on
remote machines.
 
Back
Top