If you would like to try out Windows 10, an excellent way is to create a new VHD. This can easily be copied or removed.
There are several guides on the net with various way to achive this. But it is actually not that difficult and here is our recipe for creating and booting into a Windows 10 VHD.
- The latest Windows 10 ISO, eg build 9879 (WindowsTechnicalPreview-9879-x64-EN-US.iso)
- The Powershell script from https://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f
Start PowerShell with administrator priviledges.
Make sure, that execution policy allows external scripts. I use the setting ‘Unrestricted’, which prompts before a script is allowed:
Next, create a bootable VHD-using Pronichkin’s script:
Convert-WindowsImage.ps1 -SourcePath WindowsTechnicalPreview-9879-x64-EN-US.iso -Edition Professional -VHDFormat VHD -SizeBytes 40GB -VHDPath C:VHDWindows10.vhd
(replace paths for SourcePath and VHDPath as needed)
Next, we need to add a boot-entry for the VHD. You can do this using BCDEdit, but I find the easist way is to attach the VHD using Disk Management.
- Open Disk Management
- Attach the VHD and note the assigned drive letter, eg. E:
- Open a command line with administrator priviledges
- Type the following:
And voila, you’re done. Happy testing