Results 1 to 9 of 9

Thread: cleaning up the event log information

  1. #1
    Join Date
    Oct 2010
    Posts
    44

    cleaning up the event log information

    Hello guys can anyone help me here . My operating system is Windows 7. I want to know here that what is event log and how can it be cleared if I donít want others to see the event which has occurred on my OS.

  2. #2
    Join Date
    Nov 2009
    Posts
    1,269

    Re: cleaning up the event log information

    Event logs are particular files that take a snap shot of the important events on your system, such as when a user logs on to the system or when a program encounters an fault. Whenever these types of events occur, events are recorded in by Windows in an event log that you can access by using Event Viewer. Advanced users may find the particulars in event logs cooperative while going for troubleshooting problems with Windows and other programs.

  3. #3
    Join Date
    Nov 2008
    Posts
    1,185

    Re: cleaning up the event log information

    1. Navigate to the command prompt, click Start, then type there cmd in the Start Search box, and then press Enter.
    2. You will have to type the following command.
    3. Wevtutil cl <logname> [/bu: <backup_file_name> ]
    If you want to learn more about the clear log option of the wevtutil command-line tool, then you will have to type this command at a command prompt: wevtutil cl-?

  4. #4
    Join Date
    May 2008
    Posts
    859

    Re: cleaning up the event log information

    First thing you can do is that start Event Viewer. Navigate to the event log you want to clear in the console tree go to Action menu, and then try clicking on the Clear Log. You can either log or save a copy of the event log or clear the event and then clear it If you are looking for clearing the event log without saving: Click Clear. If you are trying to clear the event log after having saved it then Click Save and Clear, chose a name for the saved file in File name on the Save As dialog box and click Save.

  5. #5
    Join Date
    May 2008
    Posts
    962

    Re: cleaning up the event log information

    Here is a reply check if this helps for you will here's a efficient little command line that will remove all those event log accounts. from a command shell inter into the system as an administrator type or simply paste the following command for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1" letís have a check of this command I am not sure if it will work for you but I have done it on my system so I think it will work on yours too.

  6. #6
    Join Date
    May 2008
    Posts
    1,020

    Re: cleaning up the event log information

    Here is some other help package for you try out this right-click on the log file name in Event Viewer and make a selection for the properties this will leave you with the option.
    ē just Clear the log
    ē The log size should be set to maximum which not directly controls how many messages the log will be holding
    ē Now you have to do one thing that chose whether you have to archive the old events or have to overwrite this

  7. #7
    Join Date
    Oct 2010
    Posts
    44

    Re: cleaning up the event log information

    Thanks for the reply and I am really finding it helpful but the new problem has arrived that there are tons of log files and it will take annoying time to clear them by 'clicking' one by one. Can I have that command which can delete in command line deletes all event log records dozens of them in one go.

  8. #8
    Join Date
    Oct 2010
    Posts
    38

    Re: cleaning up the event log information

    hello friends I am having some other issue that how can Hi. My operating system is Windows 7 and 64 bit, When I tried the above command line for my system The message I got was "it was unexpected at this time". Can you tell me that What parameter should befed to give %1 a value?

  9. #9
    Join Date
    Nov 2008
    Posts
    1,185

    Re: cleaning up the event log information

    I donít know why you do want to clear them all. It is not tons of logs rather it is actually over 400 event viewer log files. You can try this if you want but I donít think clearing all the logs should be worth it Count with wevtutil el | find /c /v . It does not seem to work. If you try replacing the %1 with %%a then I think it must be working in the batch file.

Similar Threads

  1. MSI P67A-GD53 (B3) is crashing getting Kernel Power-Event ID 41 in Event viewer
    By Chellappan in forum Motherboard Processor & RAM
    Replies: 7
    Last Post: 10-12-2011, 10:35 AM
  2. Whea-logger event id:17 warnings in windows event viewer
    By Jona-thon in forum Operating Systems
    Replies: 5
    Last Post: 28-06-2010, 11:38 PM
  3. Replies: 3
    Last Post: 25-02-2009, 02:42 PM
  4. Event ID: 5721 Event Source: NETLOGON member server windows 2003
    By Edwin Delgado in forum Windows Server Help
    Replies: 1
    Last Post: 08-09-2007, 12:41 AM
  5. Event Log Error: Event Source:WinMgmt Event ID:10
    By BlackSunReyes in forum Small Business Server
    Replies: 2
    Last Post: 01-03-2007, 02:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •