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 configure TCP/IP settings in Windows

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 the network, whether you're browsing the web or sharing files.

Files That Are Wasting Space on Your PC Without You Realizing

Files That Are Wasting Space on Your PC Without You Realizing

Uncompressed files can silently take up gigabytes of space on your Windows PC—slowing things down and cluttering your drive without you even realizing it.

10 Ways to Fix Missing Bluetooth Option in Windows 11

10 Ways to Fix Missing Bluetooth Option in Windows 11

Bluetooth options have disappeared on your Windows 111 computer? This can happen for a number of reasons, including temporary glitches, corrupted Bluetooth drivers, and issues with the Windows operating system.

How to get and provide remote support using the Quick Assist app in Windows 11

How to get and provide remote support using the Quick Assist app in Windows 11

This guide will show you how to use the Quick Assist app to get help or help someone over a remote connection in Windows 11.

ExpressVPN Now Supports Windows ARM PCs

ExpressVPN Now Supports Windows ARM PCs

One of the world's most popular VPN services - ExpressVPN - has officially launched an app version for Windows PCs running on ARM-based processors.

How to uninstall Adobe Creative Cloud on Windows properly

How to uninstall Adobe Creative Cloud on Windows properly

Few modern Windows apps are as difficult to uninstall as the Adobe Creative Cloud (Adobe CC) suite. However, with the right approach, you can remove Adobe CC and all traces of it in about 10 minutes.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

Do you want to speed up Windows 10, improve Windows 10 speed or speed up Windows 10 startup? All ways to speed up Windows 10 are in this article, please read and apply to make your Windows 10 computer run faster!

How to Install Windows 11 on an Unsupported PC

How to Install Windows 11 on an Unsupported PC

If your PC doesn't meet Microsoft's hardware requirements, don't give up. It's possible to install Windows 11 on unsupported PCs.

How to Restore Display Settings on Windows 11

How to Restore Display Settings on Windows 11

Incorrect or improperly changed Display Settings in Windows 11 can cause problems. Here's how to restore Display Settings in Windows 11.

15 Diagnostic Tools to Check the Health of Your Windows PC

15 Diagnostic Tools to Check the Health of Your Windows PC

Whether you're new to Windows or a veteran, your system will eventually run into problems that aren't easy to diagnose. Before calling tech support, there are a number of PC diagnostic tools you can try.

This hidden setting in Windows will make videos play smoother!

This hidden setting in Windows will make videos play smoother!

Whether you're a streamer or enjoy diving into your personal video library curated over the years, customizing video playback settings on your Windows 11 PC can significantly improve your multimedia experience.

How to use Dynamic Lighting Windows 11 to adjust RGB lights

How to use Dynamic Lighting Windows 11 to adjust RGB lights

Windows 11 introduces an interesting feature called Dynamic Lighting, a system that controls RGB lighting on devices like laptops, keyboards, mice, and other connected devices.

How to Fix Windows Error Code 0xc000000f

How to Fix Windows Error Code 0xc000000f

Error code 0xc000000f is a common error on Windows PCs. Often accompanied by messages like “Windows failed to start” or “Your PC needs to be repaired”, it is the dreaded blue screen of death (BSOD) error that no user wants to see.

How to block application installation on non-system drives Windows 11

How to block application installation on non-system drives Windows 11

If you want to block application installation on drives other than the system drive, you can disable this feature via Group Policy or Registry Editor.

How to check application version installed on Windows 11

How to check application version installed on Windows 11

Although updates are installed automatically, sometimes you may need to check the version of an application on Windows.