The SerialNumber property contains the decimal serial number that uniquely identifies the specified disk volume.
<html> <script language="JScript"> <!-- var drivePath = "C:"; var fileSysObj = new ActiveXObject("Scripting.FileSystemObject"); var drive = fileSysObj.GetDrive(fileSysObj.GetDriveName(drivePath)); document.write("Drive serial number is ",drive.SerialNumber); --> </script> </html>