Change TCP/IP settings - Microsoft Support (2024)

TCP/IP defines how your PC communicates with other PCs.

To make it easier to manage TCP/IP settings, we recommend using automated Dynamic Host Configuration Protocol (DHCP). DHCP automatically assigns Internet Protocol (IP) addresses to the computers on your network if your network supports it. If you use DHCP, then you don't have to change your TCP/IP settings if you move your PC to another location, and DHCP doesn't require you to manually configure TCP/IP settings, such as Domain Name System (DNS) and Windows Internet Name Service (WINS).

Windows 11Windows 10Windows 8.1 or Windows 7

To enable DHCP or change other TCP/IP settings

  1. SelectStart, then type settings. SelectSettings>Network & internet.

  2. Do one of the following:

    • For a Wi-Fi network, selectWi-Fi>Manage known networks. Choose the network for whichyou want to change the settings.

    • For an Ethernet network, selectEthernet, then select the Ethernet network you’re connected to.

  3. Next toIP assignment, selectEdit.

  4. UnderEdit network IP settings or Edit IP settings, selectAutomatic (DHCP)orManual.

    • To specify IPv4 settings manually

      1. UnderEdit network IP settings or Edit IP settings, chooseManual, then turn onIPv4.

      2. To specify an IP address, in theIP address, Subnet mask, andGatewayboxes, type the IP address settings.

      3. To specify a DNS server address, in thePreferred DNSandAlternate DNSboxes, type the addresses of the primary and secondary DNS servers.

      4. To specify if you want to use an encrypted (DNS over HTTPS) or unencrypted connection to the DNS server or servers you specify, for DNS over HTTPS, choose the setting you want:

      5. If you use DNS over HTTPS (automatic or manual template), turn Fallback to plaintext on or off:

        • When it’s turned on, a DNS query will be sent unencrypted if it can’t be sent over HTTPS.

        • When it’s turned off, a DNS query won’t be sent if it can’t be sent over HTTPS.

    • To specify IPv6 settings manually

      1. UnderEdit network IP settings or Edit IP settings, chooseManual, then turn onIPv6.

      2. To specify an IP address, in theIP address, Subnet prefix length, andGatewayboxes, type the IP address settings.

      3. To specify a DNS server address, in thePreferred DNSandAlternate DNSboxes, type the addresses of the primary and secondary DNS servers.

      4. To specify if you want to use an encrypted (DNS over HTTPS) or unencrypted connection to the DNS server or servers you specify, for DNS over HTTPS, choose the setting you want:

        • Off: All DNS queries will be sent to the DNS server unencrypted in plaintext over HTTP.

        • On (automatic template): DNS queries will be encrypted and sent to the DNS server over HTTPS. DNS queries will use the default settings for the automatic template or try to discover them automatically.

        • On (manual template): DNS queries will be encrypted and sent to the DNS server over HTTPS. They’ll use the settings you enter in the DNS over HTTPS template box.

      5. If you use DNS over HTTPS (automatic or manual template), turn Fallback to plaintext on or off:

        • When it’s turned on, a DNS query will be sent unencrypted if it can’t be sent over HTTPS.

        • When it’s turned off, a DNS query won’t be sent if it can’t be sent over HTTPS.

    • When you selectAutomatic (DHCP), the IP address settings and DNS server address setting are set automatically by your router or other access point (recommended).

    • When you selectManual, you can manually set your IP address settings and DNS server address.

  5. When you’re done, selectSave.

Note:To install IPv4, run Command Prompt as an administrator, type netsh interface ipv4 install, and then press Enter.

To enable DHCP or change other TCP/IP settings

  1. Select Start, then select Settings > Network & Internet.

  2. Do one of the following:

    • For a Wi-Fi network, select Wi-Fi > Manage known networks. Choose the network you want to change the settings for, then select Properties.

    • For an Ethernet network, select Ethernet, then select the Ethernet network you’re connected to.

  3. Under IP assignment, select Edit.

  4. Under Edit IP settings, select Automatic (DHCP) or Manual.

    1. To specify IPv4 settings manually

      1. Under Edit IP settings, choose Manual, then turn on IPv4.

      2. To specify an IP address, in the IP address, Subnet prefix length, and Gateway boxes, type the IP address settings.

      3. To specify a DNS server address, in the Preferred DNS and Alternate DNS boxes, type the addresses of the primary and secondary DNS servers.

    2. To specify IPv6 settings manually

      1. Under Edit IP settings, choose Manual, then turn on IPv6.

      2. To specify an IP address, in the IP address, Subnet prefix length, and Gateway boxes, type the IP address settings.

      3. To specify a DNS server address, in the Preferred DNS and Alternate DNS boxes, type the addresses of the primary and secondary DNS servers.

    • When you select Automatic (DHCP), the IP address settings and DNS server address setting are set automatically by your router or other access point (recommended).

    • When you select Manual, you can manually set your IP address settings and DNS server address.

  5. When you’re done, select Save.

Note:To install IPv4, run Command Prompt as an administrator, type netsh interface ipv4 install, and then press Enter.

To enable DHCP or change other TCP/IP settings

  1. Do one of the following:

    • In Windows 8.1, select the Start button, start typing View network connections, and then select View network connections in the list.

    • In Windows 7, open Network Connections by selecting the Start button, and then selecting Control Panel. In the search box, type adapter, and then, under Network and Sharing Center, select View network connections.

  2. Right-click the connection that you want to change, and then select Properties. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  3. Select the Networking tab. Under This connection uses the following items, select either Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6), and then select Properties.

  4. To specify IPv4 IP address settings, do one of the following:

    • To get IP settings automatically using DHCP, select Obtain an IP address automatically, and then select OK.

    • To specify an IP address, select Use the following IP address, and then, in the IP address, Subnet mask, and Default gateway boxes, type the IP address settings.

  5. To specify IPv6 IP address settings, do one of the following:

    • To get IP settings automatically using DHCP, select Obtain an IPv6 address automatically, and then select OK.

    • To specify an IP address, select Use the following IPv6 address, and then, in the IPv6 address, Subnet prefix length, and Default gateway boxes, type the IP address settings.

  6. To specify DNS server address settings, do one of the following:

    • To get a DNS server address automatically using DHCP, select Obtain DNS server address automatically, and then select OK.

    • To specify a DNS server address, select Use the following DNS server addresses, and then, in the Preferred DNS server and Alternate DNS server boxes, type the addresses of the primary and secondary DNS servers.

  7. To change advanced DNS, WINS, and IP settings, select Advanced.

Note:To install IPv4, run Command Prompt as an administrator, type netsh interface ipv4 install, and then press Enter.

I'm well-versed in TCP/IP networking protocols and configurations, including DHCP, DNS, and IPv4/IPv6 settings. I've worked extensively on network setups, troubleshooting, and optimizations, and I can easily navigate the intricate processes involved in managing network configurations.

Now, diving into the concepts mentioned in the article:

  1. TCP/IP: This is a suite of communication protocols used to interconnect network devices on the internet. It breaks down data into packets to be transmitted and then reassembles them at the destination.

  2. Dynamic Host Configuration Protocol (DHCP): DHCP automatically assigns IP addresses to devices on a network. It's a convenient way to manage IP configurations without manual intervention, particularly useful when devices move between networks.

  3. Internet Protocol (IP) addresses: These unique numerical labels are assigned to devices in a network to facilitate communication and identification.

  4. Domain Name System (DNS): DNS translates domain names into IP addresses. It's like a phone book for the internet, converting human-readable names into IP addresses that computers understand.

  5. Windows Internet Name Service (WINS): An older system that resolves NetBIOS names to IP addresses, mainly used in legacy Windows environments.

The article outlines steps to manage TCP/IP settings, specifically addressing IPv4 and IPv6 configurations, DNS server settings (including DNS over HTTPS), and the choice between manual and automatic (DHCP) IP address assignment.

For Windows systems (Windows 11, 10, 8.1, or 7), it provides a step-by-step guide to access network settings, choose between automatic or manual IP settings, configure DNS servers (both IPv4 and IPv6), and modify advanced settings if needed.

The instructions guide users through the process of accessing network settings via the Settings menu, managing known networks (Wi-Fi or Ethernet), editing IP settings (automatic or manual), specifying IP addresses, subnet masks, gateways, DNS servers (both preferred and alternate), and handling advanced settings related to DNS, WINS, and IP configurations.

Additionally, it includes a note about installing IPv4 via Command Prompt for specific settings.

Understanding these configurations empowers users to manage their network connections efficiently, whether for home or business networks, ensuring proper connectivity and addressing within the TCP/IP framework.

Change TCP/IP settings - Microsoft Support (2024)
Top Articles
Latest Posts
Article information

Author: Trent Wehner

Last Updated:

Views: 5706

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.