Member_2_6492660_1
asked on
NETSH DHCP SERVER Access Denied
Windows 2003 R2 SP2 DC1
Windows 2003 R2 SP2 DC2
I had only one DHCP server running on DC1 we had a power outage and DC1 was out for a long time.
DC2 was up and running so I decided to add DHCP server on DC2.
My network is 10.2.8.0/22 so I have plenty of address that the scope will not overlay.
I copied all the reservations from DC1 to the DC2 DHCP setup.
Then I authorized the DHCP server and started the DHCP server
Got this event error
Event Type: Warning
Event Source: DhcpServer
Event Category: None
Event ID: 1056
Date: 3/28/2015
Time: 8:33:25 PM
User: N/A
Computer: SERV012
Description:
The DHCP service has detected that it is running on a DC and has no credentials configured for use with Dynamic DNS registrations initiated by the DHCP service. This is not a recommended security configuration. Credentials for Dynamic DNS registrations may be configured using the command line "netsh dhcp server set dnscredentials" or via the DHCP Administrative tool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Then I tried this
netsh dhcp server set dnscredentials administrator mydomain password
access is denied
then
netsh dhcp server show dnscredentials
access is denied
netsh dhcp server show server
the current server is serv012 ............. this works
when I do the above on DC1 no problem it works
DC2 owns all the AD Roles
Any thoughts?
Thanks
Tom
Windows 2003 R2 SP2 DC2
I had only one DHCP server running on DC1 we had a power outage and DC1 was out for a long time.
DC2 was up and running so I decided to add DHCP server on DC2.
My network is 10.2.8.0/22 so I have plenty of address that the scope will not overlay.
I copied all the reservations from DC1 to the DC2 DHCP setup.
Then I authorized the DHCP server and started the DHCP server
Got this event error
Event Type: Warning
Event Source: DhcpServer
Event Category: None
Event ID: 1056
Date: 3/28/2015
Time: 8:33:25 PM
User: N/A
Computer: SERV012
Description:
The DHCP service has detected that it is running on a DC and has no credentials configured for use with Dynamic DNS registrations initiated by the DHCP service. This is not a recommended security configuration. Credentials for Dynamic DNS registrations may be configured using the command line "netsh dhcp server set dnscredentials" or via the DHCP Administrative tool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Then I tried this
netsh dhcp server set dnscredentials administrator mydomain password
access is denied
then
netsh dhcp server show dnscredentials
access is denied
netsh dhcp server show server
the current server is serv012 ............. this works
when I do the above on DC1 no problem it works
DC2 owns all the AD Roles
Any thoughts?
Thanks
Tom
are you running from elevated command prompt?
ASKER
Seth
Yes I also do run from elevated command prompt.
Thanks for replying
any other thoughts?
Yes I also do run from elevated command prompt.
Thanks for replying
any other thoughts?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Guys
Thanks
Once I set the credentials from the Console and after AD updated I was able to do command line netsh dhcp commands from the server and from my windows 7 computer.
Thanks again for all the help
Thanks
Once I set the credentials from the Console and after AD updated I was able to do command line netsh dhcp commands from the server and from my windows 7 computer.
Thanks again for all the help