[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 745
  • Last Modified:

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?
0
lineonecorp
Asked:
lineonecorp
  • 10
  • 8
  • 3
  • +2
1 Solution
 
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
 
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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
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
 
lineonecorpAuthor 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:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

  • 10
  • 8
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now