HPE Morpheus Enterprise
1848279 Members
4197 Online
104023 Solutions
New Discussion

Domain Join during Instance Deployment with Windows Server issue

 
jamgwert81
Advisor

Domain Join during Instance Deployment with Windows Server issue

I have configured the follwoing in Network -> Domains for my Active Directory domain

I've entered the Domain Name, Checked the box for Join Domain Controller, entered a domain user that has join rights, and the correct password.

HPE VME Domain Join Issue 1.pngHPE VME Domain Join Issue 2.png

 

 

When I Provision a new Instance, I'm setting the name of the instance to the name of the new server (server2 in this example):

 

HPE VME Domain Join Issue 3.png

 

 

On the Advanced Options dropdown under Domain I am selecting the correct Domain I configured above during my instance deployment which is a deployment from a sysprepped Windows Server 2022 template, that works just fine without the domain join function.

HPE VME Domain Join Issue 4.png

 

During the deployment it's supposed to rename the server to the same name I entered during the Instance deployment, but it appears that it's doing the domain join step BEFORE it renames the server.  This then creates an issue after it finally boots, as the server is renamed to the Instance name (server2 in this example), however it's already been joined to the domain under the random name Windows picks on new installs.

Because of this I'm unable to even login as there is not a record for the correct computer account name in AD.  The new server appears to be joined to the domain based on the default login location, and it does in fact have the name of SERVER2.

To me it seems the domain join part of whatever is in the coding is doing it in the wrong spot.

HPE VME Domain Join Issue 5.png
HPE VME Domain Join Issue 6.png
HPE VME Domain Join Issue 7.png
HPE VME Domain Join Issue 8.png

Is this a bug?  I feel like I've configured this correctly based on the documentation in the manual.

If I've done something incorrectly with the setup of this fuction, can someone please clue me in to what I need to change or do differently?

Renaming the newly deployed servers to the name you chose during deployment, and then also doing a Domain Join seems like a pretty basic VM deployment process that should be able to work out of box.

Thanks in advance.