Find your drive information with the wmic command

In there is the special wmic command that can provide you with a large amount of information about your system. Today we will deal with it to get details about the disk drives of our computer.

Windows 10 tweaks wmic

Sometimes you have to find fast about your storage media connected to your computer, including their serial number, make, model and a number of other properties. You can have all this with a single command from the taskbar. Let's see how it can be done.

There is a special command, the WMIC, which uses Windows Management Instrumentation (WMI) to provide information about all of the storage devices installed in Windows. It works in all modern versions of Windows, including Windows 10. You can use it as follows:

Open a taskbar window and type or copy-paste the following command:

wmic diskdrive get Name, Manufacturer, Model, InterfaceType, MediaType, SerialNumber

It will return you information about the storage devices you have that is not usually visible without third-party tools. In our case, the of our search were:

%cf%83%cf%84%ce%b9%ce%b3%ce%bc%ce%b9%cf%8c%cf%84%cf%85%cf%80%ce%bf-%ce%bf%ce%b8%cf%8c%ce%bd%ce%b7%cf%82-58

The full list of properties 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
  • Size
  • Status
  • StatusInfo
  • SystemCreationClassName
  • SystemName
  • TotalCylinders
  • TotalHeads
  • TotalSectors
  • TotalTracks
  • TracksPerCylinder

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

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).