Questions tagged [hyper-v]

Hyper-V is the Microsoft Windows hypervisor starting in Windows Server 2008 R2 and also running on Hyper-V Server 2008, Hyper-V Server 2012, Windows Server 2012, and as an optional component of Windows 8.

The Hyper-V role lets you create and manage virtualized computing environments. Hyper-V is built into recent Windows operating systems as an optional feature and includes two independent components:

  1. The management components for managing Hyper-V hosts.
    Management tools include Hyper-V Manager for virtual machine management, Virtual Machine Connection for interactive connections to the virtual machine UI, and Hyper-V-specific cmdlets for Windows PowerShell.

  2. The virtualization platform for running virtual machines.
    Platform tools include the hypervisor, WMI provider, and other necessary virtualization components such as the virtual machine bus (VMbus), virtualization service provider (VSP) and virtual infrastructure driver (VID).

If you want to run and manage virtual machines on your machine you will need to enable both the platform and management tools. Very few people enable one without the other.

If you use Server Manager to install the Hyper-V role, the management tools are included unless you specifically exclude them. If you use Windows PowerShell to install the Hyper-V role, the management tools are not included by default. To install the tools, use the parameter –IncludeManagementTools. For instructions about installing the Hyper-V role, see Install Hyper-V and Configure a Virtual Machine.

Hyper-V Documentation:

1517 questions
18
votes
4 answers

Manipulate Hyper-V from .NET

Are there any means for a .NET application to create, delete, start, and stop Hyper-V virtual machines? I would like to create an automated means of starting and stopping (the create & delete are bonus) virtual machines from a C# application. I…
Jason Whitehorn
  • 13,585
  • 9
  • 54
  • 68
17
votes
9 answers

Docker stuck on "Waiting for SSH to be available..."

I'm using a docker with Windows and Hyper-v to create containers. I've added a docker machine vmachine to my docker configuration. First time the machine is created, it gets an IP (although I cannot manage nginx to access it -…
João Dias
  • 1,078
  • 1
  • 15
  • 38
17
votes
4 answers

How can I get Hyper V to detect my Ubuntu VM's IP Address

I just installed a new ISO downloaded from Ubuntu.com today, just installed it to a new machine. Networking is working just fine, but the IP address isn't getting picked up by the Hyper-V manager. I am trying to make a base box for vagrant, so I…
John P Bloch
  • 4,535
  • 1
  • 22
  • 24
16
votes
5 answers

How to use Android Emulator on AMD Ryzen (Android Studio)?

I try to build Android app from Android Studio. I tried to install HAXM from Android Studio installer but I've an error: Intel Virtualization Technology is already enabled in my BIOS. And the Hyper-V is already disabled on Windows 10.
pirmax
  • 2,054
  • 8
  • 36
  • 69
16
votes
4 answers

How do you check to see if Hyper-V is enabled using PowerShell?

I am trying to write a PowerShell script that checks the Windows Optional Features to see if Hyper-V is installed. However, my code is not working. Even when Hyper-V is disabled, the script outputs that it is already enabled. #Requires…
Evan Amara
  • 163
  • 1
  • 1
  • 6
16
votes
4 answers

Java scheduler executor timing issues on virtual windows server

We have a Java application that needs to run, among other environments, on a Virtual (Hyper-V) Windows 2012 R2 Server. When executed on this virtual Windows server, it seems to experience weird timing issues. We've traced the issue to erratic…
Malt
  • 28,965
  • 9
  • 65
  • 105
16
votes
4 answers

Visual Studio 2015 RC Emulator for Android doesn't start

I have a problem with the Visual Studio 2015 RC Emulator for Android. The emulator is not starting when I'm starting debugging (F5) nor from "Tools > Visual Studio Emulator for Android...". The process is stuck on "Preparing virtual machine" and…
16
votes
3 answers

Unable to start the Windows Phone Emulator

I've seen this error several times. Each time I google deeply and finally made me reinstall my windows and all stuffs. Please help, I don't want to reinstall everything again. The error is: Windows Phone Emulator Unable to start the Windows Phone…
15
votes
8 answers

Unable to RDP to EC2 instance

I created a VM using Hyper-V on my local machine which I can RDP onto fine. I exported the VHDX to VHD and then uploaded it to AWS via the API. This created a new EC2 instance for me but I cannot connect to it as it has no security keypair…
LDJ
  • 6,896
  • 9
  • 52
  • 87
15
votes
2 answers

How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization?

What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template is fine, with the OS installed, and some base software installed) --- a new web…
Adam
  • 28,537
  • 15
  • 60
  • 73
14
votes
3 answers

Hyper-v screen resolution in Ubuntu VM with RemoteFX video adapter

I am using Hyper-V for the first time on a Windows 10 installation where I am having some issues with screen resolution in my Ubuntu 18.04 desktop VM. Guides propose these actions in order to configuration screen resulution for linux based VMs: Edit…
Michael
  • 892
  • 2
  • 10
  • 28
13
votes
4 answers

How to enable VMX in the HAXM installation?

This is frustrating af. My problem seems not to be unique as you can see, there are a lot of similar issues opened here in SO but after playing trial and error for i-dont-know-how-many-hours i give up. Some quick context: Installed Android Studio.…
daenius
  • 168
  • 1
  • 1
  • 7
13
votes
2 answers

Visual studio build fails while copying files to the bin directory due to file locks by vmwp.exe

I'm running my development environment in Docker containers. Since I have done some updates I'm now experiencing some difficulties when trying to rebuild my project that's running in my Docker container. My project is running in a Windows Server…
A. van Hugten
  • 715
  • 5
  • 16
13
votes
4 answers

bcdedit /copy syntax not correct

I'm trying to run Oracle Virtual Box on my work laptop. I'm getting an error saying that it can't run because I'm running Hyper-v. I'm trying to follow the instructions at Scott Hanselman's Blog, which have worked for me in the past on my personal…
Eric
  • 2,861
  • 6
  • 28
  • 59
13
votes
8 answers

Unable to start Docker in Windows 10 - Hyper-V error is thrown

I get the below error while starting of docker in Windows 10. Anyone can guide me to install docker correctly? Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop:…
sankar
  • 1,724
  • 1
  • 22
  • 37