The DHCP Server service automates the configuration of TCP/IP on DHCP clients, providing essential information to computers when connecting to an IP network. In this Comprehensive Guide to Install DHCP Server on Windows Server 2022, we will discuss the post configuration as well as configuring the DHCP Scope. Please see how to create and delete a DHCP reservation in Windows Server 2019 and How to configure DHCP Server option 60, 66, and 67 for Windows Deployment Services.
Also, see “How to backup and restore a Windows DHCP Server via the DHCP Manager and PowerShell, how to install DHCP role on Windows Server 2019, and how does Dynamic Host Configuration Protocol work.
Install DHCP Server Role
Log in to your Windows Server machine and launch the Server Manager. In Server Manager, click on “Manage” from the top-right menu and select “Add Roles and Features.”
This will open the Add Roles and Features Wizard. You can check the button never to show the before you begin page. Click Next to proceed.
Choose “Role-based or feature-based installation” and click Next.
Select the right server from the Pool and click next to proceed
Select “DHCP Server” from the list of roles
You will be prompted to add the “Remote Server Administration Tools”. Click “Add features”.
As you can see, the DHCP Server role has been selected. Click Next to proceed
This is just informational. Please read and click “Next.”
On the confirmation page, I have the habit of selecting “restart the destination server automatically if required”. You will be prompted to confirm. When done, click on the “Install” button.
The installation is in progress and you can safely close his add roles and features wizard and monitor the progress from the Server manager overview window.
DHCP Post Configuration
Note: A post-installation of DHCP is required, see the following article on Configuring DHCP: Post-deployment of Dynamic Host Configuration Protocol, see “Post-deployment of Dynamic Host Configuration Protocol“.
From the notification icon as shown above. Click on complete DHCP configuration.
This will open the DHCP Post-Install Wizard as shown below
Authorisation in ADDS
Note: Choose Skip AD authorisation if your server is on a workgroup. In my case, it is not in a workgroup but rather in a domain environment.
I will select the default as the DHCP server is part of the Domain. Click on Commit.
You can now close the “DHCP Post Install Configuration Wizard”.
Configure DHCP Scope
navigate back to Server Manager, Click on Tools and Select DHCP. This will open the DHCP Configuration Window. Alternatively, Click on the “DHCP” server, and under the servers, right-click and select “DHCP Manager”.
Right-click on “IPv4” and select “New Scope.” This will open the New Scope Wizard. Alternatively, select the IPv4 and on the “Action” pane, select “New Scope”.
On the New Scope wizard, click Next to proceed.
Enter a name and description for your scope and click “Next.”
Enter the IP address range for the scope. This includes the start and end IP addresses. Click “Next” when complete.
No exclusions for now, click Next to proceed. Here you could you can reserve some IPs’ in the range server that will require static IP addresses such a printer, routers etc.
Set the lease duration for IP addresses in this scope. The default is 8 days, but as you can see below, I have adjusted to 30 days. Click “Next.”
If you wish to configure any additional DHCP options you require, such as default gateway, DNS servers, etc. Click “Next” to proceed.
Enter the Default Gateway and click on Add. When complete, click next to proceed.
The below information is automatically filled out in a domain environment. If you wish to add more IP Addresses, enter it and click add.
Wins Server Field
You can populate the Wins Server fields as well. Click Next to proceed.
On the Activate Scope window, select “Yes, I want to activate this scope now” and clcik Next.
Click on Finish to complete the DHCP Server Setup.
As you can see from the DHCP Manager, we have installed and configured a DHCP server on Windows Server 2022. This includes creating and activating a scope.
I hope you found this comprehensive guide to Install DHCP Server on Windows Server very useful. Please feel free to leave a comment below.