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

    • Microsoft PC Manager 3.17.4.0 (Offline Installer) by Razvan Serea With Microsoft PC Manager, users can easily perform basic computer maintenance and enhance the speed of their devices with just one click. This app offers a range of features, including disk cleanup, startup app management, virus scanning, Windows Update checks, process monitoring, and storage management. Microsoft PC Manager key features: Storage Manager- easily uninstall infrequently used apps, manage large files, perform a cleanup, and set up Storage Sense to automatically clear temporary files. Health Checkup feature -scans for potential problems, viruses, and startup programs to turn off. It helps you identify unnecessary items to remove, optimizing your system's performance. Pop-up Management - block pop-up windows from appearing in apps. Windows Update - scans your system for any pending updates. Startup Apps - enable or disable startup apps on your PC, allowing you to optimize your system's startup performance. Browser Protection - rest assured that harmful programs cannot alter your default browser. Also enables you to change your default browser. Process Management - allows you to conveniently terminate any active process, ensuring optimal system performance and resource utilization. Anti-virus protection - Fully integrated with Windows Security. Safeguard your PC anytime. Quick Steps: Download Microsoft PC Manager Offline Installer (APPX/MSIX) with Adguard Adguard serves as a third-party online service, offering a user-friendly method for directly downloading appx, appxbundle, and msixbundle files from the Microsoft Store. Official download links will be generated for both the app's various versions and its dependency packages. How to download Microsoft PC Manager Offline Installer (APPX/MSIX) 1. Initially, you must find the app URL within the Microsoft Store. Access the Microsoft Store via your browser and search for "Microsoft PC Manager". Once located, copy the app URL, which includes the product ID, either from the address bar or from the provided link below. https://apps.microsoft.com/detail/9PM860492SZD 2. Now paste the app URL into the designated area, then click the check mark button to produce a direct download link. 3. To download, right-click the relevant link and select “Save link as…” from your browser's menu. Occasionally, Microsoft Edge may flag the download as insecure. In such cases, consider utilizing alternative browsers such as Google Chrome or Firefox to successfully complete the download. Microsoft PC Manager is a completely free tool optimized exclusively for use on Windows 10 (version 1809 or newer) and Windows 11. Download: Microsoft PC Manager 3.17.4.0 | from Microsoft Store View: Microsoft PC Manager Home Page Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • You might want to update to 1TB drive.  They are not very expensive these days, there are plenty of options - simple look I would think you could find a 1TB ssd or even nvme somewhere between 50 and 100 bucks. when I have moved to larger ssds in laptop in the past, you can just connect the drive via usb - image.  Then take the old drive out, put in the new drive and there you go..  If your concerned about how much space you have left this prob your best bet..   
    • I see! Wasn’t aware of that. Even though they started off with desktop app for Mac before Windows. Should be on it’s way soon! 🤞
    • support.microsoft.com/en-us/topic/microsoft-defender-update-for-windows-operating-system-installation-images-1c89630b-61ff-00a1-04e2-2d1f3865450d
    • It's a Developer Beta 1 not even a Public or User Beta, I doubt any of the design is 100% finalized yet.
  • Recent Achievements

    • First Post
      Johnny Mrkvička earned a badge
      First Post
    • Week One Done
      viraltui earned a badge
      Week One Done
    • One Month Later
      serfegyed earned a badge
      One Month Later
    • Dedicated
      firey earned a badge
      Dedicated
    • Dedicated
      fettermanj earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      627
    2. 2
      ATLien_0
      223
    3. 3
      Michael Scrip
      217
    4. 4
      Xenon
      149
    5. 5
      Steven P.
      139
  • Tell a friend

    Love Neowin? Tell a friend!