Video: How to Remove a Hyper-V Server 2012 R2 from an Orphaned/Non-Existent Domain

by admin

 

Free Video :Hyper-V Server 2012 R2 – How to Rejoin a Domain
Hyper-V Server Cannot be Removed from a Non-Existent Domain:

  • “The specified domain either does not exist or could not be contacted.”
  • “The machine is already joined to the domain”

[floated align=”left”]Hyper-V Server 2012 R2[/floated] is normally used as a member of a domain. It is not uncommon to get in a situation where you need to unjoin/remove the Hyper-V server from the domain it is a member of. If the domain is available and there is normal connectivity, the whole process should be pretty simple. Surprisingly, if the original domain does not exist anymore, you get yourself into a Catch-22 situation – when you try to join the server to a different domain or a workgroup, you get one of the following error messages:

  • “The machine is already joined to the domain.”
  • “The specified domain either does not exist or could not be contacted.”

As you will see in the following video, the solution to this issue is pretty straightforward – you need to unjoin the server from command line using the FORCE parameter. One small detail, which is often forgotten, is to check whether you have access to the local admin account, and more importantly, whether this account is enabled. Again, this should be performed from command line.

How to Remove a Hyper-V Server 2012 R2 from an Orphaned/Non-Existent Domain
===========================================================================
#Check the list of local user accounts:
NET USER

#Reset the local admin password:
NET USER administrator “THE_NEW_PASSWORD”

#Get the details for a specific account
NET USER administrator

#Enable a disabled user account:
NET USER administrator /active:yes

#Create a new user account:
NET USER HV-Admin “THE_PASS” /add

#Remove a Hyper-V Server 2012 R2 from an orphaned domain
NETDOM REMOVE /d:nonexistentdomain.com HyperV-ServerName /FORCE

You can download the [tip label=”Text File with Commands” style=”1″ href=”https://www.netometer.com/blog/wp-content/uploads/HyperV-12R2-Commands.txt”]Hyper-V-Commands.txt How to Unjoin Hyper-V Server from Non-Existent Domain[/tip] that we are using in the demo.

You may also like

NetoMeter Blog

  • Video Updates
  • Upcoming Videos
  • Community Chatrooms
  • Community Forum

Useful Links

Edtior's Picks

Latest Articles