• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Deleting event viewer log files

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Deleting event viewer log files

    Hi

    I have created an event viewer log file in error and this appears within Event Viewer.

    I have tried to delete it using the following steps...
    1. disable the event log service
    2. restart windows
    3. delete the *.evt file from system32/config

    however when I restart the service the event log is recreated!

    Is there a file / registry setting that holds a list of the event logs to
    create...?

    Thanks for any help.

    #2
    Originally posted by techno View Post
    Hi

    I have created an event viewer log file in error and this appears within Event Viewer.

    I have tried to delete it using the following steps...
    1. disable the event log service
    2. restart windows
    3. delete the *.evt file from system32/config

    however when I restart the service the event log is recreated!

    Is there a file / registry setting that holds a list of the event logs to
    create...?

    Thanks for any help.
    I assume you are referring to a custom event log. The only way I found to really delete one was to update the event sources in the registry. Buggered if I can remember the keys etc, but this might get you started:-

    http://www.pcreview.co.uk/forums/thread-519883.php

    VS2008 seems to let you do it:-

    http://msdn2.microsoft.com/en-us/library/twdecbsx.aspx

    Comment


      #3
      sorted...

      Thanks ASB, that has sorted the problem...


      I owe you a pint.

      Comment


        #4
        Another matter

        Hi Techno

        I've tried to contact you direct, but can't find a way of doing so...??

        You may remember I was looking for VB.NET help back in January. I thought I had found it, but I have been let down. Are you still interested in assisting?

        colesby@detaildesign.co.uk

        Comment

        Working...
        X