Windows event log ยท Microsoft-Windows-Hyper-V-Worker-Admin18504 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 using the Shutdown Integration Component. (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>18504</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2023-08-04 01:03:04.5528173"/>
    <EventRecordID>170</EventRecordID>
    <Correlation/>
    <Execution ProcessID="2012" ThreadID="3236"/>
    <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
    <Computer>WIN-1234</Computer>
    <Security UserID="S-1-5-83-1-1570674725-1260853619-2008740250-1715473044"/>
  </System>
  <UserData>
    <VmlEventLog>
      <VmName>VM TOTAL</VmName>
      <VmId>5D9E9825-1973-4B27-9AF1-BA77940A4066</VmId>
      <Force>False</Force>
      <Reason></Reason>
    </VmlEventLog>
  </UserData>
</Event>

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