How to Find the Hard Drive Serial Number in Windows

To find the manufacturer’s serial number for a physical hard drive or SSD, open PowerShell and query Windows for its disk information. This also works for many USB drives Windows detects. The vol command shows a different value: a volume serial number tied to a drive letter, not the hardware serial you need for a warranty claim.

Windows 10 Start search with Windows PowerShell selected in the results
Search Start for PowerShell and open the app to run the disk query.

Find the physical HDD or SSD serial number

  1. Open PowerShell. Select Start, type PowerShell, and open Windows PowerShell or PowerShell from the results. You normally do not need to run it as administrator for this read-only query.
  2. Run this command:
    Get-CimInstance -ClassName Win32_DiskDrive | Select-Object Index, Model, SerialNumber
    Press Enter. The command asks Windows for its physical-disk records and displays three useful fields.
  3. Find the correct row. Match the model and disk index to the drive you need, then copy the value under SerialNumber. If the computer has several drives, compare their models and disk numbers in Disk Management (right-click Start and choose Disk Management). Do not use a volume letter such as C: as the disk number; a physical disk can contain multiple volumes.
PowerShell showing the Win32 DiskDrive command and sample model and serial number columns
A sample result separates the physical drive’s model from its manufacturer serial number.

The query uses the Win32_DiskDrive class. Microsoft describes it as a physical disk drive as Windows sees it, and defines SerialNumber as the manufacturer-assigned identifier for the physical media. The Get-CimInstance cmdlet is the PowerShell method used here to retrieve that record. The query only reads device details; it does not change or format the drive.

Check an external drive, too

Connect the external HDD or SSD, wait for Windows to recognize it, and run the same PowerShell command again. External USB drives that Windows exposes as physical disks can appear in the results alongside internal storage.

PowerShell sample output listing internal NVMe and SATA drives alongside a USB SSD
External storage may appear in the same list, with its model and serial on a separate row.

If the external device is missing, check that it appears in Disk Management and try another cable or USB port. If its row appears but SerialNumber is blank, the enclosure or USB-to-SATA bridge may not pass the drive’s serial through to Windows. The number shown can also belong to the enclosure or controller instead of the drive. In that case, check the label on the drive or enclosure, the manufacturer’s utility, or the original documentation before giving a serial to support.

Volume serial number vs. hard drive serial number

To see the identifier for a volume such as C:, open Command Prompt and enter:

vol C:

Replace C: with another drive letter as needed. Microsoft documents vol as displaying a disk volume’s label and serial number, if present.

Command Prompt output from vol C: showing a volume label and volume serial number
The output from vol C: is a volume ID, not the manufacturer’s hardware serial.

A volume serial identifies a formatted volume, while the PowerShell result identifies a physical disk. One disk can hold several partitions with different drive letters, so vol can return different volume serials for the same physical hardware. Use the PowerShell result when a manufacturer, repair shop, or warranty form asks for the HDD or SSD serial number.

Why the older WMIC command may fail

Older guides often recommend wmic diskdrive get serialnumber. Microsoft deprecated the WMIC utility starting with Windows 10 version 21H1 and has removed it from Windows 11 version 24H2 and later. Windows Management Instrumentation remains available; it is the WMIC command-line utility that has been phased out. Use the PowerShell query above instead. See Microsoft’s WMIC documentation for the current status.

If the serial is missing or the command fails

Make sure you entered the query in PowerShell, not Command Prompt. If Windows says it cannot find Get-CimInstance, reopen Windows PowerShell from Start and try again. If the command returns no disk rows, first check whether the drive appears in Disk Management; a drive Windows has not detected cannot return a serial through this query.

A blank or generic-looking serial usually means the device, enclosure, RAID controller, or virtual storage layer is not passing through the manufacturer’s physical-drive identifier. Windows can report only what that hardware exposes. For a RAID array, consult the system or controller vendor’s management tool if you need the serial of an individual member disk. Cross-check the model and serial against the label or manufacturer documentation before submitting a warranty request.

References

Leave a Comment

How to Set Different Scaling Levels for Multiple Monitors in Windows 10

How to Set Different Scaling Levels for Multiple Monitors in Windows 10

Adjust each Windows 10 monitor independently with per-display scaling, keep text readable, and troubleshoot custom scaling or blurry apps.

How to Type on an iPhone From a Windows 10 PC

How to Type on an iPhone From a Windows 10 PC

Use AirType’s browser pairing setup to type on an iPhone from a Windows 10 PC, with current setup steps, troubleshooting, and privacy limits.

How to Hide the Mouse Cursor in Windows 10 Apps

How to Hide the Mouse Cursor in Windows 10 Apps

Hide the mouse pointer in Windows 10 videos, games, and other apps with built-in typing controls or PowerToys CursorHide’s adjustable inactivity timer.

How to Open Control Panel Power Options on a Windows 10 Desktop

How to Open Control Panel Power Options on a Windows 10 Desktop

Find Control Panel Power Options on a Windows 10 desktop, open the page with a Run command, and adjust power plans, display timeouts, sleep, and button behavior.

How to Prevent a File from Being Recovered on Windows 10

How to Prevent a File from Being Recovered on Windows 10

Learn what Windows 10 deletion leaves behind, how to use SDelete on an HDD, and why SSDs and cloud backups need separate treatment.

How to Access Advanced Settings for an Integrated Webcam in Windows 10

How to Access Advanced Settings for an Integrated Webcam in Windows 10

Use FFmpeg’s DirectShow tools to open an integrated webcam’s driver properties in Windows 10, find the correct device, and troubleshoot missing controls.

How to Identify a Keypress on Windows 10

How to Identify a Keypress on Windows 10

Identify a keypress in Windows 10 with a browser event tester or SharpKeys, then separate layout, software, and keyboard hardware issues.

How to Enter File or Folder Paths with Spaces in Windows 10 Command Prompt

How to Enter File or Folder Paths with Spaces in Windows 10 Command Prompt

Use double quotes around each complete path with spaces in Command Prompt. Learn how to list, change to, copy, and troubleshoot Windows 10 files and folders.

How to Disable Start Menu Auto-Expand on Windows 10

How to Disable Start Menu Auto-Expand on Windows 10

Turn off the Windows 10 Start menu’s hover-to-expand behavior with a legacy Mach2 command, check build limits, and see the built-in app-list alternative.

How to Fix the “iTunes Library.itl Cannot Be Read” Error in Windows 10

How to Fix the “iTunes Library.itl Cannot Be Read” Error in Windows 10

Fix the iTunes Library.itl read error on Windows 10 by updating iTunes, restoring a compatible backup, or safely creating a new library without deleting media files.