I have installed the v_workspace in cloud mode for hyper-v following the video.
I am trying to create a Windows 2012R2 Template for use as the VDI master. Can someone point me to an article or video. I have watched the videos that are available under v_workspace, but they reference an earlier video that I cannot find.
Here are some step by step notes I have taken to create a template VM. Step A is not necessary for the group to work, but it is a best practice.
I would suggest creating a very basic template and creating a group from that basic template. Once you feel comfortable that your group is working properly, try adding more features and software and re-provisioning the group using the updated template.
Create VDI Desktop Group
Create Master Template **Snapshots are not supported for template VMs**
Create VM on Hyper-V server and install desired OS
Create VHD Via Powershell - New-VHD -Path 'D:\Hyper-V\Virtual Hard Disks\TemplateVM.vhdx' -Dynamic -SizeBytes 127GB -LogicalSectorSizeBytes 512 -PhysicalSectorSizeBytes 4096 -BlockSizeBytes 2MB
Convert VHD via Powershell - Convert-VHD -Path 'D:\Hyper-V\Virtual Hard Disks\TemplateVM.vhdx' -DestinationPath 'D:\Hyper-V\Virtual Hard Disks\TemplateVM-1.vhdx' -BlockSizeBytes 2MB
You will need to go to the Hyper-V settings and update the VM hard disk to the new one you just created.
Add needed Applications
Add Template VM to the Domain
Leave Network adapter DHCP
Enable RDP Disable NLA
Copy the Template Tools and PNtools folders to the Template VM
Do you know what roles/features are required? Remote access and such? - This will depend on what type of template you are creating. If you are creating a RD Session Host template then yes you will have to enable the MS Session Host role rather than PNTools plus you install the vWorkspace Terminal Server / Session Host role from the main vWorkspace installer. PNTools is for Virtual Desktops using desktops OSs such as Windows 10.
My post about vhd block sizes is still valid despite it being a couple of years old.
My post was concentrating on the block size optimisation and changes that came with vhdx. As my colleague states once you have optimised your vhdx you will need to do the following:
Install OS
Joining a domain
Installing typical software
Making sure the OS has all desired updates
Install the Instant Provisioning Tools (or IP tools), found in the download/install media
Run the template optimizer, found in the download/install media
Install the PNTools suite (this is found on your vWorkspace connection broker machine or found in the download/install media)
acanderson11
3 Posts
1544
1
Posted March 2nd, 2016 08:00
Here are some step by step notes I have taken to create a template VM. Step A is not necessary for the group to work, but it is a best practice.
I would suggest creating a very basic template and creating a group from that basic template. Once you feel comfortable that your group is working properly, try adding more features and software and re-provisioning the group using the updated template.