netsh dhcp isn't working on Windows Server 2008

6,985

You need the DHCP Server role installed on the box before it will let you use the command line tools.

(+Credit to SmallClanger who provided this answer in a comment. -Credit for not posting it as an answer that could be accepted, or voted up/down)

Share:
6,985

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin almost 2 years

    Gents,

    I am trying to run the following command on a fresh Windows Server 2008 box.

    netsh dhcp server 10.2.x.x scope 10.2.x.x show client

    and I am given the following error

    the following command could not be found:

    If I run this on my local windows 7 machien it's fine.

    Perhaps I am missing some libraries or options? Any help is appreciated.

    • SmallClanger
      SmallClanger over 13 years
      Could be wrong, but do you need the DHCP Server role installed on the box before it will let you use the command line tools?
    • GregD
      GregD over 13 years
      @SmallClanger: Add your comment as an answer and @Daniel can accept it.