GetUSB.info Logo

How To: Get Serial Number of USB Flash Drive

Using the CMD prompt in Windows 10 or 11, it is a one line request to get the serial number of a USB flash drive. The serial number in question is the device serial number which follows the device and will be the same serial number to identify the physical device. This serial number is written into read-only memory on the flash drive and cannot be duplicated or deleted or modified. This is different than the volume serial number which we talk about from a previous post.

Steps are very simple:

# Insert a flash drive (or multiple)

# Select a flash drive by clicking on the drive letter

# In the Explorer path field type cmd

usb flash drive, cmd prompt

This will open the Command Prompt

# Copy the text below and click Enter

wmic path Win32_USBControllerDevice get Dependent | find “USBSTOR”

This request is asking Windows to search the computer for any Mass Storage devices (flash drives) connected to the computer USB Host Controller on the motherboard.

How To Get Serial Number of USB Flash Drive

Serial Number of USB Flash Drive, multiple drives

You do need to parse some information out because more than a serial number is given.

The serial number of the USB flash drive is listed last and there is a &0 at the end which is not part of the serial number. The hardware serial number can range in length so we don’t have a guideline for how long it should be. Typically we see serial number lengths range from 8 to 30 alpha-numeric values.

Using a 3rd party program, you can see the serial number of the USB flash drive matches that of the cmd prompt request.

software to get serial number of USB drive

Was this article helpful?

Tags: , ,

Matt LeBoff

Kicking around in technology since 2002. I like to write about technology products and ideas, but at the consumer level understanding. Some tech, but not too techie.

Copyright © 2006 +

USB Powered Gadgets and more...

All Rights Reserved

GetUSB Advertising

This is a high value website providing great exposure to your product and brand. Visit our advertising page to learn specifics.

For more information
Visit our advertising page.

Nexcopy Provides

USB copy protection with digital rights management for data loaded on USB flash drives.

Contact us learn more