Dos command to get the hardware ID of a COM port device.

Posted on 2013-09-06
Medium Priority
Last Modified: 2013-09-16
Can i get the hardware ID of a device driver which is connected to a USWB serial port.
We can see the device information with the device manager in Windows.
But i am looking for a DOS command like 'mode' or something.
Question by:e-genpartners
LVL 16

Expert Comment

by:R. Andrew Koffron
ID: 39470790
not sure it's quite what your looking for but take a look at this

LVL 18

Expert Comment

by:Steven Harris
ID: 39470805
Have you tried Devcon?  You can download from Microsoft here - The DevCon command-line utility functions as an alternative to Device Manager

c:\> devcon find pci\*

Open in new window

The above command would give you a listing in the following format:

PCI\VEN_14E4&DEV_1645&SUBSYS_01211028&REV_15\3&172E68DD&0&30: Broadcom NetXtreme Gigabit Ethernet
PCI\VEN_14E4&DEV_1645&SUBSYS_01211028&REV_15\3&172E68DD&0&40: Broadcom NetXtreme Gigabit Ethernet #2
LVL 44

Accepted Solution

Darr247 earned 1020 total points
ID: 39471071
Or you could boot from a Live linux CD or USB stick and run
$ dmesg

Instead of the VEN_XXXX&DEV_YYYY format, dmesg displays them simply like

Devcon also has a findall command that will list all devices ever attached, even if they're not currently attached or active.
devcon findall *

devcon.exe is included with Microsoft's Driver Development Kits, too... if you already have any of those installed.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This tutorial is about creating a new Microsoft Online User Profile account along with how to transfer your files and settings. You may be faced with this situation if your existing user profile has become corrupted.
This tutorial shows a simple method of resetting a forgotten Windows 10 Password, on both a Physical and VM VirtualBox machine without the need for any third-party tools. Both Local and Microsoft Connected accounts are covered. Enjoy...
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question