可能与这个问题或者那个,我目前有 16 个“vEthernet(默认交换机)”(德语中为“Standardswitch”,但我怀疑 l10n 与此无关)。除一个外,其余均处于“电缆未连接”状态。
我总共只设置了 5 台 Hyper-V 机器,它们都使用手动创建的外部交换机“vEthernet (Extern)”。我可以通过设备管理器手动删除它们,但它们不断再次出现,而且它们的数量似乎不断增加,甚至比我启动 PC 的频率还要高(见下面的编辑),自上次清理以来启动了 16 次,再想想确实很合理。那么罪魁祸首可能是什么,我该如何找出原因?是否有创建这些设备的事件日志?
--
编辑提到事件日志,我注意到相应的设备属性有一个事件选项卡和一个按钮“所有事件”,可以创建一个查询
<QueryList>
<Query Id="0" Path="Microsoft-Windows-Kernel-PnP/Configuration">
<Select Path="Microsoft-Windows-Kernel-PnP/Configuration">*[System/Provider[@Name='Microsoft-Windows-Kernel-PnP'] and EventData/Data[@Name='DeviceInstanceID']='ROOT\VMS_MP\0005']</Select>
<Select Path="System">*[System/Provider[@Name='Microsoft-Windows-UserPnp'] and UserData/*/DeviceInstanceID='ROOT\VMS_MP\0005']</Select>
</Query>
</QueryList>
所以我放弃了DeviceInstaceID
,屈服
<QueryList>
<Query Id="0" Path="Microsoft-Windows-Kernel-PnP/Configuration">
<Select Path="Microsoft-Windows-Kernel-PnP/Configuration">*[System/Provider[@Name='Microsoft-Windows-Kernel-PnP']]</Select>
<Select Path="System">*[System/Provider[@Name='Microsoft-Windows-UserPnp']]</Select>
</Query>
</QueryList>
每天似乎都会发生 2-3 个错误,这些错误可能与启动我的系统同时发生(我猜这也是一个疑问?),那么:为什么会发生这种情况?为什么每次启动时都会创建一个新的默认开关?
编辑2错误代码始终0xa
与状态一致0xc0000001
,或更详细地:
Protokollname: Microsoft-Windows-Kernel-PnP/Configuration
Quelle: Microsoft-Windows-Kernel-PnP
Datum: 03.05.2019 07:21:32
Ereignis-ID: 411
Aufgabenkategorie:Keine
Ebene: Fehler
Schlüsselwörter:
Benutzer: SYSTEM
Computer: [redacted]
Beschreibung:
Das Gerät ROOT\VMS_MP\0003 wurde gestartet.
Treibername: wvms_mp.inf
Klassen-GUID: {4d36e972-e325-11ce-bfc1-08002be10318}
Dienst: VMSNPXYMP
Untere Filter:
Obere Filter:
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-PnP" Guid="{9C205A39-1250-487D-ABD7-E831C6290539}" />
<EventID>410</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2019-04-15T07:38:13.514403800Z" />
<EventRecordID>1531</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="11876" />
<Channel>Microsoft-Windows-Kernel-PnP/Configuration</Channel>
<Computer>[redacted]</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="DeviceInstanceId">ROOT\VMS_MP\0003</Data>
<Data Name="DriverName">wvms_mp.inf</Data>
<Data Name="ClassGuid">{4D36E972-E325-11CE-BFC1-08002BE10318}</Data>
<Data Name="ServiceName">VMSNPXYMP</Data>
<Data Name="LowerFilters">
</Data>
<Data Name="UpperFilters">
</Data>
<Data Name="Problem">0x0</Data>
<Data Name="Status">0x0</Data>
</EventData>
</Event>
这似乎意味着设备已断开连接或无法访问。在管理事件日志中,我发现两个错误在时间和含义上可能相关:
Protokollname: System
Quelle: Microsoft-Windows-Hyper-V-VmSwitch
Datum: 03.05.2019 07:21:24
Ereignis-ID: 269
Aufgabenkategorie:Keine
Ebene: Fehler
Schlüsselwörter:
Benutzer: SYSTEM
Computer: [redacted]
Beschreibung:
Failed to get Device VlanID Regkey for Physical NIC /DEVICE/{[redacted]}. vSwitch will be created on this Physical NIC without VlanID being inherited by HostVNic. Status = Der Objektname wurde nicht gefunden.
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-VmSwitch" Guid="{67DC0D66-3695-47C0-9642-33F76F7BD7AD}" />
<EventID>269</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2019-05-03T05:21:24.475217200Z" />
<EventRecordID>67541</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="540" />
<Channel>System</Channel>
<Computer>CARTMAN</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="Status">3221225524</Data>
<Data Name="NicNameLen">46</Data>
<Data Name="NicName">/DEVICE/{[redacted]}</Data>
<Data Name="NicFNameLen">1</Data>
<Data Name="NicFName">
</Data>
<Data Name="UniqueEvent">0</Data>
</EventData>
</Event>
Protokollname: Microsoft-Windows-Kernel-EventTracing/Admin
Quelle: Microsoft-Windows-Kernel-EventTracing
Datum: 03.05.2019 07:21:24
Ereignis-ID: 28
Aufgabenkategorie:Provider
Ebene: Fehler
Schlüsselwörter:(2048),(512),Provider
Benutzer: SYSTEM
Computer: [redacted]
Beschreibung:
Fehler beim Festlegen von Merkmalen für den Anbieter {[redacted]}. Fehler: 0xC0000001
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-EventTracing" Guid="{B675EC37-BDB6-4648-BC92-F3FDC74D3CA2}" />
<EventID>28</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>3</Task>
<Opcode>25</Opcode>
<Keywords>0x8000000000000a20</Keywords>
<TimeCreated SystemTime="2019-05-03T05:21:24.238467500Z" />
<EventRecordID>855</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="364" />
<Channel>Microsoft-Windows-Kernel-EventTracing/Admin</Channel>
<Computer>[redacted]</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="ProviderGuid">{[redacted]}</Data>
<Data Name="ErrorCode">3221225473</Data>
</EventData>
</Event>
可能与一台 Hyper-V 机器设置为在启动时启动有关,即使它也使用外部交换机。也许 VLAN-ID 设置也相关... 我将尝试在停用或延迟该机器的情况下重新启动几次,但当然,任何输入也都值得赞赏。
编辑3因此,经过几次重启后,我可以说,只要 Hyper-V 在其配置中有一个外部或内部交换机,就会发生这种情况。这很糟糕。但我是唯一遇到这种情况的人吗?