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

Quick Access deleted on Windows 10 [EXPERT FIX]

Tashreef Shareef avatar. By: Tashreef Shareef
2 minute read

The Quick Access feature in Windows 10 provides a convenient way to access your frequently opened folders and recently opened files. While some may find […]

Continue Reading

Gears of War 5 error 0x00000d1c is plaguing many gamers

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Many Gears of War 5 players who tried to join ranked matches reported experiencing different issues. They keep on getting error 0x00000d6e when they trying […]

Continue Reading

Here’s why Windows 10 users are switching to other platforms

Rabia Noureen avatar. By: Rabia Noureen
4 minute read

People have been dealing with Windows 10 issues since the OS was first introduced in 2015. There are many die-heart Windows fans who prefer to […]

Continue Reading