windows:server_os:install_dhcp

Differences

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


windows:server_os:install_dhcp [2019/10/31 09:06] (current) – created - external edit 127.0.0.1
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
 +</code>