Windows 10: Event wiewer

Discus and support Event wiewer in AntiVirus, Firewalls and System Security to solve the problem; HI I have a uestion,,In event viewer in the security section,can delete the number of events in the security log?... Discussion in 'AntiVirus, Firewalls and System Security' started by HectorEdenburg, Aug 12, 2018.

  1. Event wiewer


    HI I have a uestion,,In event viewer in the security section,can delete the number of events in the security log?

    :)
     
    HectorEdenburg, Aug 12, 2018
    #1

  2. about errors in event wiewer

    Can I remove all the errors and warnings from EVENT WIEWER'S ADMINISTRATIVE EVENTS ?

    If I delete will harm my pc? thanks for help
     
    HectorEdenburg, Aug 12, 2018
    #2
  3. about errors in event wiewer

    Can I remove all the errors and warnings from EVENT WIEWER'S ADMINISTRATIVE EVENTS ?

    -> Yes, you can but it will make no difference whatsoever.

    If I delete will harm my pc?

    -> No, it won't.
     
    Frederik Long, Aug 12, 2018
    #3
  4. ddelo Win User

    Event wiewer

    Export All Administrative Events to Excel


    To analyze events, from the Windows Event Viewer, there is a simple way to export all Administrative Events to Excel, with PowerShell.

    Exporting all Administrative Events to Excel is a simple two Step process, as described here:

    Step 1 - Create the Administrative Events View .xml file
    • Open Eventviewer (%windir%\system32\eventvwr.msc)
    • Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    • In the “Actions” pane select “Filter Current Custom View”.
    • Select the the XML tab.
    • Press Ctrl+A to select all the XML code of the Custom View.
    • Open a notepad, paste the selected code and save the file to your Desktop as AdmEvtView.xml


    Step 2 - Create the csv file with the events
    • Download the ExportEvtCSV.zip file, which contains the script ExportEvtCSV.ps1 and unzip it, on your Desktop.
      It's not a fancy script, just basic PowerShell commands to create a csv file on the Desktop.
    • In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    • To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -force[/quote]
    • In the Windows PowerShell ISE, open and run the script: ExportEvtCSV.ps1
      The script will create a csv file with a name YYYYMMDD.HHMM.csv on the Desktop
    • When done, open the newly created .csv file, format the columns as needed and optionally save it as .xlsx, if you wish.
    That’s it! You now have all the Administrative Events in Excel for filtering and further analysis. Event wiewer :)

    Now to the more technical hard stuff... *Confused

    There is a reason for running the script from within PowerShell ISE!

    It would be great if everything was also working perfectly, when running the script from an elevated PowerShell too.

    We can run it from an elevated PowerShell, which means that you just follow the Step 1, as above but for the Step 2 instead of the ISE you run the script from an elevated PowerShell.

    The problem is that it will work only for anybody who has en-US format for the dates. Everyone else, who has another format (i.e. en-GB, fr-FR, el-GR etc.), the dates are not translated properly by Excel (although the script uses the –UseCulture switch) and remain as text in the en-US format.

    I'm not sure if this a bug of the "export-csv" cmdlet, but although it runs the way it supposed to from within the ISE, from PowerShell there is a problem with the dates format.
    As I haven’t found a way to overcome this obstacle, any suggestion from the PowerShell gurus of the forum (like my good friend Shawn @Brink, for instance), is welcome.
     
    ddelo, Aug 12, 2018
    #4
Thema:

Event wiewer

Loading...
  1. Event wiewer - Similar Threads - Event wiewer

  2. The Most Unusual Events That Happened in Windows 11 Home

    in Windows 10 Software and Apps
    The Most Unusual Events That Happened in Windows 11 Home: Many of the questions I asked in Microsoft Forums were not answered. Especially the administrator disk cleanup caused serious problems on my computer. The problem is that there is no solution for these unusual errors in a modern operating system like Windows 11 Home. And...
  3. The Most Unusual Events That Happened in Windows 11 Home

    in Windows 10 Gaming
    The Most Unusual Events That Happened in Windows 11 Home: Many of the questions I asked in Microsoft Forums were not answered. Especially the administrator disk cleanup caused serious problems on my computer. The problem is that there is no solution for these unusual errors in a modern operating system like Windows 11 Home. And...
  4. Live Kernel Event 124 BSOD

    in Windows 10 Gaming
    Live Kernel Event 124 BSOD: LiveKernelEventCode: 124Parameter 1: 7Parameter 2: ffffa786c6279020Parameter 3: 0Parameter 4: 0OS version: 10_0_26100Service Pack: 0_0Product: 256_1OS Version: 10.0.26100.2.0.0.256.48Locale ID: 1033 .dmp files here: 051025-7171-01.zipThanks, Any help would be greatly...
  5. Live Kernel Event 124 BSOD

    in Windows 10 Software and Apps
    Live Kernel Event 124 BSOD: LiveKernelEventCode: 124Parameter 1: 7Parameter 2: ffffa786c6279020Parameter 3: 0Parameter 4: 0OS version: 10_0_26100Service Pack: 0_0Product: 256_1OS Version: 10.0.26100.2.0.0.256.48Locale ID: 1033 .dmp files here: 051025-7171-01.zipThanks, Any help would be greatly...
  6. Live kernal event 141

    in Windows 10 Gaming
    Live kernal event 141: SourceWindowsSummaryHardware errorDate‎5/‎9/‎2025 10:52 PMStatusNot reportedDescriptionA problem with your hardware caused Windows to stop working correctly.Problem signatureProblem Event Name: LiveKernelEventCode: 141Parameter 1: ffffc709da484320Parameter 2:...
  7. Live kernal event 141

    in Windows 10 Software and Apps
    Live kernal event 141: SourceWindowsSummaryHardware errorDate‎5/‎9/‎2025 10:52 PMStatusNot reportedDescriptionA problem with your hardware caused Windows to stop working correctly.Problem signatureProblem Event Name: LiveKernelEventCode: 141Parameter 1: ffffc709da484320Parameter 2:...
  8. Black Screen of Death BlueScreen Code 139, 13a, and Live Kernel Event 141

    in Windows 10 Gaming
    Black Screen of Death BlueScreen Code 139, 13a, and Live Kernel Event 141: Just recently bought a new computer and have been having issues since day one. Trying really hard to not ship it back, but I'm at my wit's end. Thought I had everything finally ironed out, but now I'm randomly having black screen crashes. The crashes only happen while playing...
  9. Black Screen of Death BlueScreen Code 139, 13a, and Live Kernel Event 141

    in Windows 10 Software and Apps
    Black Screen of Death BlueScreen Code 139, 13a, and Live Kernel Event 141: Just recently bought a new computer and have been having issues since day one. Trying really hard to not ship it back, but I'm at my wit's end. Thought I had everything finally ironed out, but now I'm randomly having black screen crashes. The crashes only happen while playing...
  10. Event ID 41 Kernel Power issue

    in Windows 10 BSOD Crashes and Debugging
    Event ID 41 Kernel Power issue: Hello there,in the recent months I have a Problem with my PC. Crashing, Freezing and unexpected reboots.The following Events occur when the Crashes happens.Kernel - Power Event ID 41TPM Event ID 15Kernel - EventTracing Event ID 28Event logs 6008 and 1101I already tried to...