RE: eventlog machinename

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Craig Vick [MSFT] (craigv__at_online.microsoft.com)
Date: 09/10/04


Date: Fri, 10 Sep 2004 20:48:57 GMT

Hi

I'm not sure I understand exactly what you're trying to do. If you want to access the event log on another machine, your credentials are handled
automatically. In other words, you can dim up an event log with the machine name and if the credentials of the user running your code can access the
eventlog of that machine, it will just work.

Craig VB.Net Team
 --------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
>From: "Bilge TUTAK" <bilge.tutak@boun.edu.tr>
>Subject: eventlog machinename
>Date: Tue, 7 Sep 2004 11:16:31 +0300
>Lines: 10
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2096
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096
>X-RFC2646: Format=Flowed; Original
>Message-ID: <eFDjzLLlEHA.1904@TK2MSFTNGP09.phx.gbl>
>Newsgroups: microsoft.public.dotnet.languages.vb
>NNTP-Posting-Host: hpnt2.ce.boun.edu.tr 193.140.207.44
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:227789
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
>Hi,
>I want to connect to a remote machine to check the event log. However, I
>could not understand how to provide the credentials for the remote machine.
>I can set the machine name with the machinename property of eventlog class.
>Do I have to have the same credentials on the remote machine to connect to
>it.?
>
>Thanx
>
>
>

Thanks & Regards
Santhosh Somayajulu
Internet Information Services Team,
Microsoft



Relevant Pages

  • RE: VB6 DLL can not write to event logs in IIS 6.0
    ... >¡°The web site is setup to not allow anonymous access. ... that the process runs under the credentials of the user who is accessing ... the event log still can not be written successfully if you use ...
    (microsoft.public.inetserver.iis.security)
  • Re: Help with event viewer errors / warnings
    ... rebooting with credentials entered. ... is also polluting the event log with an error. ... Installation Failure: Windows failed to install the following update ... I don't believe this to be related to the credentials I entered since ...
    (microsoft.public.windows.server.dns)
  • Re: run -> unc server name (just one particualar one) -> "extended error has ocurred"
    ... I saw an event id 14 Kerberos warning in the event log. ... really pay that much attention to it, because it didn't really pop up ... and sure enough there was an entry there for my misbehaving server. ... removed it and then it asked me for my credentials, ...
    (microsoft.public.windows.server.general)
  • Re: Getting a list of logged on users and hosts
    ... you know that any decent log system doesn't just truncate ... Event log is just a message box replacement for services. ... Credentials are a subset of static attributes ... authenticate me they are a credential and no code (including TCB code) has ...
    (microsoft.public.win32.programmer.networks)
  • Re: ... a real easy security problem.
    ... the credentials box just comes back blank. ... Auditing is enabled for this directory, but nothing shows up in the ... event log. ... and assigning the security rights at the directory level. ...
    (microsoft.public.inetserver.iis.security)