Windows event log ยท Microsoft-Windows-Hyper-V-Worker-Admin18508 Hyper-V VM was shut down

  • Windows operational
  • 2 fields
  • Microsoft-Windows-Hyper-V-Worker-Admin.evtx
  • Microsoft-Windows-Hyper-V-Worker

Fields EvtxECmd extracts

2 columns in the EvtxECmd CSV

  • PayloadData1'%VmName%' was shut down by the guest operating system. (Virtual machine ID %VmId%)
    • %VmName% = /Event/UserData/VmlEventLog/VmName
    • %VmId% = /Event/UserData/VmlEventLog/VmId
  • PayloadData2Shutdown reason: '%Reason%'
    • %Reason% = /Event/UserData/VmlEventLog/Reason

Sample event

Event XML from the map file

<Event>
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="51ddfa29-d5c8-4803-be4b-2ecb715570fe"/>
    <EventID>18508</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2023-08-04 02:07:10.1532019"/>
    <EventRecordID>185</EventRecordID>
    <Correlation/>
    <Execution ProcessID="852" ThreadID="3028"/>
    <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
    <Computer>WIN-1234</Computer>
    <Security UserID="S-1-5-83-1-3336743379-1228142038-307014030-1792769160"/>
  </System>
  <UserData>
    <VmlEventLog>
      <VmName>New Windows VM</VmName>
      <VmId>C6E2A9D3-F5D6-4933-8EA9-4C12887CDB6A</VmId>
    </VmlEventLog>
  </UserData>
</Event>

References

1 link

Source: evtx/Maps/Microsoft-Windows-Hyper-V-Worker-Admin_Microsoft-Windows-Hyper-V-Worker_18508.map(opens in new tab) by Phill Moore and contributors(opens in new tab), MIT License(opens in new tab)