Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
windows:server_os:install_dhcp [2017/06/14 09:26]
tplecko created
windows:server_os:install_dhcp [2019/10/31 09:06] (current)
Line 1: Line 1:
 +====== Install DHCP on Windows server 2016 core ======
 +  - Install DHCP role with management tools
 +  - perform post installation tasks
 +  - restart the service
 +  - tell windows that the post installation tasks are complete
 +<code powershell|>​
 +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