• Contact
  • Homelab
Dimitris Tonias
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
Dimitris Tonias
No Result
View All Result

Authorize DHCP Server 2016 in Active Directory

Dimitris Tonias by Dimitris Tonias
March 3, 2018 - Updated on April 21, 2024
in Management
Reading Time: 2 mins read
A A
2
Share on FacebookShare on Twitter

After installing the DHCP role on Windows Server 2016 (or earlier versions), one of the first actions that will need to be completed is to authorize the server in the Active Directory infrastructure.

This action is necessary so that the DHCP Server can distribute IP addresses to Active Directory clients. Otherwise, if a DHCP Server is unauthorized, then the IP address distribution will stop.

To authorize or unauthorize a DHCP Server, you must use a user account that is a member of the Enterprise Admins security group or an account with delegated permissions for that domain.

If you install the DHCP role on a Domain Controller, then the server is automatically authorized. If you install it on a member server, you will need to manually perform the authorization process using one of the following methods.

Authorize DHCP Server using the GUI

In an open DHCP administration console, right-click the server name and then select Authorize.

Authorize DHCP Server 2016 in Active Directory

Wait a few seconds, and after refreshing the list, you can confirm that the DHCP Server is now authorized when you’ll see the green icon that will appear in each scope.

Accordingly, to unauthorize a DHCP Server, right-click the server and then click Unauthorize.

Authorize DHCP Server 2016 in Active Directory

Authorize DHCP Server using Netsh

Open the command line with administrator permissions and type the following command to authorize the DHCP Server.

netsh dhcp add server <server name> <ip address>

netsh dhcp add server <server name> <ip address>

For example, for a server named DHCP01 and IP address 10.10.10.50, the command will be something like this.

netsh dhcp add server DHCP01.contoso.com 10.10.10.50

netsh dhcp add server DHCP01.contoso.com 10.10.10.50

Accordingly, to unauthorize a DHCP Server, use the following command.

netsh dhcp delete server <server name> <ip address>

netsh dhcp delete server <server name> <ip address>

netsh dhcp delete server DHCP01.contoso.com 10.10.10.50

netsh dhcp delete server DHCP01.contoso.com 10.10.10.50

To confirm that your action has been successful and to see the authorized DHCP Servers in the Active Directory infrastructure, use the following command.

netsh dhcp show server

netsh dhcp show server

Authorize DHCP Server using PowerShell

First, to see the list of all authorized DHCP Servers in Active Directory, use the following command.

Get-DhcpServerInDC

Get-DhcpServerInDC

To authorize a DHCP Server, use the command below and replace the corresponding parameters with your own.

Add-DhcpServerInDC -DnsName "dhcp01.contoso.com" -IPAddress 10.10.10.50

Add-DhcpServerInDC -DnsName "dhcp01.contoso.com" -IPAddress 10.10.10.50

To unauthorize a DHCP Server, use the following command and replace the corresponding parameters with your own.

Remove-DhcpServerInDC -DnsName "dhcp01.contoso.com -IPAddress 10.10.10.50

Remove-DhcpServerInDC -DnsName "dhcp01.contoso.com -IPAddress 10.10.10.50

Tags: DHCPDHCP ServerWindows Server 2016
ShareTweetPin
Previous Post

Error: Cannot manage Active Directory Certificate Services 0x424

Next Post

Backup and Restore DHCP Server 2016

Related Posts

Approve updates in WSUS 2016
Management

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016
Management

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016
Management

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016
Management

The initial configuration of WSUS 2016

Install WSUS in Windows Server 2016
Management

Install WSUS in Windows Server 2016

Error opening Report Viewer on WSUS 2016
Management

Error opening Report Viewer on WSUS 2016

Comments 2

  1. AC says:
    5 years ago

    Καλο content σ ευχαριστω

    Reply
  2. Jose Melendez Gonzalez says:
    2 years ago

    It happened to me, suddenly I stopped having ip on my computers,
    Will it happen again?
    What can be done so that it does not happen again?

    Greetings.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
Zabbix server: More than 75% used in the trends cache
Monitoring

Zabbix server: More than 75% used in the trends cache

In Zabbix, "trends" are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount...

Read moreDetails
Check word count on Google Docs

Check word count on Google Docs

Zabbix server: More than 75% used in the configuration cache

Zabbix server: More than 75% used in the configuration cache

Approve updates in WSUS 2016

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016

The initial configuration of WSUS 2016

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

  • Contact
  • Homelab

© 2024 Dimitris Tonias

No Result
View All Result
  • About
  • Contact
  • Free Tools
  • Home
  • Homelab

© 2024 Dimitris Tonias

This website uses cookies. By continuing to use this website you are giving consent to cookies being used.