Knowing your laptop model is important when you want to buy the correct laptop battery, keyboard, screen, charger, RAM, fan, or other spare parts. It can also help when downloading the right drivers or troubleshooting a laptop problem.
If you are using a Windows laptop, you can quickly find the laptop model using Command Prompt (CMD) without opening the laptop or installing any software.
In this guide, we show you how to check your laptop model using CMD.
Method 1: Check Laptop Model Using WMIC
The easiest way to check your laptop model in many Windows versions is through Command Prompt.
Step 1: Open Command Prompt
Press:
Windows Key + R
Type:
cmd
Then press Enter.
Alternatively, search for “Command Prompt” from the Windows Start menu.
Step 2: Enter the CMD Command
In Command Prompt, type:
wmic csproduct get name
Press Enter.
Your laptop model will appear below the “Name” heading.
For example, the result may show:
HP EliteBook 840 G5
Dell Latitude 5490
Lenovo ThinkPad T480
This is useful when looking for compatible laptop spare parts and accessories.
Method 2: Check Laptop Manufacturer and Model
You can also use CMD to display both the laptop manufacturer and model.
Open Command Prompt and type:
wmic csproduct get vendor,name
Press Enter.
Windows may display something similar to:
Vendor Name
HP HP EliteBook 840 G5
This command is useful because it tells you both the laptop brand and model.
Method 3: Check Laptop Model Using System Information
If the WMIC command does not work on your version of Windows, you can use the System Information tool.
Press:
Windows Key + R
Type:
msinfo32
Press Enter.
The System Information window will open.
Look for:
System Manufacturer
and
System Model
For example:
System Manufacturer: Lenovo
System Model: ThinkPad T480
Why Do You Need to Know Your Laptop Model?
Knowing the exact laptop model can help you find compatible parts and accessories. Different versions of the same laptop series can use different keyboards, batteries, screens, chargers, fans, hinges and other components.
For example, an HP EliteBook 840 G5 may require different parts from an HP EliteBook 840 G6, even though the names are similar.
Before purchasing a laptop spare part, it is therefore recommended to check the exact model number.
How to Check an HP Laptop Model
For HP laptops, you can use the CMD command:
wmic csproduct get name
You can also check the label underneath the laptop or look in the BIOS/UEFI settings.
Some HP laptops have additional product numbers such as:
Product Number: 5XXXXXX#ABA
These numbers can be useful when identifying the exact compatible spare part.
How to Check a Dell Laptop Model
For a Dell laptop, open CMD and enter:
wmic csproduct get name
The result may show a model such as:
Dell Latitude 5490
Dell Latitude 7490
Dell Inspiron 15 5570
For Dell spare parts, it may also be useful to check the Service Tag because some components can vary between configurations.
How to Check a Lenovo Laptop Model
On a Lenovo laptop, open Command Prompt and enter:
wmic csproduct get name
The command may return a model such as:
ThinkPad T480
ThinkPad T490
IdeaPad 320
Yoga 460
For Lenovo batteries and other replacement parts, always compare the laptop model with the part number before purchasing.
What If CMD Does Not Show My Laptop Model?
If CMD does not display the model correctly, try the following:
- Open System Information by typing msinfo32 in the Run box.
- Check the sticker or label underneath the laptop.
- Check the original laptop packaging if available.
- Enter the laptop BIOS/UEFI settings.
- Check the manufacturer’s support website using the serial number or service tag.
Some Windows computers may also show a generic system name instead of the exact commercial model.
CMD Laptop Model Command – Quick Answer
If you only need the command, open Command Prompt and enter:
wmic csproduct get name
Then press Enter.
The displayed result is your laptop’s model name.
If the command is unavailable on your Windows installation, use:
msinfo32
and check the System Manufacturer and System Model fields.
Conclusion
Checking your laptop model using CMD is a quick and convenient way to identify your computer without installing additional software. The information can help you find compatible laptop batteries, keyboards, screens, chargers, fans, RAM and other spare parts.
Always confirm the exact laptop model and, where applicable, the part number before purchasing a replacement component. If you are unsure which laptop spare part you need, providing the laptop model or a photo of the existing part can make identification easier.