Use Cmd to Find Your Computer Serial Number

Written by Eric Wyatt (last updated August 24, 2020)


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. ...


Use PowerShell to Find Your Computer Serial Number

When you need your computer's serial number you can look it up without looking on the outside of the box. Use PowerShell ...

Discover More

Notes that Stick Around

Throughout your day it can be necessary to quickly write things down to quickly remember later. Unfortunately, a Post-It ...

Discover More

Quick Photo Printing

Windows 10 allows for quick and easy printing of your photos at standard photo sizes. You can start printing your photos ...

Discover More
More WindowsTips

Using 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


Need to find out which files are hogging the most space on your hard drives? The WizTree utility can analyze your drives ...

Discover More


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

Discover More

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}] (all 7 characters, in the sequence shown) 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 six more than 1?

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