Get Disk Serial Number



  1. Get Disk Serial Number Windows Powershell
  2. Get Disk Serial Number Windows 2012
  3. Get Disk Serial Number Powershell
  4. Powershell Get Disk Serial Number
  5. Hard Drive Serial Number Cmd

3 You will now see the model, name, and serial number listed for your hard drives. The Name will give your the physical drive number that is the same disk number in Disk Management (diskmgmt.msc) to help ID the drives. How to get hard disk serial number for NT For windows 95 and 98, I can use an API call 'GetVolumeInformationA' to get the hard disk number of a local hard-disk. However it does not work for NT 4.0 workstation and servers. The serial number returned is '0000-0000' which is incorrect.

Get Disk Serial Number Windows Powershell

In Windows 10, you can see aserial number for the hard disk installed in your PC using the command line. If you need to print it out or just view your hard drive details without restarting your PC or using a third party tool, it can be done with a single command.

A serial number is a unique number assigned to the hardware by its manufacturer. It is used for identification and inventory purposes. A serial number allows the manufacturer to identify a product and get additional information about it. It may be required for replacement, updating firmware, or for checking compatibility with other hardware.

Usually, the serial number is labeled on the drive's case.

However, it is required that you disassemble your PC to see it. Here is how to see it with built-in Windows 10 tools.

To find Hard Disk Serial Number in Windows 10, do the following.

  1. Open an elevated command prompt.
  2. Type or copy-paste the following command: wmic diskdrive get Name, Manufacturer, Model, InterfaceType, MediaType, SerialNumber.
  3. In the output, you'll see the model, name, and serial number listed for the installed hard drives.

The command above will give you information about the storage devices you have. This is usually not visible without third party tools.

The full list of properties that you can use for the query above is as follows:

  • Availability
  • BytesPerSector
  • Capabilities
  • CapabilityDescriptions
  • Caption
  • CompressionMethod
  • ConfigManagerErrorCode
  • ConfigManagerUserConfig
  • CreationClassName
  • DefaultBlockSize
  • Description
  • DeviceID
  • ErrorCleared
  • ErrorDescription
  • ErrorMethodology
  • FirmwareRevision
  • Index
  • InstallDate
  • InterfaceType
  • LastErrorCode
  • Manufacturer
  • MaxBlockSize
  • MaxMediaSize
  • MediaLoaded
  • MediaType
  • MinBlockSize
  • Model
  • Name
  • NeedsCleaning
  • NumberOfMediaSupported
  • Partitions
  • PNPDeviceID
  • PowerManagementCapabilities
  • PowerManagementSupported
  • SCSIBus
  • SCSILogicalUnit
  • SCSIPort
  • SCSITargetId
  • SectorsPerTrack
  • SerialNumber
  • Signature
  • Size
  • Status
  • StatusInfo
  • SystemCreationClassName
  • SystemName
  • TotalCylinders
  • TotalHeads
  • TotalSectors
  • TotalTracks
  • TracksPerCylinder

You can find their descriptions at the following MSDN page: Win32_DiskDrive.

Get disk serial number free

WMIC is a really useful tool to perform WMI queries in Windows. Here are a few more examples of such queries:

Get Disk Serial Number Windows 2012

  • Get all network adapter details in Windows 10 with this command.
Get disk serial number tool

Another option is PowerShell. It can work as a wrapper for the mentioned Win32_DiskDrive WMI object.

Find Hard Disk Serial Number With PowerShell

  1. Open PowerShell.
  2. Type or copy-paste the following command: Get-WMIObject win32_physicalmedia | Format-List Tag,SerialNumber.
  3. The Tag value will give you the physical drive number that matches the disk number in Disk Management to help with your drive identification.

That's it.

Advertisment

You will find the need to look for the Serial Number of Hard Drive on your Windows computer for warranty and to find a replacement.

Find Serial Number of Computer Hard Drive

Serial Number can be defined as a Unique identifier of product, commonly used by manufacturers and suppliers to identify the device for warranty purposes.

As far as the Users are concerned, Serial Number can be used to look up for information about the product and find out its eligibility for warranty and replacement.

Get Disk Serial Number Powershell

If you did not write down the Serial Number of the Hard Drive on your computer, you can use any of the following methods to Find Serial Number of Hard Drive in Windows 10.

1. Find Serial Number Using WMIC Command

Follow the steps below to find the Serial Number of Hard Drive on your Windows 10 Laptop or Desktop Computer using WMIC command.

Powershell Get Disk Serial Number

1. Right-click on Start button and select Command Prompt (Admin).

2. On Command Prompt screen, type wmic diskdrive get serialnumber and press the Enter key on the keyboard of your computer.

In addition to Serial Number, you can get the Model Number and Manufacturers Name of the Hard Drive by typing wmic diskdrive get model, name, serialnumber and pressing the enter key.

3. Once the Command is executed, you will find the Serial Numbers of Hard Drives attached to your computer.

If running the WMIC command does not display the Serial Number, it is likely that the manufacturer of your computer has not saved the Serial Number to BIOS/UEFI Firmware.

In such a case you can try other methods as listed below to find the Serial Number of Hard Drive on your computer.

2. Find Serial Number Using PowerShell

If the right-click WinX menu displays PowerShell, you can follow the steps below.

Get Disk Serial Number

1. Right-click on Start and Click on PowerShell (Admin).

2. On the PowerShell screen, type Get-WMIObject win32_physicalmedia | Format-List Tag, SerialNumber and press the Enter Key.

3. Once the Command is executed, you will see both the Tag (Name) and Serial Number listed for the Internal Hard Drive on your computer.

Note: Tag Number is also visible on the Disk Management screen and it identifies the physical drive number.

Hard Drive Serial Number Cmd

3. Find Serial Number on Label Attached to Hard Drive

This option requires you to open the computer case or the back panel of your laptop and take a look at the Label attached to the physical Hard Drive.

The Serial Number should be right below the QR Code written as S/N: XXXXXXXX-XXXXXXX.

4. Scan QR Code

If the Serial Number on the label attached to the Hard Drive is not readable, you can scan the QR code printed on the label.

The QR Code usually contains all the information required to check the warranty of the Hard Drive, including its Serial Number.