Fix DHCP Not Enabled for WiFi on Windows 10/11
When DHCP is disabled on a WiFi adapter, Windows cannot obtain an IP address automatically. This guide shows how to enable DHCP via settings, command line, and registry to restore network connectivity.
Symptoms
- WiFi shows connected but no internet access.
- IP address shows as 169.254.x.x (APIPA) or blank.
- Network icon displays a yellow triangle or globe with no internet.
- Running
ipconfigshows Autoconfiguration IPv4 Address instead of a valid IP. - Error message: DHCP is not enabled for WiFi in network diagnostics.
Root Causes
- DHCP client service is disabled or not running.
- IPv4 properties set to static IP instead of automatic.
- Corrupted network adapter drivers.
- Third-party firewall or VPN software blocking DHCP.
- Registry settings for DHCP disabled.
Step-by-Step Fixes
Method 1: Enable DHCP via Network Settings
- Press Windows + R, type
ncpa.cpl, press Enter. - Right-click your WiFi adapter, select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4), click Properties.
- Select Obtain an IP address automatically and Obtain DNS server address automatically.
- Click OK, then close all windows.
- Restart your PC or run
ipconfig /renewin Command Prompt (Admin).
Method 2: Enable DHCP via Command Prompt
- Open Command Prompt as Administrator.
- Type
netsh interface ip set address name="WiFi" source=dhcpand press Enter. - Type
netsh interface ip set dns name="WiFi" source=dhcpand press Enter. - Close CMD and restart the WiFi adapter.
Method 3: Restart DHCP Client Service
- Press Windows + R, type
services.msc, press Enter. - Find DHCP Client in the list.
- If status is not Running, right-click and select Start.
- Set Startup type to Automatic by right-clicking > Properties.
- Click Apply/OK.
Method 4: Reset Network Stack
- Open Command Prompt as Administrator.
- Run the following commands one by one:
netsh winsock resetnetsh int ip resetipconfig /releaseipconfig /renewipconfig /flushdns
- Restart your computer.
Method 5: Enable DHCP via Registry (Advanced)
Warning: Incorrect registry edits can break your system. Backup the registry first.
- Press Windows + R, type
regedit, press Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}(replace GUID with your WiFi adapter's GUID; find it viaipconfig /all). - Set EnableDHCP DWORD value to 1.
- Set DhcpConnForceBroadcastFlag to 0.
- Close Registry Editor and restart.
Alternative Fixes
- Update Network Driver: Download latest driver from manufacturer's website or use Device Manager.
- Disable IPv6: In adapter properties, uncheck Internet Protocol Version 6 (TCP/IPv6) and reboot.
- Run Windows Network Troubleshooter: Settings > Network & Internet > Status > Network troubleshooter.
- Disable third-party firewall/antivirus temporarily to test.
- Reset WiFi adapter: Settings > Network & Internet > Advanced network settings > Network reset.
Prevention
- Keep Windows and network drivers updated.
- Avoid manually setting static IP unless necessary.
- Regularly run
ipconfig /releaseandipconfig /renewif issues arise. - Ensure DHCP Client service is set to Automatic and running.
- Create a system restore point before making registry changes.
By following these steps, you should be able to enable DHCP for WiFi on Windows and restore automatic IP assignment. If problems persist, consider hardware issues or contacting your ISP.
Was this solution helpful?