How do I delete event log source?
John Hall
Updated on May 20, 2026
How do I delete event log source?
You can use the PowerShell command Remove-EventLog. According to the description on Microsoft docs: The Remove-EventLog cmdlet deletes an event log file from a local or remote computer and unregisters all its event sources for the log.
How do I clear the event log in PowerShell?
No for cleaning an event log use the PowerShell command Clear-EventLog. If you want to empty just one log, just type example: Clear-EventLog –LogName Application and the Application log will be emptied.
Can I delete event logs?
To clear any kind of log, select it, right-click, and choose the option of “Clear Log”. To do this, select the event log type from the left panel. Afterward, you can access the log you wish to delete from the right panel and choose the “Clear Log” option from the list of Actions.
How do I delete event log in Event Viewer?
In Windows 10, you can delete event logs in a user-friendly way via the Event Viewer app, but this is best for single events.
- Open Event Viewer. Press the Windows key and type “Event Viewer”.
- Click the Windows log file and then “Clear Log…”
- Click “Save and Clear” or “Clear”
- Clear an Application and Services log.
How do I remove Event Viewer from my computer?
Choose Start > Control Panel. Double-click Administrative Tools, and then double-click Event Viewer. In either pane of the Event Viewer window, right-click System and then select Clear All Events.
How do you delete cluster events?
Just right click the cluster events and select “Reset Recent Events”.
How do I delete Windows event log entries?
To do so :
- a. Press “Windows key + X” and select “Event Viewer”.
- b. Click the “Windows Logs” icon on the left window pane. This expands a list of Event Viewer logs.
- c. Right-click one of the logs you want to clear and select “Clear Log.” Windows deletes the Event Viewer log entry.
- d. Click the “Windows Logs” icon again.
Where are cluster logs stored?
Default location is C:\Windows\Cluster\Reports. Indicates that the cmdlet also logs the health information of the cluster. Specifies the cluster from which to generate cluster logs.
How do I export cluster logs?
You can generate the cluster logs in two ways:
- Use the cluster /log /g command at the command prompt. This command generates the cluster logs to the \windows\cluster\reports directory on each WSFC node.
- Use the Get-ClusterLog PowerShell cmdlet.
Where can I find cluster logs?
You can also use Event Viewer to open a log related to failover clustering. To locate the log, in Event Viewer, expand Applications and Services Logs, expand Microsoft, expand Windows, and then expand FailoverClustering. The log file is stored in systemroot\system32\winevt\Logs.
Where is the WSFC cluster log?
Windows\Cluster\Reports folder
You can generate the cluster debug log by running the Get-ClusterLog PowerShell cmdlet. This will generate a log file for all (or specific) nodes in the WSFC. By default, it will store the cluster debug log files in the C:\Windows\Cluster\Reports folder.