What is the best way to copy VHD to create 2 virtualized-Terminal Servers

I have a virtualized Terminal Server (TS01) with TS01.VHD virtual hard drive. I want to make a copy of it and run it as if they both are two different Terminal Servers. My purpose was that each of them are independent from each other, so I will be able to install different applications on each of the TS.

What I did was copying the TS01.VHD to different folder and rename it as TS02.VHD, and then I created a new Virtual Machine:
- TS01.vhd is located in C:\Virtual HDD\TS01\  folder and
- TS02.vhd is located in C:\Virtual HDD\TS02\ folder.
So they both are located in different folder and have different name.
I turned the TS02 VM on, sysprep-ed it, and then I changed the computer name, IP address, and join to the same domain.

The problem is: When I run them both (TS01 vs. TS02) side by side, every time I create a folder on either one, it will also be created on another. This is not what I want. I want them to be independent to each other.

Does anyone know what step did I miss, or probably have a better way?
lineonecorpAsked:
Who is Participating?
 
lineonecorpConnect With a Mentor Author Commented:
This has something to do with group policies. I set the GPOs to a default on TS01. Copied that TS01 to TS02 and placed it on a different folder. And then created new VM and run it side by side. It worked fine now.
0
 
Suliman Abu KharroubIT Consultant Commented:
Which virtualization technology are you using ? hyperV ,VMwere, virtual box...etc.
0
 
fr0nkCommented:
If you have SCVMM, use the clone wizard.
If not, check if you specified TS1.vhd as a basedisk.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Darius GhassemCommented:
Try ing NEWSID.

If they are independent VMs this should not be happening. Check your settings make sure they are both not running on same VHD files
0
 
lineonecorpAuthor Commented:
Thanks for the replies.

Sulimanw:
I am using 2008 R2 Enterprise with HyperV.

fr0nk:
I do not have SCVMM.
Where would I have specified "TS1.vhd as a basedisk" - not familiar with that option.


Dariusq:

Are you saying to try NEWSID? This is what I found about NEWSID per this MS  link - http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx


"Regarding SIDs, Microsoft does not support images that are prepared using NewSID, we only support images that are prepared using SysPrep. Microsoft has not tested NewSID for all deployment cloning options"

We used Sysprep which generates a new SID.

As per my original note these are two completely separate VHD's - separate names/separate folders?

0
 
Suliman Abu KharroubIT Consultant Commented:
Try to export the original VM then export it from the Hyperv manager. Not copy/past the VHD.
0
 
Suliman Abu KharroubIT Consultant Commented:
Try to export the original VM then import it from the Hyperv manager. Not copy/past the VHD.
0
 
msmamjiCommented:
Strange..If you sysprepped it then you should be OK... I guess it might have something to do with TS role installed before sysprepping.... do/did you have file server role installed on the server?
0
 
Suliman Abu KharroubIT Consultant Commented:
I think it is something relate to the hardware ID specifically the VHD ID.
0
 
lineonecorpAuthor Commented:
Sulimanw:

Where is the hardware ID found?

Msmamji:

I will check on the all the roles assigned  thoroughly on each computer but I thought other than the DC I could have multiple servers with the same role e.g. 3 servers with TS role, 4 servers with File Server role.  Is that not correct? Or are you saying it's some combination of roles? Or some option where for some reason a server has been chosen as the 'sole' role of that kind for the domain?
0
 
Suliman Abu KharroubIT Consultant Commented:
Did you tried to export/import  the VM using hyperv manager ?
0
 
msmamjiCommented:
No. There is nothing wrong with having multiple roles on a server/VM or having multiple server with the same roles or any combination of that. As a best practice, you should add roles after sysprepping the image.
I asked if you have file server role on the original server (before sysprepping)? If so was it configured with DFS?

0
 
lineonecorpAuthor Commented:
Sulimanw: I will try to export/import later, because I can't shut it down now. I'll try it and back to you as soon as I've done trying export\import.

msmamji: On the original server TS01, I didn't set any File Server nor DFS config. Actually, I didn't set any role on TS01 yet, so it shouldn't be a problem should it?
0
 
lineonecorpAuthor Commented:
Still looking for a good time to do this.

msmamji: On the original server TS01, I didn't set any File Server nor DFS config. Actually, I didn't set any role on TS01 yet, so it shouldn't be a problem should it?
0
 
msmamjiCommented:
Yep. No problem in this case.
0
 
lineonecorpAuthor Commented:
Sulimanw:

I tried the export.  After I exported I couldn't start up the VM normally. The only way I could get the VM started was to delete the exported file.
0
 
Suliman Abu KharroubIT Consultant Commented:
"After I exported I couldn't start up the VM normally"

which VM the original or the copy?
0
 
lineonecorpAuthor Commented:
The original.
0
 
lineonecorpAuthor Commented:
Any further thoughts?
0
 
lineonecorpAuthor Commented:
Still thinking?
0
 
Suliman Abu KharroubIT Consultant Commented:
Sorry for not post back here.

whats the exact error message you got ( screenshot if possible).
0
 
Suliman Abu KharroubIT Consultant Commented:
Glad you problem solved!

If I understand you, do you mean domain GPOs or local polices ? how did you change them if the VM cant start ?
0
 
lineonecorpAuthor Commented:
It worked fine now, after I set GPOs to default (microsoft default - no costumized settings) on original TS01 and then copy to TS02
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.