Windows event log ยท Microsoft-Windows-Ntfs/Operational142 NTFS-formatted drive attached
Free space and volume name of the attached drive can be derived from this event.
- Windows operational
- 4 fields
Microsoft-Windows-Ntfs%4Operational.evtxMicrosoft-Windows-Ntfs
Notes
- Free space and volume name of the attached drive can be derived from this event.
- Events are created during the first connection since the startup.
- So if the user removes the drive and attaches it again no new logs are going to be made according to my investigation.
Fields EvtxECmd extracts
4 columns in the EvtxECmd CSV
- PayloadData1
VolumeName: %VolumeName%- %VolumeName% = /Event/EventData/Data[@Name="VolumeName"]
- PayloadData2
IsBootVolume: %IsBootVolume%- %IsBootVolume% = /Event/EventData/Data[@Name="IsBootVolume"]
- PayloadData3
LowestFreeSpaceInBytes: %LowestFreeSpaceInBytes%- %LowestFreeSpaceInBytes% = /Event/EventData/Data[@Name="LowestFreeSpaceInBytes"]
- PayloadData4
HighestFreeSpaceInBytes: %HighestFreeSpaceInBytes%- %HighestFreeSpaceInBytes% = /Event/EventData/Data[@Name="HighestFreeSpaceInBytes"]
Sample event
Event XML from the map file
<Event>
<System>
<Provider Name="Microsoft-Windows-Ntfs" Guid="3ff37a1c-a68d-43de-8c9b-f79e8b16c482"/>
<EventID>142</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000200900</Keywords>
<TimeCreated SystemTime="2020-10-13 06:11:22.2517941"/>
<EventRecordID>385</EventRecordID>
<Correlation/>
<Execution ProcessID="4" ThreadID="27824"/>
<Channel>Microsoft-Windows-Ntfs/Operational</Channel>
<Computer>HOSTNAME.domain.com</Computer>
<Security/>
</System>
<EventData>
<Data Name="VolumeGuid">6f349c04-b41a-4cb0-91bb-8c7742123937</Data>
<Data Name="VolumeNameLength">48</Data>
<Data Name="VolumeName">\\?\Volume{6f349c04-b41a-4cb0-91bb-8c7742123937}</Data>
<Data Name="LowestFreeSpaceInBytes">132669440</Data>
<Data Name="HighestFreeSpaceInBytes">132669440</Data>
<Data Name="IsBootVolume">False</Data>
</EventData>
</Event>References
2 links
Source: evtx/Maps/Microsoft-Windows-Ntfs-Operational_Microsoft-Windows-Ntfs_142.map(opens in new tab) by Andrew Rathbun and contributors(opens in new tab), MIT License(opens in new tab)