HDD serial number

Hi,
is there any way to get the serial number of SCSI disks on windows
platforms(2000/NT). We have tried using WMI for this purpose. But the field
is blank. WMI does not report serial number.
Is there any other place where I can get this information.For IDE disks,
this is possible through SMART/IOCTL.

Thanks in advance,
Nagesh Bhattu

You can get this through the SCSI inquiry command. You need to request
paqe code VPD_SERIAL_NUMBER which I think is 0x80 or 0x83. You will have
to probably do this via SCSI passthrough.

–Mark Cariddi
www.osr.com

“Nagesh Bhattu” wrote in message
news:xxxxx@ntdev…
>
> Hi,
> is there any way to get the serial number of SCSI disks on windows
> platforms(2000/NT). We have tried using WMI for this purpose. But the
field
> is blank. WMI does not report serial number.
> Is there any other place where I can get this information.For IDE disks,
> this is possible through SMART/IOCTL.
>
> Thanks in advance,
> Nagesh Bhattu
>
>
>
>
>
>

Thanks Mark for the information you have proivded.

I am a newbie to the SCSI programming. Could you please tell how one can
request code pages/send SCSI commands? If you could give a simple example,
it would be great.

Thanks once again.

Pankaj

“Mark Cariddi” wrote in message news:xxxxx@ntdev…
>
> You can get this through the SCSI inquiry command. You need to request
> paqe code VPD_SERIAL_NUMBER which I think is 0x80 or 0x83. You will
have
> to probably do this via SCSI passthrough.
>
> --Mark Cariddi
> www.osr.com
>
> “Nagesh Bhattu” wrote in message
> news:xxxxx@ntdev…
> >
> > Hi,
> > is there any way to get the serial number of SCSI disks on windows
> > platforms(2000/NT). We have tried using WMI for this purpose. But the
> field
> > is blank. WMI does not report serial number.
> > Is there any other place where I can get this information.For IDE disks,
> > this is possible through SMART/IOCTL.
> >
> > Thanks in advance,
> > Nagesh Bhattu
> >
> >
> >
> >
> >
> >
>
>
>
>