Discussion Locked

DHCP command line tool

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello all!

I'm looking for a DHCP-command line utility, to delete remotely a DHCP-reservation on a Winnt 4.0 DHCP Server

Please help me !

3 replies

by cgconsult

Microsoft has written a Knowledge Base article, Q232213 - How to Use the Dhcpcmd.exe Tool Included with Support Tools. I quote:

"Administrators can use the Dhcpcmd.exe tool to manage a Dynamic Host Configuration Protocol (DHCP) server from a command line, and is included in the Windows NT 4.0 Service Pack 4 Support Tools. This article describes the syntax of the Dhcpcmd.exe tool in detail."

by peter.sumner

I have used DHCPCMD quite a but but one thing still eludes me. I can not figure out the syntax of the BYTE option when adding a value to a subnet.

ie. dhcpcmd setsubnetoptionvalue 43 byte ***

I always get an error from the DHCPCMD telling me its too big. Techne says its an 8-Bit unsigned BYTE. I can not work this one out... any suggestions.

Peter Sumner

by wmusil

If you wish to release an IP and have acces to the client, simply type 'ipconfig release /all' in a DOS window on the client. Please note that this system will still try to get the same IP on restart if it is available because it stores recent IP info in the registry. To keep this from happening the IP would need to be made unavailable so that another would be picked.

This discussion is closed to new replies.