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

How to enter BIOS (UEFI) on Windows 10, how to fix the error of not being able to enter BIOS Win 10

How to enter BIOS (UEFI) on Windows 10, how to fix the error of not being able to enter BIOS Win 10

Instructions on how to enter BIOS on Windows 10 for you, with video illustration.

How to use hidden video editor on Windows 11

How to use hidden video editor on Windows 11

Clipchamp is the default video editor on Windows 11, but if you just need to make a quick cut, split a simple photo, or add music to a clip, the classic editor inside the Photos Legacy app is a much better choice.

How to download Windows 10 lock screen images from Spotlight to your computer

How to download Windows 10 lock screen images from Spotlight to your computer

Save images from the login screen, download Windows 10 lock screen images to keep the images you like or set them as your computer wallpaper. Here is the most detailed way to download images from Windows Spotlight for you.

How to add End Task to Windows 11 Taskbar

How to add End Task to Windows 11 Taskbar

Windows 11 has a feature that adds an End Task button directly on the Taskbar, so you don't have to access Task Manager to close unresponsive applications.

How to turn on and connect Bluetooth on Windows 11

How to turn on and connect Bluetooth on Windows 11

This article will guide you through the ways to enable Bluetooth on Windows 11 to connect to wireless accessories with just a few simple steps.

How to backup data without using external hard drive

How to backup data without using external hard drive

Sometimes, you just can't find an external hard drive when you need it most. After losing important files a few times, some people have found a simple and reliable way to back up everything, even when the hard drive is unavailable.

4 best ways to hide or protect a Windows folder, without installing additional software

4 best ways to hide or protect a Windows folder, without installing additional software

The methods in this article will help you hide or protect Windows folders from prying eyes.

How to fix The User Profile Service failed the logon error on Windows 10

How to fix The User Profile Service failed the logon error on Windows 10

Most Windows errors occur after you log in to your computer. However, the User Profile Service Failed the Logon error doesn't allow you to log in at all, which is why it's harder to fix than other Windows errors.

How to get another year of free Windows 10 updates

How to get another year of free Windows 10 updates

Windows 10 has just three months left until support ends. In October 2025, the operating system will receive its final update, ending its 10-year lifecycle.

How to Fix Repairing Disk Errors on Windows

How to Fix Repairing Disk Errors on Windows

Errors related to your computer's drive can prevent your system from booting properly and restrict access to your files and applications.

Instructions for setting up and managing FTP Server on Windows 10

Instructions for setting up and managing FTP Server on Windows 10

If you want to create a private cloud to share and transfer large files without any limits, you can create an FTP Server (File Transfer Protocol Server) on your Windows 10 computer.

How to hide and show files in Windows 11 without software

How to hide and show files in Windows 11 without software

If you are looking for a way to hide files on Windows 11 without software, just follow the instructions below.

How to turn off hard drive when not in use on Windows 11

How to turn off hard drive when not in use on Windows 11

If your computer has an SSD and an HDD, you can turn off the hard drive after a period of inactivity.

How to change DNS to surf the web faster, increase Internet speed

How to change DNS to surf the web faster, increase Internet speed

Changing DNS on Windows has many benefits, such as: Accessing some blocked websites, speeding up internet connection, improving network stability. Below is how to change DNS on Windows 10, Windows 7 and other Windows versions. In the last part of the article, WebTech360 will talk a little about why changing DNS helps speed up the internet.

How to Create a Blue Screen of Death (BSOD) to Prank Your Friends

How to Create a Blue Screen of Death (BSOD) to Prank Your Friends

Blue screen of death (BSOD) is a common and not new error of Windows when the computer is experiencing some serious system error.