Windows API reference

GetDriveTypeW

Classifies a drive as removable, fixed, remote or CD-ROM.

Library
Kernel32.dll
Category
Enumeration
Suspicion
low

Detection summary

GetDriveTypeW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Task managers, EDR agents, installers, backup tools and inventory software.

Open GetDriveTypeW in the interactive atlas