Clear All Event Logs in Event Viewer in Windows  

Page 6 of 6 FirstFirst ... 456
  1. Brink's Avatar
    Posts : 33,724
    64-bit Windows 10 Pro build 18282
    Thread Starter
       25 Jul 2018 #50

    Barefoot said: View Post
    I was using an older script I beleive I got from Windows Secrets many moons ago. Lately it hasn't been closing the command prompt auotmatically. I wondered why then compared the script here and it had more lines in it. Tried it and it's much slower on the same machine just a few minutes apart. Still not closing automatically. Any ideas why?

    Hello Barefoot,

    The .bat file from Option One should close for you automatically when finished unless you're getting an error message.
    Last edited by Brink; 25 Jul 2018 at 14:19.
      My ComputersSystem Spec

  2.    25 Jul 2018 #51

    This is what I'm getting.
    Name:  image.png
Views: 125
Size:  60.6 KB
    As I Said, I've noticed it not closing only in the last few weeks or so. I should have paid attention when, it would probably coincide with an update. Very interesting...
      My ComputerSystem Spec

  3. Brink's Avatar
    Posts : 33,724
    64-bit Windows 10 Pro build 18282
    Thread Starter
       25 Jul 2018 #52

    Odd. Please try the updated .bat file now in the tutorial to see how it works for you.
    Last edited by Brink; 26 Jul 2018 at 09:04.
      My ComputersSystem Spec

  4.    26 Jul 2018 #53

    That closes the command prompt. Just adding "Exit" at the end of the file works.

    Thank you. A very small thing, but it was curious that the command prompt has been closing for years and only recently has it been staying open. I've never looked at the script until comparing it to yours.

    Curious, without "Exit" it closes on your machine?
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 33,724
    64-bit Windows 10 Pro build 18282
    Thread Starter
       26 Jul 2018 #54

    Yeah, it has always automatically closed without needing "Exit" for me. I'm glad it was able to sort it for you.
      My ComputersSystem Spec

  6.    4 Weeks Ago #55

    Thank you for your handy batch file ! ..
      My ComputerSystem Spec

  7. Brink's Avatar
    Posts : 33,724
    64-bit Windows 10 Pro build 18282
    Thread Starter
       4 Weeks Ago #56

    I'm glad it could help devguru, and welcome to Ten Forums.
      My ComputersSystem Spec


 
Page 6 of 6 FirstFirst ... 456

Tutorial Categories

Clear All Event Logs in Event Viewer in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Event Viewer -- Audit Failure 5061 in Performance & Maintenance
I continue to get this event in the Event Log under Audit Failure. I never had in Windows 8.1 and it started after upgrading to 10. Does anyone have a clue about it? Cryptographic operation. Subject: Security ID: SYSTEM Account...
Worried about event viewer errors in Performance & Maintenance
hi guys managed to install windows 10 and everything seems to be working great. I looked in event viewer and I'm getting loads of errors, the same over and over. one is that keeps coming up is kernel-power event id 137 The system...
Clearing event viewer entries in General Support
How can I construct a .bat file to clear entries in the event viewer. Thanks
TONS of errors in event viewer in Performance & Maintenance
I just clean installed my windows, and have not made any changes as to what would cause these errors.... but in event viewer, since install on the 29th, i have 800 errors and warnings. ive noticed on my other PC that i just installed 10 on...
I'm getting certain repeating errors in Event Viewer when I reboot my new Win Pro 64-bit (after yesterday's upgrade from Win 8.1 Pro 64-bit). Please see the details and post your thoughts here: ...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 03:06.
Find Us