Authorizing a DHCP server using Netsh

You can use the Netsh command to authorize a DHCP server from the command line. In an Active Directory environment, you must first authorize your DHCP server before it can lease addresses to clients.

For example, to authorize a DHCP server named NYC-DHCP-01 in the CONTOSO domain and which has IP address 10.10.20.51, type the following command:

netsh dhcp add server NYC-DHCP-01.contoso.com 10.10.20.51

To verify the result, type this command:

netsh dhcp show server

If you decide later to remove the server from your network, you can unauthorized it by typing:

netsh dhcp delete server NYC-DHCP-01.contoso.com 10.10.20.51

Leave a Comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top