Get hardware serial number from within Windows

Did you ever had the situation that you need to the get the serial number of a Server or PC at a remote location and you only had a remote desktop connection to this device? There is a solution that may work in this situation. Execute the following command from the command line:

wmic bios get serialnumber

That should generate an output like this:

<span style="font-family:Courier New;">SerialNumber</span>
<span style="font-family:Courier New;">CZ12345678</span>

If you configured WMI for remote access you can execute this command directly over the network with the following command line:

<span style="font-family:Courier New;">wmic / bios get serialnumber</span>
Author Image
Carlos Shepardos

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: