Use Cmd to Find Your Computer Serial Number

by Eric Wyatt
(last updated August 24, 2020)

2

In another article, we discussed that there are times that you might need your computer's serial number. In that article, we talked about using PowerShell to access said serial number. Being able to use a graphical interface, such as your computer, is helpful as you may not have immediate access to the little sticker typically affixed in some obscure place on your computer.

Using PowerShell is convenient for some; however, others prefer to still use Cmd or sometimes commonly referred to as the Command prompt. Cmd is the older method of entering commands into a terminal application that executes the text commands you enter and then allowing you to control your computer. If you are in the group that prefers Cmd over PowerShell, you can still use a command string to have your computer show you your serial number.

Just as the other article assumes you had PowerShell set to be shown in the secondary Windows menu, this tip assumes you have Cmd or Command prompt set in your secondary Windows menu. To set your preference, refer to the article outlining how to configure Windows' secondary menu.

  1. Right-click on the Start button. Windows displays the secondary Windows Start menu.
  2. Choose Windows Command Prompt (Admin). (Make sure it is the Admin option, not the Windows Command Prompt option without the Admin privileges.) Windows displays the User Account Control asking if you want to allow changes to be made.
  3. Click Yes. The dialog box disappears, and the Administrator Command Prompt dialog box is displayed. (The dialog box will say "Administrator" in the top-left corner.)
  4. At the Command prompt, type the following and then press Enter. You can also copy and paste the command directly into the Command prompt.
  5. wmic bios get SerialNumber
    
  6. Command prompt displays the computer serial number. (See Figure 1.)
  7. Figure 1. A computer's serial number displayed in Cmd.

  8. Close the Command Prompt window.

If you follow these steps and you receive a result of "To be filled by O.E.M.", or any other combination of characters or words, this means your Original Equipment Manufacturer did not save the serial number to the computer's BIOS or UEFI (Unified Extensible Firmware Interface) firmware.

With this handy Cmd or Command prompt command line, you can now access your computer's serial number when you need it, without needing to physically rearrange your computer or move everything at your desk.

 This tip (7720) applies to Windows 10.

Author Bio

Eric Wyatt

Eric Wyatt is a swell guy (or so his friends tell him). He is a formally trained designer and branding expert, bringing a wide range of skills to his Tips.Net articles. ...

MORE FROM ERIC

Be On Time with the Alarms & Clock App

In a busy world, with so much going on it's often important and necessary to track time. Fortunately, the Alarms & Clock ...

Discover More

Weather Maps

Your local meteorologist has access to some handy weather maps. With Windows 10 and the Weather app, you have access to ...

Discover More

Syncing Settings between Computers

When you use a Microsoft account or an Azure Active Directory (Azure AD) account, you can sync settings between the ...

Discover More
More WindowsTips

Dropbox

If you have more than one device and want to easily move files between them, Dropbox is the utility of choice. It ...

Discover More

Process Explorer

Process Explorer is a very well built utility that does a lot, from helping you with performance analysis to finding the ...

Discover More

Understanding Process Monitor

A very useful tool in diagnosing what is going on with processes and/or files is the Process Monitor tool from ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven more than 4?

2020-08-24 09:42:25

Patrick Rourk

Eric, on my system there is no Windows Command Prompt displayed instead I use windows powerShell or PowerShell (Admin). The command prompt comes up directly from there.


2020-08-24 06:41:21

David in Mississippi

I see this article was updated today, but it's still out of date. On the secondary start menu, there IS NO command prompt (Windows 10 Pro, version 2004). Instead it shows Windows PowerShell (Admin). You might want to update your article to provide for this version of Windows.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.