Windows 10: Event viewer clear logs without administrator privileges

Discus and support Event viewer clear logs without administrator privileges in Windows 10 Software and Apps to solve the problem; Dear Microsoft Team,I have a windows 11 laptop. When I am logged with a non-admin user, I cannot clear logs. Is there a possibility to permit this... Discussion in 'Windows 10 Software and Apps' started by c-350, Feb 7, 2024.

  1. c-350 Win User

    Event viewer clear logs without administrator privileges


    Dear Microsoft Team,I have a windows 11 laptop. When I am logged with a non-admin user, I cannot clear logs. Is there a possibility to permit this non-admin user to clear logs in Event Viewer?Regards.

    :)
     
    c-350, Feb 7, 2024
    #1

  2. Clearing Administrative Events Log in Windows10

    How To Clear Administrative Events Log

    The Administrative Events log (listed under Custom Views) in the Event Viewer is a Filter that contains all of the event from the System, Security and Application event logs.

    You can either clear these individual logs, or use the instructions below to clear all the event logs.

    To Clear All Event Logs in Event Viewer in Windows

    cmd shell solution:

    PowerShell solution:

    Source How to Clear All Event Logs in Event Viewer in Windows

    To Clear Individual Event Viewer Logs in Event Viewer

    Source How to Clear All Event Logs in Event Viewer in Windows
     
    DavidPostill, Feb 7, 2024
    #2
  3. S Malik Win User
    Cannot clear Event Viewer logs with .ps1 script

    I created a PowerShell script saved as a .ps1 file, which is stated below. Whenever I run it, it says "Access is denied" and does not clean Event Viewer logs. Please take a look at the attached screenshots and let me know what I am doing wrong. By the way, whenever I run the script below in PowerShell with administrative privileges, it does clear all Event Viewer logs.

    wevtutil el | Foreach-Object {wevtutil cl "$_"}

    Attachment 231000Attachment 231001Attachment 231002
     
    S Malik, Feb 7, 2024
    #3
  4. JohnBurns Win User

    Event viewer clear logs without administrator privileges

    Clear All Event Logs in Event Viewer in Windows  


    FWIW CCleaner will clear the Event Viewer Logs - just check the box under Windows>Advanced>Windows Events Logs. run CCleaner and it's that simple. Much faster than most ,bat files I've tried. Just a suggestion.
     
    JohnBurns, Feb 7, 2024
    #4
Thema:

Event viewer clear logs without administrator privileges

Loading...
  1. Event viewer clear logs without administrator privileges - Similar Threads - Event viewer clear

  2. Event viewer clear logs without administrator privileges

    in Windows 10 Gaming
    Event viewer clear logs without administrator privileges: Dear Microsoft Team,I have a windows 11 laptop. When I am logged with a non-admin user, I cannot clear logs. Is there a possibility to permit this non-admin user to clear logs in Event Viewer?Regards....
  3. Error in event viewer when selecting Administrative log

    in Windows 10 Gaming
    Error in event viewer when selecting Administrative log: Hi, when I open the event viewer and specifically the Administrative Events or the actual log RemoteDesktopServices-RemoteFX-SessionLicensing-Debug I get an error "The system cannot find the file specified". I believe this is some leftover log that may have been removed but...
  4. Error in event viewer when selecting Administrative log

    in Windows 10 Software and Apps
    Error in event viewer when selecting Administrative log: Hi, when I open the event viewer and specifically the Administrative Events or the actual log RemoteDesktopServices-RemoteFX-SessionLicensing-Debug I get an error "The system cannot find the file specified". I believe this is some leftover log that may have been removed but...
  5. Cannot clear Event Viewer logs with .ps1 script

    in Windows 10 Performance & Maintenance
    Cannot clear Event Viewer logs with .ps1 script: I created a PowerShell script saved as a .ps1 file, which is stated below. Whenever I run it, it says "Access is denied" and does not clean Event Viewer logs. Please take a look at the attached screenshots and let me know what I am doing wrong. By the way, whenever I run the...
  6. Cannot clear Event Viewer logs with .ps1 script

    in Windows 10 Support
    Cannot clear Event Viewer logs with .ps1 script: I created a PowerShell script saved as a .ps1 file, which is stated below. Whenever I run it, it says "Access is denied" and does not clean Event Viewer logs. Please take a look at the attached screenshots and let me know what I am doing wrong. By the way, whenever I run the...
  7. Event Viewer Logs

    in Windows 10 Support
    Event Viewer Logs: I’m currently on Win10 Pro x64, version 1709, Build 16299.371. Searching in my Event Viewer, I noticed some logs under the “Applications and Services Logs” folder, which I don’t recall having previously (pointed with red arrow, in the image) and are all inactive! Can...
  8. Clear Event Viewer Scheduler?

    in Windows 10 Support
    Clear Event Viewer Scheduler?: Could someone make the "Clear All Event Viewer Logs using a BAT file" self starting such as making it run automatically on a daily basis or show me what code I would need to add to it to do that for me. I would just love to clear out the 10016s and 7031s codes daily. Thanks...
  9. Clear All Event Logs in Event Viewer in Windows

    in Windows 10 Tutorials
    Clear All Event Logs in Event Viewer in Windows: How to: Clear All Event Logs in Event Viewer in Windows How to Clear All Event Logs in Event Viewer in Windows Event Viewer is a tool that displays detailed information as event logs about significant events on your PC. Event logs are special files that record...
  10. Clearing event viewer entries

    in Windows 10 Support
    Clearing event viewer entries: How can I construct a .bat file to clear entries in the event viewer. Thanks 12367