How to configure TCP/IP settings in Windows

Your computer needs a way to communicate with other devices, and that's where TCP/IP comes in. TCP/IP ensures that data moves smoothly across a network, whether you're browsing the web or sharing files. This guide will explore how to configure TCP/IP settings in Windows, as well as how to troubleshoot common TCP/IP problems.

1. Check current TCP/IP settings

Before configuring TCP/IP settings in Windows, you should check their current settings. The easiest way is through the Network and Internet settings panel, where you can see all the details in a clear, visual format. Go to Network & Internet -> Network and Sharing Center . Select "Wi-Fi" if you are connected wirelessly or "Ethernet" if you are using a wired connection.

How to configure TCP/IP settings in Windows
Network settings

Click your Internet connection to view IP settings, then click Details to view network connection details.

How to configure TCP/IP settings in Windows
TCP/IP Details

However, if you need more detailed information, go straight to the command line and run:

ipconfig /all

This command returns the IP address , subnet mask, default gateway and more details in just a few seconds.

How to configure TCP/IP settings in Windows

2. Configure TCP/IP settings using Control Panel

TCP/IP settings can be configured dynamically or statically. Dynamic configuration uses DHCP to automatically assign IP addresses, making network management easier. Static configuration requires manual setup of IP addresses, subnet masks, gateways, and DNS servers.

To configure TCP/IP settings, open Network and internet , and then select a network type.

How to configure TCP/IP settings in Windows
Select network

Navigate to Manage Known Networks .

How to configure TCP/IP settings in Windows
Go to Manage Known Networks

Select a network.

How to configure TCP/IP settings in Windows
Select network to update

Click Edit next to IP assignment to edit the network IP settings.

How to configure TCP/IP settings in Windows
Assign IP

Select Automatic (DHCP) or Manual in the IP assignment settings, and then click to configure the automatic or manual settings.

How to configure TCP/IP settings in Windows
Configure TCP/IP settings

If you select Automatic (DHCP) , Windows will automatically assign the IP address and other network details from the DHCP server. However, if you select Manual , you will need to enter the IP address, subnet mask, gateway, and DNS settings yourself.

First, enable IPv4 or IPv6, based on your requirements:

How to configure TCP/IP settings in Windows
Edit IP settings

Provide details like IP address, subnet prefix length, gateway, preferred DNS and alternate DNS in the respective fields.

How to configure TCP/IP settings in Windows
Provide IP details

You can also enable DNS over HTTPS (DoH) for secure DNS requests and choose between automatic or manual.

How to configure TCP/IP settings in Windows
Enable DNS over HTTPS (DoH)

When using DNS over HTTPS (DoH), you can choose to enable or disable Fallback to plaintext. If enabled, DNS requests will be sent unencrypted when HTTPS is not available. If disabled, DNS requests will not be sent if HTTPS is not available, ensuring that no unencrypted queries are transmitted.

Finally, save the changes.

3. Configure TCP/IP settings using CMD

Command Prompt (CMD) provides a powerful way to configure TCP/IP settings without relying on a graphical interface, giving you complete control over your network configuration. You can use the netsh command to set a static IP, enable DHCP, or adjust DNS settings.

To set a static IP address using the command line, open Command Prompt or PowerShell with admin rights and type:

netsh interface ip set address "" static    
netsh interface ip set dns "" static 

Replace with the name of your network adapter (e.g. "Ethernet" or "Wi-Fi"), with the desired static IP, with the correct subnet mask, with your default gateway, and with your preferred DNS server.

To configure dynamic TCP/IP settings, enter:

netsh interface ip set address "" dhcp 
netsh interface ip set dns "" dhcp

Replace with the network adapter name (e.g. “Ethernet” or “Wi-Fi”). This will enable DHCP for both the IP address and DNS settings, allowing the system to obtain them automatically.

Sign up and earn $1000 a day ⋙

Leave a Comment

7 Smart Ways to Use Your Monitor Without a Computer

7 Smart Ways to Use Your Monitor Without a Computer

When you think of a monitor, you might imagine it connected to a PC or laptop. However, that monitor can actually work with many other devices.

How to turn off background applications on Windows

How to turn off background applications on Windows

Turning off background applications on Windows 10 will help your computer run less sluggishly and save system resources. The following article by WebTech360 will guide readers on how to turn off background applications on Windows 10.

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

How to Build the Perfect, Cheap Streaming System in a Tiny Dorm Room

After countless hours of using their college laptop and desktop speaker setup, many people discover that a few clever upgrades can turn their cramped dorm space into the ultimate streaming hub without breaking the bank.

8 hidden Windows touchpad gestures that make your workflow lightning fast

8 hidden Windows touchpad gestures that make your workflow lightning fast

A laptop's touchpad isn't just for pointing, clicking, and zooming. The rectangular surface also supports gestures that let you switch between apps, control media playback, manage files, and even view notifications.

How to fix Bad System Config Info error in Windows 10

How to fix Bad System Config Info error in Windows 10

Bad System Config Info is a common bug check error on Windows 10 systems. Let's look at some solutions to fix this issue.

How to make Taskbar transparent on Windows 11

How to make Taskbar transparent on Windows 11

Like Windows 10, you can also use third-party software to make Windows 11 Taskbar transparent.

How to invert screen colors using Magnifier Windows 11

How to invert screen colors using Magnifier Windows 11

Using the Magnifier inversion feature on Windows 11 can improve text readability, especially for people who are sensitive to light.

4 ways to pin windows on Windows screen

4 ways to pin windows on Windows screen

If you are wondering how to pin any window to always be on top of other windows (always on top), read this article right away!

Enable XMP to optimize RAM speed

Enable XMP to optimize RAM speed

If you're looking to build your own PC system and decide to invest in some high-speed RAM, how do you make sure your RAM can perform at the advertised speeds?

How to reset Ethernet connection in Windows 11

How to reset Ethernet connection in Windows 11

A quick way to fix the most common wired network problems is to reset your Ethernet connection. Here are the steps to reset your Ethernet connection in Windows 11.

How to add exceptions in Windows Defender on Windows 10

How to add exceptions in Windows Defender on Windows 10

Windows Defender is built into Windows 10 to find malware. To improve performance for tasks like compiling code or running virtual machines, you can add exceptions so Windows Defender will never scan those files.

How to change the default location of the Windows 11 Documents folder

How to change the default location of the Windows 11 Documents folder

If you want, you can move the Documents folder and its contents to another location on your computer, following the instructions below.

Why change default download location in Windows 11?

Why change default download location in Windows 11?

Moving the Download folder from drive C to another drive on Windows 11 will help you reduce the capacity of drive C and will help your computer run smoother.

How to Stop Windows Updates on PC

How to Stop Windows Updates on PC

This is a way to harden and tweak your system so that updates happen on your own schedule, not Microsoft's.

Completely delete the most stubborn files on Windows

Completely delete the most stubborn files on Windows

When you can't open, edit, or delete a file in Windows File Explorer, the file is still open in a program running in the background or something isn't closing properly.