Solved

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

Posted on 2010-11-27
23
725 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
  • 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
 

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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now