Install DHCP on Windows server 2016 core

  1. Install DHCP role with management tools
  2. perform post installation tasks
  3. restart the service
  4. tell windows that the post installation tasks are complete
Install-WindowsFeature DHCP -IncludeManagementTools
netsh dhcp add securitygroups
Restart-service dhcpserver
Add-DhcpServerInDC  <hostname of the DHCP server>  <IP address of the DHCP server>
Set-ItemProperty –Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerManager\Roles\12 –Name ConfigurationState –Value 2
Enter your comment:
170 -6 =
  • windows/server_os/install_dhcp.txt
  • Last modified: 2019-10-31 09:06
  • (external edit)