我的 1809/1903 都中招了. 错误信息:
The process cannot access the file 'C:\ProgramData\Microsoft\Event Viewer\Views\View_0.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.get_IsReadOnlyView()
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.CanRename()
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.SetActionsForNode()
at Microsoft.EventViewer.SnapIn.MMCEventsResultView.InitializeResultView()
at Microsoft.EventViewer.SnapIn.MMCEventsResultView.Microsoft.ManagementConsole.IFormViewControl.Initialize(FormView frm)
at Microsoft.ManagementConsole.FormView.InternalInitialize()
at Microsoft.ManagementConsole.View.HandleInitializationRequest(IRequestStatus requestStatus)
at Microsoft.ManagementConsole.View.ProcessRequest(Request request)
at Microsoft.ManagementConsole.ViewMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)
at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)
打开自定义视图 MMC 就报错.
临时解决方法: 关闭 MMC,删除
C:\ProgramData\Microsoft\Event Viewer\Views\
里面的所有自定义视图即可. 但是自定义的事件筛选等会被删除.
新创建自定义视图仍然会挂, 微软 666.
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.