Re: How to write Events into the security log

From: Sudheer N (SudheerN_at_discussions.microsoft.com)
Date: 05/28/05

  • Next message: Monster: "Schannel Memory Leak Problem on win2003"
    Date: Sat, 28 May 2005 00:35:01 -0700
    
    

    I tried already using Registereventsource() and Reportevent() functions given
    in the MSDN. The Registereventsource() function not returning the handle of
    securitylog. It is giving error codes 5 and 6. It is not possible to write in
    the securitylog eventthough i am having administrator privileges. I want to
    write events into the securitylog for local and remote systems. I am using
    the windowsxp. I know the functions which works only in Winnt systems.Those
    are authzregistersecurityeventsource() and authzreportsecurityevent(). I want
    any other way to write events into the security log. Because i must write
    events into the security log of local and remote systems. Please help me.

    "Joe Richards [MVP]" wrote:

    > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/reporting_an_event.asp
    >
    > --
    > Joe Richards Microsoft MVP Windows Server Directory Services
    > www.joeware.net
    >
    >
    > Sudheer N wrote:
    > > Hi,
    > > I am Sudheer. I am a Software Engineer - Newly Joined.This is my first
    > > post. How to write events into the security log. It is not possible to write
    > > events into the security log for local system having administrator
    > > privileges. Please help me in this issue how to write security events into
    > > the security log for remote and local systems. Please help me.
    > >
    >


  • Next message: Monster: "Schannel Memory Leak Problem on win2003"

    Relevant Pages

    • Re: Unusual logon / logoff Security event log
      ... I researched the MPS Report but didn't find the Security log. ... Click Services tab and select Hide All Microsoft Services and Disable ... and a logon GUID. ...
      (microsoft.public.windows.server.sbs)
    • Re: Found hackers folder
      ... Both above will tell you who the IP address is registered to and who the ISP ... In the event that the hacker, if it is a hacker, doesn't have a static ... security log. ... Do you have any kind of security ...
      (microsoft.public.win2000.security)
    • Re: Server refreshes its security policy with wrong values
      ... events in the security log for policy change. ... about enabling file access audit for these using the audit feature NTFS ...
      (microsoft.public.windows.server.security)
    • Event Viewer Security log Access denied
      ... computer regarding the Security log in Event Viewer. ... When I click OK there are no events displayed in the security log, ... This occurred even if I logged on with the local administrator account. ...
      (microsoft.public.windowsxp.general)
    • Re: startup/shutdown events not being logged
      ... It sure looks like your Group Policy is good. ... I set my security logs to be at least 10MB. ... what I am getting in the "security" log of one of my XP Pro SP2 computers ... >>First make sure you are looking in the security log for those events ...
      (microsoft.public.windows.server.security)