TechBuzzPro

Enable DHCP on Windows: Quick Step‑by‑Step Guide

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step‑by‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can enable DHCP on Windows by switching the IP assignment mode to Automatic in the network settings or using a command‑line tool. This will let the router hand out an IP address, subnet mask, gateway, and DNS servers automatically, which is ideal for most home and office networks.

What You'll Need

  • A Windows computer (Windows 10 or 11) with administrator privileges.
  • The name of the network adapter you want to configure (e.g., Ethernet, Wi‑Fi).
  • Optional: a backup of the current adapter settings in case you need to revert.

Step‑by‑Step

  1. Open the Settings app. You can do this by pressing Win + I or clicking the Start button and selecting the gear icon. The exact wording of the menu may vary slightly between Windows 10 and Windows 11, but the path is consistent: Settings > Network & Internet.
  2. Choose the type of connection you are using. For a wired connection click Ethernet; for wireless, click Wi‑Fi and then select the connected network from the list.
  3. Locate the IP settings section. Under the adapter’s name you will see a line that says IP assignment or IP settings. Click the Edit button next to it.
  4. A small dialog opens. If the current mode is Manual, change the drop‑down from Manual to Automatic (DHCP). If it already says Automatic (DHCP), the adapter is already configured correctly.
  5. Click Save to apply the change. The adapter will briefly disconnect and reconnect. You should see a status that says Connected and a new IP address in the range your router assigns.
  6. Verify the change by opening a command prompt (Win + R, type cmd, press Enter) and running ipconfig /all. Look for the adapter’s IPv4 address, Subnet Mask, Default Gateway, and DNS Servers. They should match the values your DHCP server provides.

Common Mistakes

  • Running the Settings app without administrator rights. If you do not see the Edit button, right‑click the Settings icon and choose Run as administrator or use the netsh command line with elevated privileges.
  • Editing the wrong network adapter. Windows can have multiple adapters (Ethernet, Wi‑Fi, VPN, virtual adapters). Double‑check the adapter name before making changes.
  • Leaving the adapter in Manual mode after switching to Automatic. The Save button must be clicked; otherwise the setting reverts when the dialog closes.
  • Forcing a static IP that conflicts with another device on the network. If you accidentally set a duplicate IP, the network will drop connectivity.
  • Assuming DHCP will work over a VPN. Most VPN clients disable DHCP on the virtual adapter; you may need to configure the VPN separately.

Tips

  • Use netsh interface ip show config in an elevated command prompt to see the current configuration of all adapters without opening Settings.
  • If you prefer PowerShell, run Get-NetIPConfiguration -InterfaceAlias "Ethernet" to display the same information.
  • For bulk changes on multiple machines, a Group Policy or PowerShell script can set DHCP enabled on all target adapters.
  • Keep your network drivers up to date. Out‑of‑date drivers can cause DHCP to fail silently.
  • After enabling DHCP, you can optionally set a DHCP lease time on the router to control how often the IP address renews.

Troubleshooting

  1. Restart the computer and the router. A fresh start often clears transient network glitches.
  2. Run ipconfig /release followed by ipconfig /renew in an elevated command prompt. This forces the adapter to request a new lease from the DHCP server.
  3. Check the adapter’s status in the Network Connections panel (Win + R, type ncpa.cpl). Right‑click the adapter, choose Properties, then double‑click Internet Protocol Version 4 (TCP/IPv4). Ensure Obtain an IP address automatically is selected.
  4. Verify the router’s DHCP server is running and has available IP addresses in its pool. If the pool is exhausted, add more addresses or reduce the lease time.
  5. Temporarily disable any third‑party firewall or security software that might block DHCP traffic. Windows Defender Firewall can be turned off for testing via Settings > Update & Security > Windows Security > Firewall & network protection.
  6. If the adapter still shows Unassigned or No IP address, reset the network stack: open an elevated command prompt and run netsh int ip reset, then restart the PC.

Frequently Asked Questions

Can I enable DHCP on a Wi‑Fi adapter the same way as Ethernet?

Yes. The Settings path is the same; just select Wi‑Fi > your connected network, then edit the IP settings.

What if my network uses a static IP for the router?

DHCP only assigns IPs to client devices. The router’s IP is typically set manually or via a default address like 192.168.1.1. Keep that static address unchanged.

Will enabling DHCP affect my VPN connection?

Most VPN clients create a virtual adapter that is not managed by the Windows DHCP client. You may need to configure the VPN’s network settings separately.

How do I revert to a static IP after using DHCP?

Return to the same IP settings dialog and switch the mode from Automatic (DHCP) back to Manual, then enter the desired IP, subnet mask, gateway, and DNS servers.

Why does my computer keep losing its IP address after enabling DHCP?

Common causes include a router with a limited DHCP pool, interference from other DHCP servers on the same network, or a faulty network adapter. Check the router’s lease table and try a different cable or wireless channel.

Is there a way to force a specific device to always get the same IP via DHCP?

Yes. Most routers allow you to create a DHCP reservation using the device’s MAC address. This keeps the lease consistent while still using DHCP.