How To Get Monitor Serial Number Through Command Prompt Rating: 5,6/10 8739 reviews

How can I get hardware ids/serial numbers through command prompt? Serial number. Browse other questions tagged command-line command-prompt or ask your own. How to get BIOS serialnumber with WMIC command. However, I've tried that command line to get BIOS serial number with my company's PC, I didn't work a bit.

  1. How To Get Monitor Serial Number
  2. Serial Number Idm

I need to get serial number of HP machines and HP monitor For our. Command line utility that. I am still figuring how to get the monitor serial number out.

Eventually I'm going to be using this in Java Applet for extra security to the user. I know it's possible because I remember doing it before, I just can't remember the line that gets the correct information.

I'm searching for a line that will return the Processor ID, Serial number. Just these two are fine.

I have used google and tried a few commands like 'wmic bios get serialnumber' and it doesn't return anything.

The Processor ID and Serial number should be two unique numbers or Strings.

kbzkbz

1 Answer

The BIOS serial number often is not set.

This should always give you unique hardware information with a similar command:

You could also combine this info with more information to be sure it is unique. Some examples:

typ1232typ1232

Not the answer you're looking for? Browse other questions tagged command-linecommand-prompt or ask your own question.

How would I go about viewing a list of COM ports in use without the use of Device Manager?

I don't want to install any software either. Is there a possible way to do this through the command line?

MarmstrongMarmstrong

7 Answers

In the command prompt use

mode

Used without parameters, mode displays all the controllable attributes of the CON (console) and the available COM devices (and LPT as well).

Accepts /? switch for basic help:

mode /?

JosefZJosefZ

In the command prompt use:

OR

In PowerShell:

Serial number lookup

OR

Hope this helps.

vembutechvembutech

I know the question has been answered, but this is another method.

In command prompt, use:
chgport
in windows Vista and up. Lists your ports and which device they are.

Through
Thomas LarsenThomas Larsen

Using mode most of the time I don't see the devices that are not connected.

I prefer to use this solution with Python:

So I can see anything plugged in even if the connection is closed.

serial.tools.list_ports is from package pyserial.

How To Get Monitor Serial Number

G MG M

wmic https://docs.microsoft.com/en-us/windows/desktop/wmisdk/wmic is a windows command line utility to get system information.

If your serial port is virtual created by some driver through USB connection, use this example to get details about these serial ports.

GLamprosGLampros

The snippet below lists serial ports into the $PORTS variable

Serial Number Idm

PORTS=/c/Windows/System32/mode.com grep Status.*COM awk '{ print $4 }' sed s/://

echo -n 'Programming (echoing) ports: 'for aa in $PORTS; do echo -n $aadoneecho '

Peter GlenPeter Glen

You can also run the following from cmd.exe prompt

And here is an open source utility to do the same and more:https://todbot.com/blog/2012/03/02/listcomports-windows-command-line-tool-for-usb-to-serial/

lithiumheadlithiumhead

protected by CommunityFeb 2 at 20:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged command-lineserial-portcom-port or ask your own question.