Export (0) Print
Expand All
6 out of 8 rated this helpful - Rate this topic

Use DHCP commands interactively at the command prompt

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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:

    serverIPAddress

    Where ServerName and IPAddress are the server that you want to manage.

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

Notes

  • 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 necessary 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. For more information about using Netsh commands for DHCP, see Related Topics.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • 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.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.