If memory serves, you're looking for SHFormatDrive(). Use the Format method of the Win32_Volume class. Details here. Sounds like you are looking for Disk Management Control Codes. ThI have ended up using a combination of WMI & DeviceIoControl with th…