If you want to find out the computer model name and the computer serial number of your Windows 11/10/8/7 PC, here is a simple way to do it using the command prompt.
Find out the local computer model name
First, type ‘cmd’ in Start Search and hit Enter to open a command prompt. Now type the following command to get the local computer model name and hit Enter:
wmic csproduct get name
Find out the laptop or computer serial number
Run the following command to get the computer serial number:
wmic bios get serialnumber
You will see the computer model name and the serial number displayed.
You can use the command wmic csproduct get name
to retrieve the local computer model.
You can also find out the laptop serial number using the following VBscript:
On Error Resume Next Dim strComputer strComputer = InputBox("Enter the name of the computer:") Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colSMBIOS = objWMIService.ExecQuery ("Select * from Win32_SystemEnclosure") For Each objSMBIOS in colSMBIOS MsgBox strComputer & ": " & objSMBIOS.SerialNumber Next
If you cannot see a computer part number or the motherboard details when looking at system properties, check this post if it is either blank or displays To be filled by OEM.
Related: