Symptoms
- WiFi connected but no internet access
- IP address shows as 169.254.x.x (APIPA) in ipconfig
- Error message: "DHCP is not enabled for WiFi" in network settings
- Unable to browse websites or access network resources
- Other devices on same network work fine
Root Causes
- DHCP client service stopped or disabled
- Network adapter configured with static IP instead of automatic
- Corrupted network adapter drivers
- Windows network stack issues after updates
- Third-party firewall or antivirus blocking DHCP
Step-by-Step Fix
1. Enable DHCP Client Service
- Press Win + R, type
services.msc, press Enter - Find DHCP Client service, right-click, select Properties
- Set Startup type to Automatic, click Start if stopped
- Click Apply > OK
2. Set Network Adapter to Obtain IP Automatically
- Press Win + X, select Network Connections
- Click Change adapter options
- 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
3. Release and Renew IP Address
- Open Command Prompt as Administrator (right-click Start > Command Prompt (Admin))
- Type:
ipconfig /releaseand press Enter - Type:
ipconfig /renewand press Enter - Wait for new IP assignment, then type:
ipconfig /flushdns - Restart your computer
4. Reset Network Stack
- Open Command Prompt as Administrator
- Run these commands one by one:
netsh winsock resetnetsh int ip resetnetsh int tcp reset - Restart your PC
5. Check DHCP Server Availability
- Ensure your router's DHCP server is enabled (check router admin panel)
- Restart router: unplug power for 30 seconds, plug back in
- If using a corporate network, contact IT to confirm DHCP scope is not exhausted
Alternative Fixes
- Update Network Driver: Go to Device Manager > Network adapters > right-click WiFi adapter > Update driver > Search automatically
- Run Network Troubleshooter: Settings > Network & Internet > Status > Network troubleshooter
- Disable IPv6: In adapter properties, uncheck Internet Protocol Version 6 (TCP/IPv6) to force IPv4 DHCP
- Reset Network Settings: Settings > Network & Internet > Advanced network settings > Network reset > Reset now
- Check for Windows Updates: Install latest updates to fix known bugs
Prevention
- Always keep DHCP client service set to Automatic
- Avoid manually setting static IP unless necessary
- Regularly update network drivers from manufacturer website
- Use reliable antivirus that doesn't interfere with network services
- After major Windows updates, verify DHCP settings if connectivity issues arise
Additional Tips
If you still face issues, try connecting to a different WiFi network to isolate the problem. If DHCP works on other networks, the issue may be with your router or ISP. Contact your internet service provider for further assistance.