How To Read Serial Key

Read() Description. Reads incoming serial data. Read() inherits from the Stream utility class. Serial.read() Arduino Mega only: Serial1.read() Serial2.read() Serial3.read() Parameters. None Returns. The first byte of incoming serial data available (or -1 if no data is available) - int. Read() Description. Reads incoming serial data. Read() inherits from the Stream utility class. Serial.read() Arduino Mega only: Serial1.read() Serial2.read() Serial3.read() Parameters. None Returns. The first byte of incoming serial data available (or -1 if no data is available) - int. Read more Read. Mobile App Development. Gina Trapani, Lifehacker's founding editor, thinks the best programmers are self-taught. How to Crack a Wi-Fi Network's WEP Password.

Windows doesn’t display your PC’s serial number anywhere in its interface, and neither do popular system information tools. But you can often find a PC’s serial number with a simple command, a peek in your BIOS, or on the hardware itself.

Run the WMIC Command

Open a Command Prompt window to get started. On Windows 10 or 8, right-click the Start button and select “Command Prompt”. On Windows 7, press Windows + R, type “cmd” into the Run dialog, and then press Enter.

At the Command Prompt, type the following command and then press Enter:

You’ll see the computer’s serial number displayed beneath the text “SerialNumber”. This command uses the Windows Management Instrumentation Command-line (WMIC) tool to pull the system’s serial number from its BIOS.

If you don’t see your PC’s serial number, blame your PC’s manufacturer. The number will only appear here if the PC manufacturer saved it to your computer’s BIOS or UEFI firmware. PC manufacturers don’t always fill in the number properly. In that case, you’ll see something like “0” or “To be filled by O.E.M.” instead of an actual serial number.

RELATED:How to Check Your Motherboard Model Number on Your Windows PC

This is also true if you built your own PC because the PC itself won’t have a serial number. However, you can look up the serial number of your motherboard and other components.

Check the BIOS

You may also be able to find the serial number in the BIOS or UEFI firmware settings screen. This technique won’t get you a serial number if the wmic command didn’t, since the command pulls the serial number from the BIOS. However, checking the BIOS could be helpful if you can’t actually sign into Windows to run the wmic command.

RELATED:What Does a PC’s BIOS Do, and When Should I Use It?

Access the BIOS or UEFI firmware settings screen and look around for a “Serial Number” somewhere on a system information screen. It’ll be in a different place on different PCs, but you can usually find it somewhere on the “Main” or “System” screen.

Find the Serial Number On the PC’s Hardware, Box, or Elsewhere

If you don’t see a serial number after running the wmic command—or if you just can’t turn the PC on or don’t have access to it—there are several other places you might find the serial number:

  • If you have a laptop, flip it over. On some laptops, you’ll see the number on a sticker. On others, you’ll see the number printed directly on the metal or plastic the laptop is made from. If your laptop has a removable battery, the serial number is sometimes on a sticker inside the battery compartment, under the battery.
  • If you have a desktop PC, look at the back, top, or side of the case for some sort of sticker. The number may also be on a sticker inside the case, so you might have to open it up.
  • If you can’t find the serial number on the PC itself, look online for instructions specific to your model. The manufacturer’s website should tell you exactly where to look.
  • If you registered your PC with the manufacturer or received warranty service, the serial number should be included in the registration documentation, warranty service receipt, or email confirmation for the service.
  • If you still have the original product box, it usually has the serial number printed on it—often on the same sticker with the bar code.
  • If you purchased the PC online or in store, the serial number may be printed on the physical or email receipt you received.

And if you just can’t find your serial number at all, don’t give up hope. If you have proof of purchase, the manufacturer still may be able to help you with whatever service you need and may even be able to find out the serial number for you.

READ NEXT
  • › How to Stream UFC 241 Cormier vs. Miocic Live Online
  • › How to Use Chrome’s Hidden “Send Tab to Self” Feature
  • › Microsoft Will Update Notepad Through Windows 10’s Store
  • › Windows 10 Will Show GPU Temperature in the Task Manager
  • › Can You Use AirDrop on a Windows PC or Android Phone?
Active27 days ago

I'm trying to re-enable USB Autoplay in a secure way, by installing a program on each of the computers that I use so that I can run my launcher (PStart in this case) whenever I plug in my specific USB drive. The tool that I'm using to enable this - AutoRunGuard - needs the serial number of the USB drive that I am using. I can't figure out where to find this in Windows. Ideally I would not need to install and run a separate program to do this (seemingly) simple task.

Since this is a pretty easy question, bonus points if you also tell me how to discover it in Linux as well.

What steps do I need to take to retrieve a USB Drive's serial number?

UPDATE:Just incase people come here looking for the answer for AutoRunGuard, I discovered that they don't want the USB device serial number, but the volume serial number. The drive serial can be found by going into the command line, navigating to the drive, and executing dir. The volume serial number is found in the top two lines - use it without the dash.

jamuraa
jamuraajamuraa
3,3862 gold badges24 silver badges26 bronze badges

7 Answers

Use the freeware USBDeview:

USBDeview is a small utility that lists all USB devices that currently connected to your computer, as well as all USB devices that you previously used. For each USB device, exteneded information is displayed: Device name/description, device type, serial number (for mass storage devices), the date/time that device was added, VendorID, ProductID, and more... USBDeview also allows you to uninstall USB devices that you previously used, and disconnect USB devices that are currently connected to your computer. You can also use USBDeview on a remote computer, as long as you login to that computer with admin user.

Gaff
16.3k11 gold badges50 silver badges65 bronze badges
harrymcharrymc
281k16 gold badges295 silver badges612 bronze badges

On Linux, usbview will do this, just click on the device in the left pane.

NVRAMNVRAM

Get USB Serial Numbers on Windows with PowerShell

Here's a PowerShell solution that will give you the serial number of all 'USB Mass Storage Devices' mounted on the system which you run it. It uses Get-CIMInstance to query the Win32_PnPSignedDriver class to get the property values with filtering, looping, setting a couple variables, using a method, etc.

Within the PowerShell script below, I left some commented out logic and comments for running with the legacy Get-WMIObject cmdlet for systems with versions below PowerShell 3.0.

PowerShell

Supporting Resources

How To Read Serial Number 48tec-008-a2a6a0aoao

  • ForEach-Object

    Standard Aliases for Foreach-Object: the '%' symbol, ForEach

  • Where-Object

    The '?' symbol and Where are both aliases for Where-Object. If you explicitly want to run the Where-Object command, run Where-object or '?'

Pimp Juice ITPimp Juice IT
26.8k11 gold badges42 silver badges81 bronze badges

Under Windows 7.1 Right Click 'Computer' -> 'Manage' -> 'Device Manager' -> Navigate to your USB Drive, Right Click -> Properties -> Details, Property->Parent

Value:

The USB unique id is all the characters after the last , in this case 575833314133343231313937

You can also be able to extract it from Property->Device Instance Path, however that includes some other fields after the USB unique id part, so is slightly harder to read off.

gb96gb96

Open Windows Powershell with Administrative privilege

Type get-disk

then it will list you all of the disks on the computer, with disk number on the left.

Suppose the disk in question is number 4.

Type $a = get-Disk -Number 4, after which $a will be a list contains all the properties of this disk. You can view all those information with $a | format-list -Property * Or you can just type $a.SerialNumber If you disk has a serial number, The command would return it.

cascer1
1,4151 gold badge13 silver badges38 bronze badges
ChappaaiChappaai

On linux you can simply do,

It will print all information about usb devices along with serial number also.

KeyJeegar PatelJeegar Patel
3082 gold badges6 silver badges11 bronze badges

How To Read Serial Key West

Right Click 'Computer' -> 'Manage' -> 'Device Manager' -> Navigate to your USB Drive, Right Click -> Properties -> Details

Edit: Unfortunately I have no idea where he got this IDs from, bu the 'Device Instance Id' is the closest guess I have:

It should be the last part after the and without the &0

BobbyBobby

How To Read Serial Key Code

8,1063 gold badges30 silver badges42 bronze badges

How To Read Serial Keys

Not the answer you're looking for? Browse other questions tagged usb or ask your own question.