Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Remove Hyper-V 2012 R2 server from non-existant domain

Posted on 2015-02-15
5
375 Views
Last Modified: 2015-02-16
I have taken over a Hyper-V 2012 R2 server.  It was originally configured to be part of a domain that is no longer accessible to the server; it must have been setup at another IT company location then moved onsite where it hosts other VMs on another LAN/Domain.  The VMs are working ok but at the moment we don't have a way to manage the Hyper-V part.

When I try to remove the Hyper-V server from the non-reachable domain I am unable to.  I know the local admin creds but not an admin cred for the domain.  Using the local Admin account does not work in removing the server from the domain.

Any ideas?
0
Comment
Question by:awsic
5 Comments
 
LVL 7

Assisted Solution

by:Network Zero
Network Zero earned 240 total points
ID: 40611471
You could just turn off hyper-v

use this command in cmd in admin mode.

bcdedit /set hypervisorlaunchtype off

that will turn off the hipervisor

You could save the VHD drives used by the server somewhere

and you're going to need the domain admin password to take the server off the domain
0
 

Author Comment

by:awsic
ID: 40611587
Well I'm making progress.  
Expert Zero: If no one chimes in with a better idea by tomorrow I'll reward you with all the points.  I believe your idea is what ultimately I will need to do but in the immediate time, I remembered another method.  5nine makes a product that allows you to log into the Hyper-V host and specify a different set of credentials.  Utilizing the local admin account of the server I was able to login and manage the environment.

Anyone have another idea?

Thanks.
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 240 total points
ID: 40611593
Try running this command in an elevated Command Prompt window:
netdom remove /d:orphan.domain.com HyperVHostComputerName /force

Open in new window

0
 
LVL 28

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 20 total points
ID: 40611743
From elevated cmd - Remove a workstation or server from the domain.

Syntax
      NETDOM REMOVE machine [/Domain:domain] [/UserD:user] [/PasswordD:[password | *]]  [/UserO:user] [/PasswordO:[password | *]] [/REBoot[:Time_in_seconds]] [/Force] [/SecurePasswordPrompt]

simplified

netdom remove computername /Domain:domain /UserD:user /PasswordD:* /Force

But I think you need domain admin user/pass for this
0
 

Author Closing Comment

by:awsic
ID: 40613254
Thank you both for your solutions.
Network Zero: You were quickest and solved the part about being able to manage the VMs with another Hyper Visor.  Thank you for your help.
VB ITS: This solved the part of the question about how to get the machine off the current domain.  Thank you for your help.
Predrag Jovic: Thank you for your help.  It was the same solution as VB ITS.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error when logging into pinterest- Java- cookies- browser 1 24
Hypervisor 1 U 10 36
Raising Forest Functional Level 9 35
Debug script powershell wmi 3 15
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question