How to Find Your Laptop's IP Address and Computer Name in Command Prompt

Author

Reads 0

A partially open laptop on a table, illuminated by dynamic light trails, creating a modern tech ambiance.
Credit: pexels.com, A partially open laptop on a table, illuminated by dynamic light trails, creating a modern tech ambiance.

On a Windows desktop or laptop, open Command Prompt, run ipconfig/all, and press Enter. Find Host Name for the computer name and IPv4 Address for the IP address.

Consider reading: Long Hot Pockets Microwave

Run ipconfig/all in Command Prompt

  1. Open the Command Prompt. In Windows 10, type cmd in the Search field, then click Command Prompt (desktop app) in the results. The Command Prompt window opens.
  2. Type ipconfig/all after the prompt and press Enter.

Find the Host Name and IPv4 Address in the Output

  • Locate Host Name. Host Name is the same as and also can be referred to as Computer Name.
  • Find and copy the IPv4 Address. This is your IP Address.

Do Not Use the Physical Address as the IP Address

The output also shows Physical Address, which is the same as and also can be referred to as MAC Address. Do not confuse the Physical Address/MAC address with the IP address.

Frequently Asked Questions

What command shows both my laptop's IP address and computer name?

Run ipconfig/all in Command Prompt. The output includes Host Name, which is the computer name, and IPv4 Address, which is the IP address.

How do I open Command Prompt on Windows 10 to run ipconfig/all?

Type cmd in the Search field, then click Command Prompt (desktop app) in the results. The Command Prompt window opens, and you can type ipconfig/all after the prompt and press Enter.

Where in the ipconfig/all output is the computer name listed?

Locate Host Name in the output. Host Name is the same as and also can be referred to as Computer Name.

Is the Physical Address the same as the IP address?

No. Physical Address is the same as and also can be referred to as MAC Address. Do not confuse the Physical Address/MAC address with the IP address.

Claire Beier

Senior Writer

Claire Beier is a seasoned writer with a passion for creating informative and engaging content. With a keen eye for detail and a talent for simplifying complex concepts, Claire has established herself as a go-to expert in the field of web development. Her articles on HTML elements have been widely praised for their clarity and accessibility.

Love What You Read? Stay Updated!

Join our community for insights, tips, and more.