Jump to content

Recommended Posts

Posted

I'm in the process of finalising my Windows 10 Student Golden Image ready to deploy to our computer suites so I've just had the Head of Computer Science come down and choose all the options he wants us to install in Visual Studio 2017 Pro.

 

I ran the install on my Windows 10 (1703) desktop so he didnt bugger up my golden image and screenshotted them all so I can replicate what he wants.

 

I'm creating the Golden Image on a Hyper-V Virtual Machine and when I run the install two options are missing:

 

VS2017 missing emulators.PNG

 

Visual Studio Emulator for Android and Windows 10 Mobile Emulator (Anniversary Edition) are simply not there!

 

Any ideas why there missing?

Posted
Is because it's running in a Hyper-V VM? Windows 10 knows when it's running as a virtual machine. Them two options run as Hyper-V VM's.
Posted

I suspect the installer knows it is running in a VM. Looking at the install page for VS it looks like you have to run the emulator in a hyper-v vm.

 

As you are already running it in a VM, you will need to use a server 2016 hyperv host (as it allows nested virtualization, basically a VM within a VM) to create the image.

Posted
I suspect the installer knows it is running in a VM. Looking at the install page for VS it looks like you have to run the emulator in a hyper-v vm.

 

As you are already running it in a VM, you will need to use a server 2016 hyperv host (as it allows nested virtualization, basically a VM within a VM) to create the image.

 

The Windows 10 VM I have created has been created on a physical Hyper-V Host Dell Server running Server 2016 Enterprise and also I have installed Hyper-V in the Windows 10 VM and those two options don't show up.

 

For Visual Studio 2015 to install I also had to enable Hyper-V so the emulators in that version installed OK in a Windows 8.1 VM.

Posted

Have you enabled nested virtualization for the VM?

 

Make sure the VM is powered off and run the following command in powershell:

 

Set-VMProcessor -VMName  -ExposeVirtualizationExtensions $true

 

Where is the name of your windows 10 reference VM

Posted
Have you enabled nested virtualization for the VM?

 

Make sure the VM is powered off and run the following command in powershell:

 

Set-VMProcessor -VMName  -ExposeVirtualizationExtensions $true

 

Where is the name of your windows 10 reference VM

 

No, not done that. I will give that a try though. Do you know if I will need to turn that off before I image the VM so I can deploy it as a student 'golden image'?

Posted
I'm not 100% certain but I think it would be fine to leave it as you are just exposing the virtualization capabilities of the host to the VM.

 

I'm currently exporting the Image as a backup and then I'll give this a go and see what happens!

 

Alternatively I need to find a couple of alternative (free) emulators to replace the 2 that wont install as I'd rather not have to do the builds on a physical machine.

Posted
UPDATE: The image was created successfully so the above powershell command didnt affect that being done. Just need to create a Task Sequence for it and test it deploys OK! :) Hopefully it should work which will keep our Head of Computing happy.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...