Source: Windows Central
On Windows 10, there could be a lot of reasons you may need to determine specific details (such as serial number, model, firmware version, etc.) about the hard drive on your computer. For instance, when you need to contact technical support to troubleshoot issues or start the process to get a replacement. You're planning to build an array and want to make sure the new drives are the same make and model. Or you're building a detailed inventory of your devices, need to update its firmware, and more.
Of course, a lot of this information you can find it on the label attached to the drive. When the drive is already installed on your computer, you can save a lot of steps and hassles by querying the details you need using the Windows Management Interface Command (wmic) tool with Command Prompt available on Windows 10.
In this Windows 10 guide, we'll walk you through the steps to get information about the hard drives (and removable drives) connected to your device. Additionally, we'll also show you the steps to export the details to text files that you can keep for personal records or send to technical support.
- How to check hard drive information using Command Prompt
- How to export hard drive information to text file using Command Prompt
How to check hard drive information using Command Prompt
If you need to find out the hard drive serial number, model, firmware version, and other information, you can use the wmic with Command Prompt.
Basic hard drive info
To determine some basic information about the hard drive installed on your device, use these steps:
- Open Start.
- Search for Command Prompt and click the top result to open the app.
Type the following command to check the name, brand, model, and serial number information and press Enter:
wmic diskdrive get model,serialNumber,size,mediaType
Source: Windows Central
Once you complete the steps, the command will return the manufacturer, model, serial number, size (bytes), including removable drives like external hard drives and USB flash drives.
You could also add the "manufacturer" and "name" options, but they usually don't return any additional information already available with the option specified in the above command.
Advanced hard drive info
If you need more advanced information about the hard drive, use these steps:
- Open Start.
- Search for Command Prompt and click the top result to open the app.
Type the following command to name, brand, model, and serial number information and press Enter:
wmic diskdrive get model,index,firmwareRevision,status,interfaceType,totalHeads,totalTracks,totalCylinders,totalSectors,partitions
Source: Windows Central
After you complete the steps, the command will output all the information requested formatted in an easy to digest table, including manufacturer, model, serial number, and physical location (port) of all the drives connected to your computer.
Also, you'll be able to determine if any hard drives are reporting hardware problems. The version of the firmware that controls the drive. The type of interface the device is using to connect to the motherboard, as well as the number of partitions and the number of heads, tracks, cylinders, and sectors.
If you're looking to upgrade the storage on your device, we recommend the 860 EVO 500GB Solid-State Drive (SSD) from Samsung because of its reliability, fast read and write speeds and price.
Our pick

Samsung 860 EVO 500GB
This hard drive is reliable and has a proven track record of quality. Its 550MB/s read and 520MB/s write speeds are enough for the majority of users. The price listed here is for the 500GB model, but you can get up to 4TB. $70 at Amazon
Although we're showing you the steps to query specific hard drive information, you can edit the command to find out only the details you need.
Here's the full list of available options:
- 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.
How to export hard drive information to text file using Command Prompt
If you want to export the hard drive details to a text file that you can share easily, use these steps:
- Open Start.
- Search for Command Prompt and click the top result to open the app.
Type the following command to name, brand, model, and serial number information and press Enter:
wmic diskdrive get model,serialNumber,index,mediaType > C:\PATH\TO\TEXT.TXT
This example exports the hard drive details to the current user's folder:
wmic diskdrive get model,serialNumber,index,mediaType > C:\Users\user1\Documents\hdd-info.txt
Source: Windows Central
Once you complete the steps, the information you specified will export to a text file that you can then send to technical support or keep for your records.
We're focusing this guide on Command Prompt, but you can also use these commands with PowerShell.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
We may earn a commission for purchases using our links. Learn more.

Valheim's best feature is its beautiful open world
The Viking-themed survival game Valheim has a lot going for it, but best of all, it's gorgeous to look at. Here's a look at what makes it such a special setting.

It's time: Xbox's achievement system is due for an upgrade
The Xbox platform has grown and evolved into a polished powerhouse that is a far, far cry from what we had with the Xbox One launch in 2013. But there's one aspect of the platform that has become sorely neglected...

Everything you need to know about AMD Radeon RX 6000 GPUs
AMD has unveiled its new lineup of Radeon RX 6000-series graphics cards, with three new pieces of hardware to look forward to. Here's what you need to know.

These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.