Deluxe company -

Step-by-Step Guide to Installing a DHCP Server on Windows Server 

September 9, 2024
Deluxe company -

If you want to install DHCP server in Windows Server, here is how you can do that. It is possible to install and uninstall the DHCP server with the help of Server Manager and PowerShell.

A DHCP or Dynamic Host Configuration Protocol server helps you configure an organization’s network of computers by assigning IP addresses to the client’s computers. As this process happens in automation, you do not need to do anything else apart from setting things up.

To install the DHCP server in Windows Server, follow these steps:

Open the Server Manager and click on Manage > Add Roles and Features.

Then, choose the Role-based or feature-based installation option and click the Next button.

Next, choose the desired server from the server pool. If you have only one server, simply click on the Next button.

Following that, select the DHCP Server checkbox and proceed with the Next and Add Features button.

Finally, click the Install button to initiate the installation process. After completion, you can close all the windows.

To install a DHCP server on Windows Server using PowerShell, here are the necessary steps:

For detailed information about the installation process, continue reading.

Begin by opening PowerShell with administrative rights. To do this, type powershell into the Taskbar search box, right-click the result, choose the Run as Administrator option, and confirm by clicking Yes.

After launching PowerShell, type the following command:

Let it be finished. Once done, you can close the PowerShell window.

To uninstall DHCP server from Windows Server, follow these steps:

Open the Server Manager on your computer and click on Manage > Remove Roles and Features.

Then, choose the server from the server pool and click on the Next button. Following that, remove the tick from the DHCP Server checkbox.

Once completed, a window will appear displaying all the DHCP tools present on your server. You can enlarge this list to see every tool. Then, press the Remove Features button.

This action will take you to the Features tab. Here, all you need to do is click the Next button.

Next, hit the Remove button in the subsequent confirmation window.

After completing these steps, close all open windows and reboot your server. Alternatively, you may select the Restart the destination server automatically if required checkbox before clicking the Remove button, as this will serve the same purpose.

To configure the DHCP server, open the Server Manager and opt for the Role-based or feature-based installation. Select your server from the server pool, check the DHCP Server option, and pick the features you wish to add. To complete the process, click the Install button. Alternatively, for setting this up via CLI, launch PowerShell as an administrator and input: Install-WindowsFeature DHCP -IncludeManagementTools.

Enabling DHCP on Windows Server can’t be done using CMD. Instead, utilize PowerShell by searching for it in the Taskbar search box, right-click it, select Run as Administrator, and confirm with Yes. Input the following command: Install-WindowsFeature DHCP -IncludeManagementTools, and allow some time for the installation to finish.


ColoCrossing excels in providing enterprise Colocation Services, Dedicated Servers, VPS, and a variety of Managed Solutions, operating from 8 data center locations nationwide. We cater to the diverse needs of businesses of any size, offering tailored solutions for your unique requirements. With our unwavering commitment to reliability, security, and performance, we ensure a seamless hosting experience.

For Inquiries or to receive a personalized quote, please reach out to us through our contact form here or email us at sales@colocrossing.com.

Deluxe company - 

 


Samantha Rattner
Samantha Rattner

Introducing our expert author with a wealth of knowledge in VPS Hosting, Dedicated Servers, and Colocation. With years of experience, she's your go-to source for cutting-edge insights on optimizing your hosting infrastructure. Unlock the potential of your digital presence with her in-depth articles and expert advice, as she guides you through the intricacies of VPS hosting, dedicated servers, and colocation solutions. Stay ahead in the ever-evolving world of web hosting with her valuable expertise.