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.

Leave a Comment

Troubleshooting Windows 11 Accent Color and Background Mismatch

Troubleshooting Windows 11 Accent Color and Background Mismatch

Struggling with Windows 11 accent color and background mismatch? Discover proven fixes to sync your colors perfectly, enhancing your gaming setup without frustration. Step-by-step guide for gamers.

Solving The Selected Disk is of the GPT Partition Style

Solving The Selected Disk is of the GPT Partition Style

Struggling with the "The Selected Disk is of the GPT Partition Style" error during Windows installation? Discover proven solutions to convert your disk from GPT to MBR without data loss and get back to installing smoothly. Step-by-step guide for beginners.

How to Fix Windows 11 V-Sync Not Working in Games

How to Fix Windows 11 V-Sync Not Working in Games

Struggling with V-Sync not working in Windows 11 games? Discover step-by-step fixes to eliminate screen tearing and boost smooth gaming. Updated with the latest solutions for seamless performance.

Solving Edge Browser RESULT_CODE_KILLED_BAD_MESSAGE

Solving Edge Browser RESULT_CODE_KILLED_BAD_MESSAGE

Struggling with the frustrating "RESULT_CODE_KILLED_BAD_MESSAGE" error in Microsoft Edge? Discover proven, step-by-step solutions to resolve crashes and restore smooth browsing. Updated with the latest fixes for optimal performance.

How to Fix Windows 11 Your PC Offline Login

How to Fix Windows 11 Your PC Offline Login

Struggling with the frustrating Windows 11 "Your PC is Offline" login error? Discover proven, step-by-step fixes to get back online and secure your account quickly. No tech expertise needed!

How to Resolve Background is Turned Off by Ease of Access

How to Resolve Background is Turned Off by Ease of Access

Struggling with the "Background is Turned Off by Ease of Access" error in Windows? This comprehensive guide provides step-by-step solutions to resolve it quickly, optimized for gamers to get back to seamless play. Learn how to troubleshoot and prevent this issue for uninterrupted gaming sessions.

How to Fix Windows 11 Powershell ISE Deprecated Error

How to Fix Windows 11 Powershell ISE Deprecated Error

Struggling with the PowerShell ISE deprecated error on Windows 11? Discover proven, step-by-step fixes to restore your scripting powerhouse. No more frustration—get back to coding smoothly today!

How to Fix Windows 11 Smart Card Reader Not Found

How to Fix Windows 11 Smart Card Reader Not Found

Struggling with the Windows 11 "Smart Card" Reader Not Found error? Discover proven, step-by-step fixes to get your smart card reader working seamlessly. No tech expertise needed—boost your productivity today!

How to Enable Windows 11 High Performance Mode

How to Enable Windows 11 High Performance Mode

Discover step-by-step instructions to enable Windows 11 High Performance Mode for maximum speed and efficiency. Boost your PC

How to Use Windows 11 Update Assistant for 2026 Fixes

How to Use Windows 11 Update Assistant for 2026 Fixes

Discover how to use the Windows 11 Update Assistant for 2026 fixes. Get step-by-step guidance to troubleshoot issues, install patches, and keep your PC running smoothly with the latest updates.

Solving Windows 11 Proxy Server Turning On Automatically

Solving Windows 11 Proxy Server Turning On Automatically

Struggling with the Windows 11 "Proxy Server" turning on automatically? Discover proven fixes to stop this annoying issue and regain smooth internet access. Step-by-step guide for all users.

How to Fix Windows 11 DirectX Runtime Error

How to Fix Windows 11 DirectX Runtime Error

Struggling with the frustrating Windows 11 "DirectX Runtime" error? Discover step-by-step fixes to restore smooth gaming and app performance. Quick, reliable solutions for seamless PC experience.

How to Fix Java Security Blocked Error in Browsers

How to Fix Java Security Blocked Error in Browsers

Struggling with Java Security Blocked Error in browsers? Discover proven, step-by-step fixes to unblock Java applets safely and boost your browsing experience without compromising security. Updated with the latest tips for seamless performance.

How to Fix Windows 11 Unexpected Store Exception

How to Fix Windows 11 Unexpected Store Exception

Struggling with the frustrating Windows 11 "Unexpected Store Exception" error? Discover step-by-step fixes to resolve this BSOD quickly and get your PC running smoothly again. Expert tips for 2026.

How to Use Windows 11 Magnifier for Zooming

How to Use Windows 11 Magnifier for Zooming

Discover how to use Windows 11 Magnifier for zooming to enhance your screen visibility. This step-by-step guide covers setup, features, and tips for accessibility and productivity. Perfect for low-vision users or anyone needing quick magnification.