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

    • Why do you think the writing is on the wall? Tesla continues to have the highest selling models on the planet, and they continue to grow on that despite their junk reliability rating. I'm not going to buy one because of the continued build quality issues (and lack of Carplay), but I appreciate that they're the best player in an EV market that is massively lacking in infrastructure and affordability. Besides the EV technology needing to eventually outpace gasoline, self-driving technology is undoubtedly going to be the future. It's not going to happen tomorrow and not even in 10 years, but within our lifetimes, most cars on the road will be self-driving. That's the only way to solve the issue of a million deaths on the road. Waymo is using technology that's simply too expensive, which means it has to charge high fares. Tesla is going to blow past them with their ~$40k car and further yet when they release that weird looking 2-seater. Pretty soon Nvidia is going to be a market player, Amazon will be a player, and possibly the other 20+ startups that are working on a vehicle. I'd like to revisit this in a year and see how the market looks. I'm willing to bet there will be a huge increase of driverless cars on the road, and I doubt that Waymo is going to be the majority of them. Waymo isn't profitable for Google, so it's entirely possible the plug gets pulled as soon as several players leave them in the dust.
    • I have always found it funny how so many here complain everyday about Windows but often are the same people who will attack anyone who even suggests using Linux.
    • I don't think even with these options, will people enroll in this program. I mean, it's certainly a welcome change for us power users, and I think many will take advantage of it. But like the article says, Windows 10 remains the dominant OS, and I don't think this is going to change in 4 months time. Having mainstream Windows 10 users have to jump through hoops just to continue to receive updates is going to be an unnecessary hassle. The only remedy is for Microsoft to extend support for 4 more years, giving users enough time to just upgrade their PCs as the hardware naturally ages out.
    • Windows 11 gets fixes for stuck Windows Update by Taras Buria Earlier this week, Microsoft started a gradual rollout of KB5062324, a small configuration update for Windows 11 version 24H2. The goal is to address an issue with a stuck Windows Update, which is unable to finish scanning for available updates. Microsoft is rolling out KB5062324 gradually. You can get it by heading to Settings > Windows Update and toggling "Get the latest updates as soon as they're available." After that, restart your computer and check for available updates. Windows Update should properly detect KB5062324 and download it to fix issues with update detection. In the support document for KB5062324, Microsoft added that the bug could be mitigated by restarting Windows. This will get Windows Update unstuck and allow the system to finish update scanning. Users can also get a permanent solution by downloading KB5058499 (the May 2025 non-security update) or a newer release. Note that the bug only affects computers with Windows 11 version 24H2. Older releases are unaffected. Windows 11 version 24H2 still has a few known issues awaiting their fixes. For example, there are compatibility issues with the sprotect.sys driver, which causes apps to stop responding, audio output losses on PCs with Dirac Audio, apps hanging when using cameras, and more. You can find the complete list of known issues in Windows 11 version 24H2 here. Speaking of updates and fixes, Microsoft today released a non-security update for Windows 10. KB5061087 (build number 19045.6036) is now available for download, and it includes various fixes for the Start menu, USB printers, incorrect Windows version reporting, and more. The update arrived minutes after Microsoft announced that the Extended Security Update program would be free for Windows 10 users. Also, the company recently revealed its plans to pull legacy drivers from Windows Update.
    • Well this will provide me time to save funds for 2 Replacement Windows 11 Compatible Machines, tried to save since my birthday in February, but savings not much at moment--guess ordered way too much Doordash. So will get this with either WIndows backup with the settings to the Cloud or 1000 MS Reward points, Then work on saving for 2 Windows 11 Compatible machines. Get sisters Windows 10 Laptop squared away for a year, then will be up to her to afford replacement of that one, but my systems i'm getting replaced somehow, even if i have to goto with a Mini PC for PC 2, someway somehow all systems gonna be Windows 11 by October 2026.
  • Recent Achievements

    • Week One Done
      DrRonSr earned a badge
      Week One Done
    • Week One Done
      Sharon dixon earned a badge
      Week One Done
    • Dedicated
      Parallax Abstraction earned a badge
      Dedicated
    • First Post
      956400 earned a badge
      First Post
    • Week One Done
      davidfegan earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      607
    2. 2
      ATLien_0
      228
    3. 3
      Michael Scrip
      167
    4. 4
      +FloatingFatMan
      154
    5. 5
      Xenon
      140
  • Tell a friend

    Love Neowin? Tell a friend!