?
Solved

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

Posted on 2010-11-27
23
Medium Priority
?
736 Views
Last Modified: 2012-05-10
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
Comment
Question by:lineonecorp
[X]
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
  • 10
  • 8
  • 3
  • +2
23 Comments
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34225328
Which virtualization technology are you using ? hyperV ,VMwere, virtual box...etc.
0
 
LVL 4

Expert Comment

by:fr0nk
ID: 34225431
If you have SCVMM, use the clone wizard.
If not, check if you specified TS1.vhd as a basedisk.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34225969
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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

Author Comment

by:lineonecorp
ID: 34228182
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
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34228301
Try to export the original VM then export it from the Hyperv manager. Not copy/past the VHD.
0
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34228302
Try to export the original VM then import it from the Hyperv manager. Not copy/past the VHD.
0
 
LVL 15

Expert Comment

by:msmamji
ID: 34228347
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
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34228379
I think it is something relate to the hardware ID specifically the VHD ID.
0
 

Author Comment

by:lineonecorp
ID: 34228485
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
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34228688
Did you tried to export/import  the VM using hyperv manager ?
0
 
LVL 15

Expert Comment

by:msmamji
ID: 34229090
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
 

Author Comment

by:lineonecorp
ID: 34232642
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
 

Author Comment

by:lineonecorp
ID: 34326282
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
 
LVL 15

Expert Comment

by:msmamji
ID: 34329668
Yep. No problem in this case.
0
 

Author Comment

by:lineonecorp
ID: 34331233
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
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34331274
"After I exported I couldn't start up the VM normally"

which VM the original or the copy?
0
 

Author Comment

by:lineonecorp
ID: 34331350
The original.
0
 

Author Comment

by:lineonecorp
ID: 34452372
Any further thoughts?
0
 

Author Comment

by:lineonecorp
ID: 34497628
Still thinking?
0
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34498736
Sorry for not post back here.

whats the exact error message you got ( screenshot if possible).
0
 

Accepted Solution

by:
lineonecorp earned 0 total points
ID: 34522118
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
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 34523297
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
 

Author Closing Comment

by:lineonecorp
ID: 34609118
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

801 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