JSI Tip 3925. How do I use Netsh.exe to authorize, unauthorize and list DHCP servers in Active Directory?


To authorize a DHCP server in Active Directory:

netsh dhcp add server <ServerDNSDomainName> <ServerIPAddress>

Where:

<ServerDNSDomainName>  - is the DNS domain name of the DHCP server.
<ServerIPAddress>      - is the IP address the the DHCP server.
Example:

netsh dhcp add server jsi001.jsiinc.com 216.144.1.25

To unauthorize a DHCP server in Active Directory:

netsh dhcp delete server <ServerDNSDomainName> <ServerIPAddress>

To list the authorized DHCP servers in the Active Directory:

Netsh dhcp show server

For additional help:

netsh dhcp add /?

netsh dhcp show /?

netsh dhcp delete /?


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish