NetoMeter - ScreenCasts and Video How To's
NetoMeter BlogFree Screencasts Latest Screencasts VirtualizationVideo: How to Remove a Hyper-V Server 2012 R2 from an Orphaned/Non-Existent Domain

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

 

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”

Hyper-V Server 2012 R2
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 Text File with CommandsHyper-V-Commands.txt How to Unjoin Hyper-V Server from Non-Existent Domain that we are using in the demo.

Comments are closed.

Netometer@Twitter