Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP

Posted by dta on Stack Overflow See other posts from Stack Overflow or by dta
Published on 2009-04-02T10:05:13Z Indexed on 2010/03/30 9:33 UTC
Read the original article Hit count: 810

Filed under:
|
|
|

Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP : How can it be done? I want to store it in a file.

OS : windows 2000,XP,ME,Vista...

Yes, I want the serial number of the hard drive of the Server.

Or can it be done through Adobe AIR? Or can it be done through a C program on Windows?

C:\Documents and Settings\Administrator>dir
 Volume in drive C has no label.
 Volume Serial Number is BC16-5D5F

Is this number : BC16-5d5f unique for a hard drive? How is it different from the manufacturer given serial number?

This command
**wmic DISKDRIVE GET SerialNumber**
Displays only the following text
on my Vista Machine : 
SerialNumber

On my XP machine,
the command is unrecognized

© Stack Overflow or respective owner

Related posts about php

Related posts about harddrive