요약
이벤트 뷰어에서 사용자 지정 보기를 확장하거나, 보거나, 만드는 경우 "스냅인에서 오류를 검색했으며 언로드합니다."라는 오류가 발생하고 앱이 응답하지 않거나 닫힐 수 있습니다. 기본으로 제공되는 보기나 로그와 함께 작업 메뉴에서 현재 로그 필터링을 사용할 경우에도 동일한 오류가 발생할 수 있습니다. 이벤트 뷰어의 기본으로 제공되는 보기 및 기타 기능은 예상한 대로 작동해야 합니다.
해결 방법
이 문제를 해결하려면 다음 함수를 복사하여 PowerShell 창에 붙여 넣고 실행합니다. 이제 get-EventViewer 명령을 PowerShell 프롬프트에서 사용하여 사용자 지정 보기를 확인할 수 있습니다. 새 PowerShell 창을 열 때마다 함수를 다시 입력해야 합니다. 참고 get-EventViewer 함수로는 이전에 정의한 사용자 지정 보기를 볼 수만 있습니다. 새 사용자 지정 보기를 만들려면 FilterHashtable을 통해 Get-WinEvent 쿼리 만들기를 참조하세요.
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))
}
다음 단계
이 문제는 이제 다음 업데이트를 통해 모든 플랫폼에서 해결되었습니다.
-
Windows 10, 버전 1903용 KB4501375 LCU
-
Windows 10, 버전 1809 및 Windows Server 2019용 KB4501371 LCU.
-
Windows 10, 버전 1803용 KB4503288 LCU.
-
Windows 10, 버전 1709용 KB4503281 LCU.
-
Windows 10, 버전 1703용 KB4503289 LCU.
-
Windows 10, 버전 1607 및 Windows Server 2016용 KB4503294 LCU .
-
Windows 10, 버전 1507용 KB4507458 LCU
-
보안 전용 업데이트를 사용하는 고객을 위한 Windows 8.1 및 Windows Server 2012 R2용 KB4503283 월별 롤업 미리 보기.
-
Windows 8.1 및 Windows Server 2012 R2용 KB4508773 업데이트.
-
Windows Server 2012 및 Windows Embedded 8 Standard용 KB4503295 월별 롤업 미리 보기.
-
보안 전용 업데이트를 사용하는 고객을 위한 Windows Server 2012 및 Windows Embedded 8 Standard용 KB4508776 업데이트.
-
Windows 7 SP1 및 Windows Server 2008 R2 SP1용 KB4503277 월별 롤업 미리 보기.
-
보안 전용 업데이트를 사용하는 고객을 위한 Windows 7 SP1 및 Windows Server 2008 R2 SP1용 KB4508772 업데이트.
-
Windows Server 2008 SP2용 KB4503271 월별 롤업 미리 보기.
-
보안 전용 업데이트를 사용하는 고객을 위한 Windows Server 2008 SP2용 KB4508774 업데이트.
해당 업데이트
영향을 받는 플랫폼을 대상으로 2019년 6월 11일에 릴리스된 다음 LCU(최신 누적 업데이트), 월별 롤업 및 보안 전용 업데이트에 이 문제가 발생할 수 있습니다.
-
Windows 10, 버전 1903용 KB4503293 LCU.
-
Windows 10, 버전 1809 및 Windows Server 2019용 KB4503327 LCU.
-
Windows 10, 버전 1803용 KB4503286 LCU.
-
Windows 10, 버전 1709용 KB4503284 LCU.
-
Windows 10, 버전 1703용 KB4503279 LCU.
-
Windows 10, 버전 1607 및 Windows Server 2016용 KB4503267 LCU .
-
Windows 10, 버전 1507용 KB4503291 LCU.
-
Windows 8.1 및 Windows Server 2012 R2용 KB4503276 월별 롤업.
-
Windows 8.1 및 Windows Server 2012 R2용 KB4503290 보안 전용 업데이트.
-
Windows Server 2012 및 Windows Embedded 8 Standard용 KB4503285 월별 롤업.
-
Windows Server 2012 및 Windows Embedded 8 Standard용 KB4503263 보안 전용 업데이트.
-
Windows 7 SP1 및 Windows Server 2008 R2 SP1용 KB4503292 월별 롤업.
-
Windows 7 SP1 및 Windows Server 2008 R2 SP1용 KB4503269 보안 전용 업데이트.
-
Windows Server 2008 SP2용 KB4503273 월별 롤업.
-
Windows Server 2008 SP2용 KB4503287 보안 전용 업데이트.