Windows 10: My administrative event logs

Discus and support My administrative event logs in Windows 10 Gaming to solve the problem; Hi My administrative event logs have thousands of warnings and errors. Is this normal?... Discussion in 'Windows 10 Gaming' started by thanadon pinijmontree, Oct 10, 2023.

  1. My administrative event logs


    Hi My administrative event logs have thousands of warnings and errors. Is this normal?

    :)
     
    thanadon pinijmontree, Oct 10, 2023
    #1
  2. ddelo Win User

    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
    1. Open Eventviewer (%windir%\system32\eventvwr.msc)
    2. Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    3. In the “Actions” pane select “Filter Current Custom View”.
    4. Select the the XML tab.
    5. Press Ctrl+A to select all the XML code of the Custom View.
    6. 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
    1. 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.
    2. In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    3. To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code:
    4. 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
    5. 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. My administrative event logs :)

    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, Oct 10, 2023
    #2
  3. 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, Oct 10, 2023
    #3
  4. DaveM121 Win User

    My administrative event logs

    windows 11 clean administrative events

    Hi, I am Dave, I will help you with this.

    The Administrative Events are not actually a log like the other sections n the event viewer, they are a filtered list of events for the other logs, it is not possible to clear the Administrative events on its own
     
    DaveM121, Oct 10, 2023
    #4
Thema:

My administrative event logs

Loading...
  1. My administrative event logs - Similar Threads - administrative event logs

  2. Is there something wrong with my administrative logs in event viewer? Is this normal?

    in Windows 10 Gaming
    Is there something wrong with my administrative logs in event viewer? Is this normal?: My administrative event logs in event viewer have a bunch of warnings/errors. I don't know if its normal, and I don't know if I should be worried. but if it isn't any help would be great....
  3. Is there something wrong with my administrative logs in event viewer? Is this normal?

    in Windows 10 Software and Apps
    Is there something wrong with my administrative logs in event viewer? Is this normal?: My administrative event logs in event viewer have a bunch of warnings/errors. I don't know if its normal, and I don't know if I should be worried. but if it isn't any help would be great....
  4. 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....
  5. Event viewer clear logs without administrator privileges

    in Windows 10 Software and Apps
    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....
  6. My administrative event logs

    in Windows 10 Software and Apps
    My administrative event logs: Hi My administrative event logs have thousands of warnings and errors. Is this normal? https://answers.microsoft.com/en-us/windows/forum/all/my-administrative-event-logs/c43bca99-5109-4f94-b167-a884d78b6de0
  7. My administrative event logs

    in Windows 10 BSOD Crashes and Debugging
    My administrative event logs: Hi My administrative event logs have thousands of warnings and errors. Is this normal? https://answers.microsoft.com/en-us/windows/forum/all/my-administrative-event-logs/c43bca99-5109-4f94-b167-a884d78b6de0
  8. 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...
  9. 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...
  10. Administrative Events

    in Windows 10 BSOD Crashes and Debugging
    Administrative Events: Hello, I would like to find out more information about what is causing this 2 errors on my computer also how can i fix them?! are they related ?! , if anyone can help me I would really appreciate!! Thank you Error1 Log Name:...