Skip to main content

Unable to add client PC (VM) to Domain controller (VM) running on Hyper-V host

I would like to share my knowledge I gained while troubleshooting IT related issues. Recently, I set up a Host server that runs Windows Server 2012 Standard R2. I made this server as my Hyper-V host. My plan was to add few VMs and setup my own small lab at home.
I added a VM on my host PC that runs Windows Server 2012 Standard R2. I made this VM as my domain controller (DC1.Contoso.com). I setup few users and group policies. Then I added another VM that runs Windows 10. I wanted to add this PC to domain so that I can test group policies and other stuff. But, while trying to add my client PC to domain, I received an error message.
Error message:
Note: This information is intended for a network administrator.  If you are not your network’s administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt. The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller for domain contoso.com:
The error was: “DNS name does not exist.”
(error code 0x0000232B RCODE_NAME_ERROR) The query was for the SRV record for _ldap._tcp.dc._msdcs.contoso.com Common causes of this error include the following: - The DNS SRV records required to locate a AD DC for the domain are not registered in DNS.
These records are registered with a DNS server automatically when a AD DC is added to a domain. They are updated by the AD DC at set intervals. This computer is configured to use DNS servers with the following IP addresses:
192.168.1.1
192.168.1.151
- One or more of the following zones do not include delegation to its child zone:
contoso
.com
. (the root zone)
For information about correcting this problem, click Help.
I was a bit surprised as I could ping all three PCs (host PC, DC1 and Win 10 PC) from each other and from a laptop. I could even RDP to all 3 PCs. I have rechecked all IP configurations on DC1 and Win 10 PC. I have assigned a static IP addresses to my PCs.
NameIP AddressSubnet MaskGateway
Hyper-V Host PC192.168.1.100255.255.255.0192.168.1.1
DC1.Contoso.com192.168.1.151255.255.255.0192.168.1.1
Win 10 PC192.168.1.201255.255.255.0192.168.1.1
 Router’s IP address: 192.168.1.1
To resolve this, I added manual DNS entries in my Win 10 PC. I assigned 192.168.1.151 and 192.168.1.1 as DNS servers in Win 10 PC. But I was not able to add client PC to domain. I had searched for the help on Internet but almost all the pages suggested, assigning correct IP address as my DNS server, which I had already done.
Hence I had to think something different to fix this issue. I decided to turn off IPv6 on my Win 10 Client PC's network adaptor (By default, this is enabled on all network adaptors). As soon as I had disabled IPv6, I was able to add Win 10 PC to my Domain controller.
Hope you find this article informative.

Comments

  1. Exactly what I was looking for. Thank you :-)

    ReplyDelete

Post a Comment

Popular posts from this blog

Windows 10 phone: This device has been locked for security reasons. Connect your device to a power source for at least two hours, then restart it to try again.

Hi All, this is my very first post on Windows 10 phone. I have a Windows 10 phone. Today, I saw following error message on phone. It didn’t allow me to unlock my phone using 4 digit pin I had set. The “Emergency calls” was the only option available to me. Error: This device has been locked for security reasons. Connect your device to a power source for at least two hours, then restart it to try again. I tried performing soft reboot but it didn’t fix. After doing a bit of research, I found a solution. Make sure that your phone is connected to Internet during this process. To fix this issue, follow these steps: Launch https://account.microsoft.com/devices on a web browser on another PC/Tablet or a smart phone Login using your Microsoft account (it is the same account you’ve used to configure your phone). Once you’ve logged in, Select your phone. On the next page, click on Lock button. A box will appear asking to enter 6 digit pin , a number where you can be reached (op

Fixed: HTC One M8 USB driver doesn’t recognized by Windows 10

Hi friends, recently I upgraded my Windows 7 OS to Windows 10 on my laptop. Everything was working fine until I plugged my HTC One M8 (Android) phone to laptop using USB cable. A message box appeared stating that it could not detect the USB device. I never had any problem when I was using Windows 7. I used to plug my phone to PC using USB cable and access phone storage as USB drive. I typed my query in google and most of the articles suggested that I should installed HTC Sync Manager and then connect my phone. Well, I installed the required application but it did not resolve the issue. Hence, I removed it. This is my 3 rd HTC phone and I started to find out how I can enable USB debugging mode on my phone. This option is hidden by default. To enable this option, follow these steps:  Go to Settings \ About Select Software Information Click on More  option Now, tap on Build number  option six times in a row. A message will be shown saying “ You are now a developer! ” Go

Virtual USB port is missing on Windows 7

Hi All, it has been a long time since I have posted last blog. I was away for a while during Christmas time. Today, I am going to share information about how to get virtual USB port in drop down list while installing local printer (USB) on Windows 7, if it’s not available by default. I followed below steps to add virtual USB port to add USB printer to Windows 7 PC.           Click on Start . Go to Devices and Printers .           Click on Add Printer .           Select Add a local Printer           In Choose a printer port box, select Create a new port option.           From the drop down list, choose Local port and click on Next button.           Port Name dialog box will appear. Type port name USB001 , click on OK           In the step, choose appropriate printer driver from list or provide a driver disk to complete printer driver installation process. I hope you may find this very useful. Disclaimer: www.TechieTalks.co.uk does not conceal the possibility of