Patch Tuesday updates bricked Event Viewer? Use this fix

2 minute read
June 2019 Patch Tuesday Event Viewer bug

Home » News » Patch Tuesday updates bricked Event Viewer? Use this fix

Microsoft confirmed that the June 2019 Patch Tuesday updates introduced a new issue for Windows users. The Redmond giant says that these updates trigger a bug in the Event Viewer app when you use Customer Views.

This issue affects all those users who updated their devices with the security-only updates, monthly rollups, and cumulative updates released on this Patch Tuesday edition.

According to the official support note, this problem affected almost all versions of Windows 10, Windows 8.1, Windows 7 and Windows Server.

Event Viewer bug

Microsoft explained the issue in the following manner:

When trying to expand, view or create Custom Views in Event Viewer, you may receive the error, “MMC has detected an error in a snap-in and will unload it.” and the app may stop responding or close. You may also receive the same error using Filter Current Log in the Action menu with built-in views or logs. Built-in views and other features of Event Viewer should work as expected.

How to fix Event Viewer bugs after update

The good news is Microsoft suggested a temporary workaround to fix the issue. The tech giant says that you should launch PowerShell with administrator privileges. 

  1. Press Windows key + X, you will see a list of options.
  2. Click Windows PowerShell (Admin) to open PowerShell. 
  3. Copy the code mentioned below and paste it in the new Window opened in front of you.
function get-EventViewer {
                Write-Output "List of custom views on the machine"
                Write-Output ""
                Get-ChildItem "C:\ProgramData\Microsoft\Event Viewer\Views" -Filter *.xml | % { select-xml -Path $_.FullName -xpath "//Name" } | Select-Object -ExpandProperty Node | Select-Object -ExpandProperty InnerXml
                Write-Output ""
                $view_name = Read-Host "Enter the name of custom view to execute"
                # Get the file name of the view
                $ViewFile = Get-ChildItem "C:\ProgramData\Microsoft\Event Viewer\Views" -Filter *.xml | where-object { (Select-Xml -Path $_.FullName -xpath "//Name").Node.InnerXml -eq $view_name }
                Get-WinEvent -FilterXml ([xml]((Select-Xml -Path $ViewFile.FullName -XPath "//QueryList").node.OuterXml))
}

Microsoft promised to release a permanent solution in late June. However, you can use this method to create new views and see custom views that already exist.

Microsoft will release a new batch of cumulative updates in two weeks’ time. Meanwhile, you can develop custom scripts to fix the issue on a temporary basis. 

Alternatively, you can also use one of these event viewer software solutions.

RELATED ARTICLES YOU NEED TO CHECK OUT:

Discussions

Next up

Best Windows 10 foldable laptops you can buy pretty soon

Tashreef Shareef avatar. By: Tashreef Shareef
3 minute read

The evolutions of portable computers aka laptops is staggering, to say the least. From fitting a large desktop power into your backpack (Dulmont Magnum) to […]

Continue Reading

Can’t open Power BI files? Use these solutions

John Taylor avatar. By: John Taylor
2 minute read

Power BI users have been frequently complaining about not being able to open their Power BI files at times. They have experienced error messages when trying […]

Continue Reading

Fix tinted screenshots on Windows 10 with these 2 methods

John Taylor avatar. By: John Taylor
2 minute read

Sometimes, Windows 10 users may report that their screenshots have an orange tint to them, regardless of the screen capturing method they are using. Other […]

Continue Reading