SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

Can I delete warnings and events from my event viewer?

(37 posts)
  • Started 2 years ago by lasvegasidiot
  • Latest reply from nefetete1
  • Topic Viewed 3324 times

lasvegasidiot
Posts: 15

I have 1,929 administrative events that need to be removed. Can I do this myself?

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

1.Copy Between Lines and Paste in notepad text file. (Do NOT Copy Lines)
====================================================================

@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo Event Logs have been cleared! ^
goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo You must run this script as an Administrator!
echo ^
:theEnd
pause>NUL

====================================================================

2. Save file as Events.txt on desk top.

3. Rename File Events.txt TO Events.bat

4. Double Click on the Bat File to Clear All Windows Logs.

EDIT: 5. You Need to Find Out what is Causing all the Critical Events in the Administrative Log.

Rick P.

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

Thanks Rick! How can I figure out what is causing these events?
Bruce

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

Once the Logs are Cleared, Reboot the Computer and run for a while normally.

Then Copy the Log and paste in a New Post so we can help you configure the system. :) :)

The Administrative Log should NEVER have any entries IF the System is Setup Correctly.

Mine has NO Entries unless I install or may be uninstall something.

Rick P.
(Purist)

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

Thanks looks like I can see the light at the end of the tunnel. Going to work now, I'll get this started tomorrow. Thanks again.
Bruce

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

Bruce,

Be sure to get back with us as this is IMPORTANT.

Have a Good Shift,

Rick P.
(Purist)

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

Rick,
When I double click on my Events.bat file a black window tells me you must run this script as an administrator! (which I see is part of your text), so I am stuck here.
Bruce

Posted 2 years ago
Top
 
Santo
Santo
Posts: 1288

Right click on the Event.bat file and click on "Run as Administrator".

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

You are the man! That seemed to clear it all. I guess I am half way there. Will it be easy to find out what is causing this to happen.
Bruce

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

lasvegasidiot,

Clear them Again and Reboot.

Once the Logs are Cleared, run for a while normally like may be for a day.

Then Copy the Log and Paste in this topic so we can help you configure the system. :) :)

Rick P.

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

Rick,
I can't seem to copy/paste any information from the event viewer. Do you want a list of summary of administrative events, reciently viewed nodes, or log summary? the log summary shows about 80 enabled and 29 disabled.
Bruce

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

Bare with me and I'll post a picture.

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

I can't get the darn picture posted. !?(ARG)

If HTG just had a method to post an Image without going around one's elbow to scratch their .............

====================================================================
Post me a Picture of Administrative Events

Since I don't have any Administrative Events, I used this Security Log for EXAMPLE ONLY.

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

In the summary of admin. events: Critical 0, error 0, warning 0, information 23, audit success 12.

The log Summary is 80 plus items, do you want the 29 that are disabled? most enabled just read microsoft-windows 0 Bytes.
Bruce

Posted 2 years ago
Top
 
Xhi
Xhi
Posts: 6298

I simply copy and paste the URL to the picture using the image button, works every time. For screen images I use either Dropbox or Jing->Screencast for the Internet locations. Simple as pie.

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

Tis a Photo Bucket 3rd party issue. (ARG)

I would use my own Website Servers but Google Crawler always picks'um up and they end up all over the net. (ARG)

Posted 2 years ago
Top
 
Xhi
Xhi
Posts: 6298

I know I go to Google daily, with baited breath, to find out what screen shots you've posted lately. LOL.

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

That's why I quit posting off my sites.

If I had them Hosted, I could get in to the Header Section and stop the Crawler with coding.

At $100 per year per site, that's gets real expensive FAST !!!!

Posted 2 years ago
Top
 
raphoenix
raphoenix
Posts: 14920

lasvegasidiot,

In the summary of admin. events: Critical 0, error 0, warning 0, information 23, audit success 12

The Administrative Log is OK.

What are some of the Information Entries ???

What do mean by 29 Disabled ???

Rick P.

Posted 2 years ago
Top
 
lasvegasidiot
Posts: 15

I seem to have 5 admin. events: Error HAL 12
Error WMI 10
Warning WLAN AutoConfig 4001
Warning User Profile Service 1530 (twice)

I hope that helps, as I can't seem to use any of the examples you have suggested to copy to you.
Bruce

Posted 2 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Enter Your Email Here to Get Access for Free:

Go check your email!