I cannot connect my new VM to my domain on Windows Server 2022

Brigitte Lavoie 0 Reputation points
2024-10-07T20:06:21.5966667+00:00

Good day,

I am in the phase of replacing the servers of my on-premise environment (no access to the internet) and I just installed Windows Server 2022 on my new Dell PowerEdge server. That server will run 2 Virtual Servers. My physical server can connect to my Domain but my new virtual machine (also with windows server 2022) cannot connect to my domain even after I created a Virtual Switch and a Virtual Network Adapter through the Hyper-V Manager. The server is connected to a physical switch with fiber optic cable. I am not sure what I am doing wrong ...

Thank you

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,103 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,715 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
757 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jing Zhou 7,095 Reputation points Microsoft Vendor
    2024-10-09T08:02:32.7333333+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    Depending on your description, the failure of a virtual machine to connect to a domain could be due to several reasons. Here are some possible solutions and checking steps:

     

    1. Make sure that the virtual switch you created in Hyper-V Manager is of the "External" type and is properly connected to the physical network adapter. This allows the virtual machine to access the external network and domain controllers through the physical network adapter.

     

    1. Make sure that in the settings of the virtual machine, the virtual network adapter is connected to the external virtual switch that you created. You can view the configuration of the network adapter in the settings of the virtual machine.

     

    1. Check the IP address configuration of the virtual machine. Make sure it's in the same subnet as the domain controller and that there are no IP address conflicts. You can try using DHCP to get an IP address automatically, or you can manually set a static IP address.

     

    1. Make sure that the DNS settings of the virtual machine point to the IP address of your domain controller. Domain connections often rely on DNS, so proper DNS configuration is critical.

     

    1. Check the firewall settings of the virtual machine and physical server to make sure that there are no ports (e.g., 53, 88, 135, 389, 445, etc.) that are required to block domain connections.

     

    1. In the virtual machine, use the ping command to test the connection to the domain controller. For example, try ping the IP address of a domain controller to see if you can connect successfully.

     

    1. Ensure that the latest Hyper-V integration services are installed on the virtual machine, which can improve the performance and compatibility of the virtual machine.

     

    1. Look at the Event Viewer in the virtual machine to check for error messages related to network or domain connections.

     

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

     

    Best regards,

    Jill Zhou

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.