Share via


Use DHCP Commands Interactively

Applies To: Windows Server 2008

You must be a member of the Administrators group or the DHCP Administrators group to administer DHCP servers using the DHCP console or the Netsh commands for DHCP. You should restrict the membership of these groups to the minimum number of users required to administer the server. In addition, only members of the Domain Admins group can authorize or unauthorize a DHCP server in Active Directory. If there are users who need read-only access to the DHCP console, add them to the DHCP Users group instead of the DHCP Administrators group.

To use DHCP commands interactively at the command prompt

  1. Open Command Prompt.

  2. Type netsh.

  3. At the netsh> command prompt, type dhcp.

  4. At the dhcp> command prompt, type **server\\**ServerName or type Server IPAddress where ServerName and IPAddress are the server that you want to manage.

  5. After you are connected, you can use any supported Netsh DHCP context command. Type /? or help to display the immediate context command menu, or type list to see all of the Netsh DHCP context commands available for use.

Additional considerations

The **\\**ServerName parameter is optional and can be left unspecified if you are performing commands locally at the DHCP server. If the server being managed is remote, this parameter is required, and the name of the server must be specified.