Mundy

IT Knowledge Base

User Tools

Site Tools


hyper-v_templates_with_differencing_disks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hyper-v_templates_with_differencing_disks [2017/11/07 17:09]
Dan Mundy created
hyper-v_templates_with_differencing_disks [2018/04/09 09:56] (current)
Line 1: Line 1:
 ====== Hyper-V Templates with Differencing Disks ====== ====== Hyper-V Templates with Differencing Disks ======
 +
 +===== Create the Template =====
  
   - Created VM   - Created VM
   - CD %WINDIR%\system32\sysprep   - CD %WINDIR%\system32\sysprep
   - sysprep.exe /generalize /shutdown   - sysprep.exe /generalize /shutdown
-  - Created VM +  - Move that file somewhereeg C:​\VMs\Templates\template_2012r2_datacentre_de.vhdx
-  - Create disk for VMusing differencing disk+
  
 {{page>​ad&​noeditbutton&​nofooter}} {{page>​ad&​noeditbutton&​nofooter}}
 +
 +===== Create a VM from Template =====
 +
 +  - Create new Virtual Machine
 +  - Give it a name (eg server1)
 +  - Store in different location: C:\VMs
 +  - Attach a virtual hard disk later
 +  - Settings > SCSI Controller > Add Hard Disk > New
 +  - Type = Differencing
 +  - Location (you will need to create the folder) = C:​\VMs\server1\Virtual Hard Disks
 +  - Give it a filename
 +  - Set the parent disk to the template created earlier, eg C:​\VMs\Templates\template_2012r2_datacentre_de.vhdx
 +  - Apply
 +  - Firmware > Boot Order = Move Hard Drive to the top
hyper-v_templates_with_differencing_disks.txt · Last modified: 2018/04/09 09:56 (external edit)