Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Networking»Here’s How to Enable or Disable DHCP in Windows

Here’s How to Enable or Disable DHCP in Windows

Bhishu AcharyaBy Bhishu AcharyaDecember 4, 2022
enable or disable dhcp

DHCP (Dynamic Host Configuration Protocol) is one of the network protocols that dynamically assigns IP addresses to every device in a network. This ensures that there is no IP address conflict between two or more devices and hence fewer chances of network errors.

However, if you have installed multiple routers, we highly recommend disabling DHCP in one of them. After that, it’s necessary to set a static IP address, subnet mask and default gateway.

Enabling and disabling DHCP on Windows is possible from the built-in Settings, Control Panel, terminal, or even your router’s configuration interface.

Table of Contents

  • How Does DHCP Work?
  • How to Enable or Disable DHCP in Windows 11
    • From Windows Settings App
    • Via Network Connections
    • In Windows Terminal
    • From Router Settings

How Does DHCP Work?

Before diving into the DHCP configuration, let’s get a brief insight into its working. 

When a computer or any other device wants to connect to a network, it generates a request, which is picked by a DHCP server. Now, the server assigns a dynamic IP address to it and keeps monitoring its use.

Once the device is inactive, the DHCP server pulls back the IP and stores it in a pool of addresses. This will be reassigned to another device when it tries connecting to the network.

Below are some of the technical terminologies to help you understand more about the working of DHCP:
  • DHCP Discovery: Broadcast packet sent by a DHCP client to the DHCP server
  • DHCP Offer: An information message sent by the server to the client confirming that it has received the DHCP Discovery
  • DHCP Request: Request message sent by the client device to a DHCP server (from many servers, only one is accepted) to get the offered IP
  • DHCP Acknowledgement: IP settings sent by the DHCP server acknowledging the DHCP Request

How to Enable or Disable DHCP in Windows 11

In most Windows-based PCs, the DHCP server is enabled by default. Hence, these devices obtain IP addresses automatically. But there can be times when you want to use static IP addresses for better DNS support, reliable communication, bypassing firewalls, etc. To achieve this, you’ll need to first disable the DHCP server.

From Windows Settings App

The in-built Settings app on Windows lets you set various configurations, like System, Network, Gaming, Accessibility, and many more. Likewise, enabling and disabling DHCP is also possible here.

Enable DHCP

Firstly, let’s learn how to enable DHCP from the Windows 11 Settings:

  1. Use Windows + I shortcut to open the application.
  2. Go to Network & internet and choose your connection (Wi-Fi or Ethernet).
    network and internet your network
  3. Move to [Your Connection] Properties.
    your connection properties
  4. Now, expand the Properties section and scroll down to find IP Assignment. Here, press the Edit button.
    ip assignment edit button
  5. Once the Edit network IP Settings dialogue box pops up, select Automatic (DHCP) and hit Save.
    edit network ip settings automatic dhcp
  6. Again, click on the Edit button from the DNS server assignment field.
  7. Choose Automatic (DHCP) again and tap Save.
    edit network dns settings set to automatic dhcp

Disable DHCP

If you’re planning to set a static IP address on Windows, the first thing to do is turn off DHCP. Kindly follow the below instructions on how you can do just that:

  1. Press the IP Assignment’s Edit button in the network properties window.
  2. To disable DHCP, expand the drop-down and select Manual.
    edit network ip settings set to manual
  3. Now, toggle on IPv4 or IPv6.
    toggle on ipv4
  4. Input the valid IP Address, Subnet Mask, Preferred DNS, and Alternate DNS. Then, hit Save.
    ip address subnet mask gateway preferred dns alternate dns
  5. Repeat the same process with DNS server assignment.
    edit network dns settings ipv4

Via Network Connections

Network Connections is a dedicated section in Control Panel that lets you configure and manage all the adapters (Ethernet, Wi-Fi, Bluetooth, Virtual Private Network, Virtual Machine, etc.). In this section, you will learn how to tweak IPv4 or IPv6 to enable/disable the DHCP server.

Enable DHCP

As we know, DHCP means automatically assigning the IP addresses on your computer. So, you can use the Network Connections utility to configure this in order to enable DHCP:

  1. Use Windows + R to launch the Run utility. Here, execute the ncpa.cpl command to open the Network Connections window.
  2. Right-click on your network connection (Wi-Fi or ethernet) and choose Properties.
    wifi properties in network connections
  3. In the Networking tab, double-click the Internet Protocol Version 4 (TCP/IPv4).
    double click ipv4
  4. Once a new dialogue box launches, choose the following options –  Obtain an IP address automatically and Obtain DNS server address automatically.
    obtain ip address and dns server address automatically
  5. Press the Ok button to save the changes.
  6. Repeat the same for Internet Protocol Version 6 (TCP/IPv6), and once that’s done, press Ok.
    obtain ip address and dns server address automatically for ipv6

Disable DHCP

To disable DHCP on Windows, you’ll need to set your custom IP address, Subnet Mask, and Default Gateway:

  1. Launch Internet Protocol Version 4 (TCP/IPv4) Properties from the network connection window.
  2. Select Use the following IP addresses. Then, set an appropriate IP address, Subnet Mask, and Default Gateway.
  3. Next, select Use the following DNS server addresses. Here, input preferred and alternate DNS servers.
  4. Hit the Ok buttons on both the properties windows.
    use static ip in ipv4
  5. If you’ve set up IPv6, open Internet Protocol Version 6 (TCP/IPv6) Properties. Then, use static IP and DNS as shown below.
    use following ip and dns in ipv6

In Windows Terminal

Well, it’s possible to enable/disable DHCP via the Windows terminal if you prefer CLI over GUI. Before jumping into the dedicated command lines, we suggest checking whether this is turned on or off:

  1. Navigate to the start menu to search and launch Command Prompt or Powershell.
  2. Run the below command to list all the network adapters on your PC:
    netsh interface ip show config
    netsh interface ip show config
  3. Here, check the DHCP enabled field to identify if DHCP is turned on or off. For example, we are connected to the network via Wi-Fi. So, we will check the Wi-Fi adapter as shown below.
    dhcp disabled

Enable DHCP

If the DHCP enabled field states No, here’s how you can enable it:

  1. In the terminal, execute the following command:
    netsh interface ip set address "Wi-Fi” dhcp
    enable dhcp in powershell
  2. Now, run the below command and check the adapter to confirm that DHCP is now turned on:
    netsh interface ip show config
    dhcp enabled

Disable DHCP

If the DHCP enabled field shows Yes, here’s how you can disable it:

  1. Run the below command line in the terminal to set static IP addresses:
    netsh interface ip set address "Wi-Fi" static [IP Address] [Subnet Mask] [Defaut Gateway]
    netsh interface ip set address static
  2. Then, execute the following to set the primary DNS server:
    netsh interface ip set dnsserver "Wi-Fi" static [Static Address]
    netsh interface ip set dnsserver
    If you get the “The configured DNS server is incorrect or does not exist” error, copy and paste the below command to set it without DNS validation:
    netsh interface ip set dnsserver "Wi-Fi" static 8.8.8.8 validate=no
    netsh interface ip set dnsserver no validation
  3. Finally, run the following command and check the adapter section to confirm that DHCP is now disabled:
    netsh interface ip show config

From Router Settings

The final method to configure DHCP settings is from your router’s configuration page. Indeed, this is much more reliable and even applies to all the other devices on your network. Below are the involved steps that should help you enable/disable DHCP on any router:

  1. Open any web browser and run your router’s address to open the Router Configuration page.
  2. Now, input the username and password. If you’re unsure about this, contact your ISP.
  3. Once you’re logged in, navigate to DHCP > DHCP Settings or a relevant field. This can be distinct for different manufacturers.
  4. In the DHCP server, select the Enable option. Then, save this setting, and the DHCP should turn on.
    dhcp settings enable in router
  5. To disable the DHCP server, select Disable. Then, input both the Start and End IP addresses. Now, save the setting, and this should do your work.
    dhcp settings disable in router
how-to
Bhishu Acharya
  • Tumblr
  • LinkedIn

Bhishu Acharya is a technical content writer at TechNewsToday. He specializes in monitors, laptops, storage devices, and other peripherals. Apart from computer hardware, you can also find his how-to and troubleshooting articles on Windows, internet, security, and networking. Ever since getting his hands on a personal computer, Bhishu started exploring its internal components at just 10. His growing curiosity led him to undertake the Computer Science & Information Technology degree and is just a year away from graduation. While balancing his study and work life for over four years, he has harnessed different sets of technical skills. With his expertise, he is now dedicated to helping netizens looking for hardware and software-related fixes. Today, Bhishu’s proficiency extends beyond computer hardware. In his spare time, he enjoys coding and learning new programming languages. You can contact him at bhishu@technewstoday.com

Related Posts

packet loss test

How To Perform Packet Loss Test On Windows

January 15, 2023
how to reset ethernet adapter

How To Reset Ethernet Adapter

January 2, 2023
does my pc have wifi

Does Your Desktop Have Wi-Fi? Here’s How to Find Out

January 1, 2023
dns server is not responding

8 Ways to Fix “DNS Server Is Not Responding” Error

December 27, 2022
how-to-reset-spectrum-wifi

How to Reset Spectrum Wi-Fi

December 26, 2022
how to update router firmware tp-link

How to Update Router Firmware on TP-Link (2 Possible Ways)

December 26, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how long does a cmos battery last

How Long Does a CMOS Battery Last

January 25, 2023
thunderbolt vs usb c

Thunderbolt Vs USB C: What’s the Difference

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
You may also like
how-to-connect-headphones-to-tv

5 Ways to Connect Headphones to TV

January 29, 2023
connect-airpods-to-samsung-tv

How to Connect AirPods to Samsung TV? (Step-by-Step Guide)

January 29, 2023
AIO Pump Not Working

AIO Pump Not Working? Here’s How to Fix It

January 29, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.