Change Name of Server Running Windows Server 2022

Adrian Bruno 20 Reputation points

Greetings and salutations fellow posters. My company recently upgraded one of our servers to the Core version of Windows Server 2022 and we have been unable to change its name in HyperV Manager. For whatever reason, the server appears with the domain name attached in HyperV Manager despite it not having the domain name on the server itself. It is attached to the domain, and we believe the name became attached because of Server 2022 itself. For example, our servers are labelled as follows:

  1. HYPV01-XXX
  2. HYPV02-XXX

The one that needs its name changed is listed as:


We simply need to remove the "DOMAINNAME.PRI" portion from the name of the server, but we cannot find a way of doing so. Any insight on this issue is greatly appreciated.

Thank you,

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,414 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.3K Reputation points MVP

    It appears to be some setup configuration on the new one to where the Select Computer browse dialog does not find the host name but instead only returns the FQDN which is how you see it listed in Hyper-V manager.

    Some ideas here with that one

    but getting off in the weeds here. You could close up this one here and start a new thread to discuss this new problem. Please don't forget to close up the thread here by marking answer if the reply is helpful--

5 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.3K Reputation points MVP

    Is this on-premise? Are you wanting to rename the windows computer name? or the name shown in hyper-v manager?

    0 comments No comments

  2. Adrian Bruno 20 Reputation points

    Thank you for replying to my message Dave, I truly appreciate it. To answer your question, the server that needs to be renamed is on premises and the name is shown in Hyper-V manager. The only unfortunate thing is it has somehow added the domain to the server's name in Hyper-V manager despite the server not having the entire name. I apologize if I have made this more confusing than it needs to be. Please let me know if you have any other questions and I would be glad to answer them.

    0 comments No comments

  3. Dave Patrick 426.3K Reputation points MVP

    Ok, you could right-click on the guest here in hyper-v management and choose Rename

    User's image

    0 comments No comments

  4. Adrian Bruno 20 Reputation points


    Thank you again for your speedy reply. However, we are not in need of renaming the virtual machine, but the host of the virtual machines. I have included a photo for further clarification.

    Thank you.

    User's image