Link to home
Start Free TrialLog in
Avatar of street9009
street9009Flag for United States of America

asked on

Copy a Domain Joined Server to a VM with a Different Name

I've got an interesting issue that I'm not sure is possible, but I'd like to explore.

I have a domain-joined server that I'd like to restore to a VM, but with a different name. This server is just a standalone server, but it does run critical applications. The backup solution we use does have the ability to restore a backup to a Hyper-V image and boot. The issue at that point obviously becomes how to rename the VM without affecting the existing server.

Is this possible?
Avatar of Tony J
Tony J
Flag of United Kingdom of Great Britain and Northern Ireland image

No.

Unless you have backup software that can rename, alter GUIDs, add back to the domain under a different name...and they are just the things that spring immediately to mind.

I haven't tried this but I imagine that you could clone the existing machine (full clone, not linked) and convert it to a template and redeploy it that way but even then I am not sure how it would impact a machine with applications installed etc.

Much better to just install a second machine and reinstall everything if possible.
you would have to sysprep the server to avoid conflict in GUID's as already pointed out but otherwise you will mess with the existing server
If you had a test domain/child domain then you could restore into that
Avatar of street9009

ASKER

What does sysprep involve?
if you create a new VM from a backup you should be ok but you are going to start working on it with any network connections so as to not cause any issues with the existing server; then once you have it starting up you will have to remove it from the domain and then add it back (potential for some issues here). However before adding it back to the domain I suggest you export it, then import it a new VM with unique ID. What version of server?
Yea it's the removing and re-adding to the domain that I think would mess everything up. Because it'd not only remove itself, but the existing server as well. I'm not sure how to get around that.
This won't affect the existing server because you will not do anything to it; once you have created the new VM and removed it from the domain, then rebooting, you will then also have to rename it before rejoining it to the same domain as the original.
You do realise if you remove it from the domain whilst it is connected to said domain that its computer account will be removed from the domain. Doesn't matter if you do it on a copy or the original, hence why I suggested doing the domain removal from the copy with the network disconnected.

In a nutshell though this is a bad idea all round. Just build a new one from scratch and save yourself the headache.

Maybe cloning, removing from the domain (whilst having no network connection), converting to a template and / or syspreping might work but frankly I really don't like the idea of this. It's shortcuts for the sake of short term gain with the potential for a lot of long term pain.

And that's before we talk about licensing (OS/Apps).

And kiss goodbye to support if you don't do it in a MS/Vendor approved manner (none of this is).

And so on.
I did say "create a VM w/o a network connection" from the backup -- still I tend to agree with Tony1044, that in the long run you may be better off with a fresh install. I can only assume that you have some valid reason for wanting to duplicate this install and I also assume that you have the required licensing.
No.... I don't believe you did...read back through your comments and I think it's now clear you meant to but didn't quite.

What you actually said: "if you create a new VM from a backup you should be ok but you are going to start working on it with any network connections so as to not cause any issues with the existing server; "

Suspect the with was meant to be without?
ASKER CERTIFIED SOLUTION
Avatar of Tony J
Tony J
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sounds like the best method. I had started doing the fresh installs and was hoping to get around it with a simple copy but since it can cause so many headaches and by far isn't a simple matter, we'll just go with that.

Thanks!