Ask a question

Yitzhak Weinbaum

setting dhcp problem in sbs2011 to server 2016 essentials migration problem

When trying to run

Set-DhcpServerDnsCredential –Credential $Credential –Computername "$env:computername.$env:userdnsdomain"

I'm getting 

Set-DhcpServerDnsCredential : Failed to get the username and domain from domain\administrator

What can cause this and how do I fix it



  • DHCP
asked02/01/2019 13:12
Add Comment
Mariette Knap

Are you sure you typed domain\username and NOT domain.tld\username?

Yitzhak Weinbaum

I did type the correct internal domain name i.e.  domain.local\username.

I did go around it by setting the credentials in the GUI dhcp management on the IPV4 in the advanced tab

replied 02/01/2019 13:57
Mariette Knap

Yes, that solves it also. I will check if there is a type in my writing. Thanks

replied 02/01/2019 14:31
Last Activity 02/09/2019 10:11

1 Answer(s)

  • Mariette Knap
    Add Comment
Add an Answer