Tuesday, May 26, 2009

How do I install the DHCP Server role on the SERVER CORE ?

To install the DHCP Server role on the SERVER CORE

  • At a command prompt, type:

start /w ocsetup DHCPServerCore

  • Configure a DHCP scope at the command prompt by using netsh, or by remotely using the DHCP snap-in from Windows Server 2008.

If the DHCP server is installed in an Active Directory domain, you must authorize it in Active Directory.

  • The DHCP Server service does not start automatically by default. Use the following procedure to configure it to start automatically and to start the service for the first time.To configure and start the DHCP Server service

At a command prompt, type:

sc config dhcpserver start= auto

Start the service by typing:

net start dhcpserver

  • Typing the following at the command prompt will uninstall the DHCP Server role

start /w ocsetup DHCPServerCore /uninstall

No comments: