How to ID drive serial # from GUI?

Inquixative

New Member
Reaction score
0
Location
Santa Monica, CA
Anyone know of a way to view a hard drive's unique serial number from the desktop? I'm not talking about "device ID", and obviously I know that I can open up the case and see the serial number on the drive.
 
Speccy is a good tool for getting system/hardware information- and they're updating it pretty regularly (it's a relatively new tool, but it does a fantastic job)
-----
but yeah, use Google before wasting time/space here on the forum
-----
 
or you could do this if you wanted something simple :D

HDDSerial.vbs
Code:
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_PhysicalMedia",,48)
For Each objItem in colItems
    Wscript.Echo "SerialNumber: " & objItem.SerialNumber
Next
 
Back
Top