Hi,
I am new to virtual box so be gentle. My scenario is
1. I am creating a VM with Win2012 Server attached to my company domain.
2. When my colleague copies this VM and logs in using his credentials, he has an issue with Trust relationship and getting kicked out of the domain.
3. However when we log in as admin and remove the machine from domain and rejoin it seems to work.
4.The issue is the VM has the same hostname and it has the same uuid. I have a workaround of changing the hostname and generate ta new uuid using virtual media manager. However since this VM will be tested by many users, is there any other alternative to fix this issue.
Thanks in advance to the help.
Cheers.
Windows 2012 VM's disconnected from domain
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Windows 2012 VM's disconnected from domain
I believe you can change the hostname and SID of the guest by command line within the guest (note that the SID is an internal ID number generated by the guest OS and not by Virtualbox). Search Microsoft for the proper commands. Distribute your guest in a not-attached-to-the-domain state, run it on the new hosts, run the change-hostname-and-SID script, then attach it to the domain and reboot.
The Virtualbox UUID of the guest won't affect you if you run only one copy of these guests on each of your multiple hosts. If you want to run more than one of these guests on one host, you will have to clone the guest (do this before the guest is attached to the domain). Cloning will set up your new guest with unique UUIDs, which allows more than one to run on one host, but may likely cause reactivation requirements.
Also, be sure you have your licensing ducks in a row....
The Virtualbox UUID of the guest won't affect you if you run only one copy of these guests on each of your multiple hosts. If you want to run more than one of these guests on one host, you will have to clone the guest (do this before the guest is attached to the domain). Cloning will set up your new guest with unique UUIDs, which allows more than one to run on one host, but may likely cause reactivation requirements.
Also, be sure you have your licensing ducks in a row....
-
Martin
- Volunteer
- Posts: 2562
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Windows 2012 VM's disconnected from domain
The only way supported by Microsoft to have cloned Windows Server VMs is to run sysprep after the cloning.
This initializes the required internal ids etc. for the domain to recognise the copy as a different server.
This initializes the required internal ids etc. for the domain to recognise the copy as a different server.