Recommended Posts

I am studying for my MCSE and I am new to Hyper-V as I used VMWare Workstation for years previous for web development and self study.

 

I have a few questions?

 

In VMWare Workstation I could create folders in the Virtual Machines List so I could have Base Images, Domain A, bla.com, etc. What I would do is copy a virtual hard disk from the Base Images folder to another another and create another VM and link it to the VM. Viola I know copied the base Server2008 base image to A-DC1 domain controller etc.

 

Hyper V is confusing as I am trying to do the same. I tried export VM and then import VM and all it did was create 3 virtual machines?? One during the export and re-importing it forked it again as the virtual disk needed to be a different ID if correct? Also it gave it the same name. I want not only a different VM name, but also folder, disk, etc so I do not get confused

 

My question is how do I:

1. Create a folder in the Virtual Machines list as I have a ton of base images and plan to create several domains that can get large as I add more services in my lab

2. Copy or easily import/export a VM for my existing base images and have them appear in my virtual machines list without 3 different variations.

 

I figured I am just doing something wrong

Cant create folders on Hyper-V Manager Tool (I know sucks!) - Just have to name them correctly

 

Use Differencing Disks (http://blogs.technet.com/b/canitpro/archive/2013/05/29/step-by-step-creating-differencing-disks.aspx) - Create Baseline VM, sysprep it, delete VM out off Hyper-V (But don't delete the disk) and then create new New VM within Hyper-V Manager Tool with no new hard drive, when done, open the settings on the VM and add a new harddrive but use the option "Differencing disk".

 

So your base line disk is used as a starting point but a new disk is created and anything new is put into this. Saves alot of time, FYI use a SSD if you can for the Baseline VHD file.

  On 18/06/2015 at 05:20, The_Observer said:

Cant create folders on Hyper-V Manager Tool (I know sucks!) - Just have to name them correctly

Use Differencing Disks (http://blogs.technet.com/b/canitpro/archive/2013/05/29/step-by-step-creating-differencing-disks.aspx) - Create Baseline VM, sysprep it, delete VM out off Hyper-V (But don't delete the disk) and then create new New VM within Hyper-V Manager Tool with no new hard drive, when done, open the settings on the VM and add a new harddrive but use the option "Differencing disk".

So your base line disk is used as a starting point but a new disk is created and anything new is put into this. Saves alot of time, FYI use a SSD if you can for the Baseline VHD file.

Wouldn't it be easier if there was a cloning function?

Even the free virtualbox has this. So far I an disappointed in hyper-v but I am glad I am switching to it to learn as these quirks help me pass the exams.

I will read up and see if I can use your suggestion of a half way done sysprep. It would be great if any new vm would oob experience upon startup :-)

  On 18/06/2015 at 12:33, sinetheo said:

Wouldn't it be easier if there was a cloning function?

Even the free virtualbox has this. So far I an disappointed in hyper-v but I am glad I am switching to it to learn as these quirks help me pass the exams.

I will read up and see if I can use your suggestion of a half way done sysprep. It would be great if any new vm would oob experience upon startup :-)

it would but hyper-v's clone funciton is implimented by the user using ye old Copy and Paste method :(

  On 18/06/2015 at 05:20, The_Observer said:

Cant create folders on Hyper-V Manager Tool (I know sucks!) - Just have to name them correctly

 

Use Differencing Disks (http://blogs.technet.com/b/canitpro/archive/2013/05/29/step-by-step-creating-differencing-disks.aspx) - Create Baseline VM, sysprep it, delete VM out off Hyper-V (But don't delete the disk) and then create new New VM within Hyper-V Manager Tool with no new hard drive, when done, open the settings on the VM and add a new harddrive but use the option "Differencing disk".

 

So your base line disk is used as a starting point but a new disk is created and anything new is put into this. Saves alot of time, FYI use a SSD if you can for the Baseline VHD file.

 

A question?

 

Can I use the same copied virtual hard disks between different VM's or do I have to link to a read-only parent and set a diff for each VM to do this? 

  On 18/06/2015 at 18:34, sinetheo said:

A question?

 

Can I use the same copied virtual hard disks between different VM's or do I have to link to a read-only parent and set a diff for each VM to do this? 

 

Each VM would use the same Parent Read Only VHD file and each VM would create a new VHD with new data. You cant copy the and VM hard drive without Sysprep cause WIndows Server SSID (i think that is correct)

  • 2 weeks later...
  On 18/06/2015 at 23:29, The_Observer said:

Each VM would use the same Parent Read Only VHD file and each VM would create a new VHD with new data. You cant copy the and VM hard drive without Sysprep cause WIndows Server SSID (i think that is correct)

 

I call shenanigans on this.  Provided the computer isn't domain joined you can copy the VHD file and create as many VM's as you want from it.  I'd obviously recommend renaming them afterwards and ensuring you're using DHCP.

 

Source: Senior software tester on the Hyper-V project at Hitachi.  We do this for hundreds of VM's in test labs with no ill effects.  Secondary source: Mark Russinovich debunking the SID myth.

  On 02/07/2015 at 08:11, jamieakers said:

I call shenanigans on this.  Provided the computer isn't domain joined you can copy the VHD file and create as many VM's as you want from it.  I'd obviously recommend renaming them afterwards and ensuring you're using DHCP.

 

Source: Senior software tester on the Hyper-V project at Hitachi.  We do this for hundreds of VM's in test labs with no ill effects.  Secondary source: Mark Russinovich debunking the SID myth.

 

interesting, BUT For the DC you want to create from a clone, create a unique installation or run Sysprep. - Mark Russinovich. OP is studying for MSCE so he will want or need to create labs with DCs so sysprep would be needed. 

This topic is now closed to further replies.
  • Posts

    • They have a concept of a plan. How fitting.
    • As Total War turns 25, Creative Assembly is teasing a "new era" for the strategy franchise by Pulasthi Ariyasinghe Creative Assembly has now officially been making Total War games for 25 years. It was in June 2000 that the UK-based studio put forth Shogun: Total War for PC, with Electronic Arts publishing the ambitious project. With a quarter of a century now behind the series, the developer is now looking towards the "next era" of Total War. The studio will host its first-ever Total War showcase in December 2025, which is described as a "flagship video presentation unveiling what’s next for the franchise." Creative Assembly said that the showcase will have announcements for new games as well as content for existing titles, with developer commentary also happening regarding the future of the series. "We’re honoured and humbled to be one of the few video games that get the chance to celebrate such a huge milestone, and we want to thank colleagues past and present, as well as our fans for all the support," says Total War vice president Roger Collum. "2025 marks an exciting new era for the franchise as we reveal what’s next for Total War, and we can’t wait to celebrate throughout the year with everyone." Read an anniversary letter from Roger Collum regarding the studio's history, Total War beginnings, and more over here. Prior to the showcase, Creative Assembly will be hosting retrospective video interviews, developer livestreams, and more behind-the-scenes content regarding the series starting this August. There will also be multiplayer tournaments for fans, giveaways, Q&A sessions with developers, mod spotlights, and more events happening during this period. As the studio celebrates the occasion, a massive Total War historical games sale has just gone live on Steam. This has discounts of up to 75% across everything from the original Shogun: Total War to the latest entry, Total War: PHARAOH. The discounts will last until June 26.
    • ANY standard Windows PC, either desktop or laptop, can install the Copilot app, period, no NPU or Copilot+ certification required. I should know, I have it running on a 3770K (2011) Windows 11 PC and works perfectly fine. So, your laptop can definitely run it, too.
    • Just what the driving public does not need--still another very attractive and addictive distraction.
    • You think Musk fixed any of that? Wow.
  • Recent Achievements

    • One Month Later
      POR2GAL4EVER earned a badge
      One Month Later
    • One Year In
      Orpheus13 earned a badge
      One Year In
    • One Month Later
      Orpheus13 earned a badge
      One Month Later
    • Week One Done
      Orpheus13 earned a badge
      Week One Done
    • Week One Done
      serfegyed earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      539
    2. 2
      ATLien_0
      258
    3. 3
      +FloatingFatMan
      179
    4. 4
      +Edouard
      163
    5. 5
      Xenon
      118
  • Tell a friend

    Love Neowin? Tell a friend!