To add DHCP to Windows 11, you install the DHCP Server role through the Windows Features dialog or PowerShell, then authorize the server in Active Directory and create a scope. This is only possible on Windows 11 Pro, Enterprise, or Education; the Home edition does not include the DHCP Server role. You also need a static IP address on the machine and administrative rights.

What You'll Need

  • A Windows 11 Pro, Enterprise, or Education PC (Home edition lacks the role).
  • Administrator access to the PC.
  • A static IP address already configured on the network adapter that will serve DHCP.
  • If the PC is domain-joined, membership in the Domain Admins or Enterprise Admins group to authorize the server.
  • The Windows Features dialog or PowerShell (run as administrator).

Step-by-Step

  1. Confirm your Windows edition. Open Settings > System > About and check the edition. If it says Home, stop here; the DHCP Server role is not available. You would need to upgrade to Pro or use a different DHCP solution.
  2. Set a static IP on the server. Open Settings > Network & internet, select your adapter (Ethernet or Wi-Fi), and under IP assignment click Edit. Choose Manual, enable IPv4, and enter an IP address, subnet mask, default gateway, and DNS servers. Save. A DHCP server must have a fixed address so clients can always reach it.
  3. Open Windows Features. Press Win + R, type optionalfeatures, and press Enter. The Windows Features dialog opens. (Labels can differ slightly by Windows version and region.)
  4. Enable the DHCP Server role. Scroll to DHCP Server, tick its checkbox, and click OK. Windows installs the role and may prompt for a restart. If prompted, restart the PC.
  5. Alternative: install via PowerShell. Open PowerShell as administrator and run Install-WindowsFeature -Name DHCP -IncludeManagementTools. This is the same role, just faster on systems where the feature list is long.
  6. Open DHCP management console. Press Win + R, type dhcpmgmt.msc, and press Enter. The DHCP console opens with your server listed.
  7. Authorize the server (domain-joined only). In the console, right-click the server name and choose Authorize. Without authorization, the server will not hand out addresses in an Active Directory environment. If the PC is not domain-joined, skip this step.
  8. Create a scope. Expand the server, right-click IPv4, and choose New Scope. The wizard asks for a name, an IP range (start and end addresses), a subnet mask, and exclusion ranges. Enter a range that does not overlap your static devices or router.
  9. Set lease duration. The wizard asks how long clients keep an address. The default of 8 days is fine for most home and small-office networks; shorter leases suit networks with many transient devices.
  10. Configure scope options. In the wizard, set the router (default gateway) and DNS server addresses that clients should receive. These are the options that make DHCP useful, not just address assignment.
  11. Activate the scope. Finish the wizard and tick Activate this scope if offered, or right-click the scope and choose Activate. The scope icon turns green when active.
  12. Test from a client. On another device, set its adapter to obtain an IP address automatically, then run ipconfig /release and ipconfig /renew in Command Prompt. The client should receive an address from your new scope.

Common Mistakes

  • Running it on Windows 11 Home. The role simply is not there; the checkbox will be missing or the PowerShell command will fail.
  • Leaving the server on a dynamic IP. If the server's own address changes, clients lose their gateway to DHCP.
  • Forgetting to authorize in a domain. The console shows the server with a red down-arrow and no addresses are issued.
  • Overlapping scopes. A scope range that includes the router's address or your static devices causes address conflicts.
  • Two DHCP servers on one subnet. Running the Windows DHCP role alongside a router's built-in DHCP server produces unpredictable leases. Disable one.
  • Skipping scope options. Clients get an IP but no gateway or DNS, so they cannot reach the internet.

Tips

  • Use a range outside your router's default pool, for example 192.168.1.100 to 192.168.1.200, so static devices stay clear.
  • Reserve addresses for printers and cameras by MAC address in the DHCP console rather than assigning them statically on each device.
  • Keep lease times moderate; very long leases make it hard to reclaim addresses when devices leave.
  • Document the scope range and options; future you will thank present you.
  • If you only need a handful of fixed addresses, consider static assignment instead of running a DHCP server at all.

Troubleshooting

If clients do not get an address, check the simplest things first. Confirm the scope is active (green icon) and that the server's own IP is static. On a domain, verify the server is authorized; an unauthorized server is ignored. Run Get-DhcpServerv4Scope in PowerShell to confirm the scope exists and is enabled. Check that the client adapter is set to obtain an address automatically, and that no other DHCP server is answering on the same subnet. If the Windows Features install fails, run Windows Update and retry; a pending restart often blocks role installation. If the DHCP console will not open, confirm the role actually installed by checking Windows Features again. As a last resort, remove the role and reinstall it; this deletes your scopes, so note the settings first.

Frequently Asked Questions

Can I add DHCP to Windows 11 Home?

No. The DHCP Server role is only available in Pro, Enterprise, and Education editions. Home users typically rely on their router's DHCP server instead.

Do I need Active Directory to run DHCP on Windows 11?

No. Authorization is only required in a domain environment. A workgroup PC can run DHCP without it.

Will this replace my router's DHCP server?

It can, but you should disable the router's DHCP server first to avoid two servers answering on the same subnet.

What is the difference between a scope and a reservation?

A scope is the pool of addresses the server can hand out. A reservation ties a specific address to a device's MAC address so it always gets the same one.

Can I run DHCP on a Wi-Fi connected PC?

It works, but a wired connection is more reliable for a server that other devices depend on.

How do I remove the DHCP role later?

Open Windows Features, clear the DHCP Server checkbox, and click OK. Your scopes and settings are removed with the role.