DHCP on Server Core
To install DHCP on Windows Server 2008 Server Core complete the following:
To install the required MMC snap-ins on Server 2008 R2, in Server Manager select Features, Add Features, browse to Remote Server Administration Tools and select the appropriate MMCs
- Install DHCP - at the command line type: start /w ocsetup DHCPServerCore
Add /uninstall to remove the DHCP role - Set DHCP Server service startup to automatic - at the command line type: sc config dhcpserver start= auto
Note: Spacing around start and = must be exact... - Start DHCP - at the command line type: net start dhcpserver
- Incorrect? Authorise DHCP - at the command line type: netsh dhcp add server <server name>
- You can then configure DHCP using netsh at the command line or use an MMC on another computer (preferred)
To install the required MMC snap-ins on Server 2008 R2, in Server Manager select Features, Add Features, browse to Remote Server Administration Tools and select the appropriate MMCs