Free Hyper-V Web Management Portal

Web Hyper-V Management Interface

With azman.msc deprecated in Windows 2012R2, wouldn't it be nice to delegate basic virtual machine management tasks to superusers? - without actually giving them RDP access to the Hyper-V console.

The Hyper-V Web Manager is a free tool which I developed to manage Windows 2012R2 Hyper-V Virtual Machines via a web browser. 

Instructions on how to to download the tool are further down this page.

The web manager was written using ASP.NET and is Active Directory enabled. For example, you could set up several instances of the web manager with each instance pointing to a specific set of Hyper-V hosts. This would allow you to delegate control to different users without having to give them console access.

With the the web manager you can:

- Manage several Hyper-V hosts
- Shutdown VMs (requires Integration Services)
- Forcefully power-off VMs
- Power-On VMs
- Set VM Checkpoints
- Remove VM Checkpoints

Control Panel Pre-Requisites

1x Active Directory Server
1x Hyper-V 2012R2 Host
1x Web server with IIS 8.5 and .NET 4.0

Hyper-V management tools installed on the IIS server.

Downloading the Hyper-V Web Client Console

This code is provided as is. At time of upload, the package was scanned by enterprise grade antivirus. You are responsible for installing adequate and up-to-date virus-checking software on your computers.  I make no guarantees that the Hyper-V Web Manager is fit for any particular purpose. Use this software at your own risk and perilAlways use the Web Manager with SSL. IIS will also use impersonation to access the Hyper-V hosts.

Download the Free Hyper-V Web Manager from here.

Installing the Hyper-V Web Frontend on IIS

Create the folder c:\websites\hwm
Set Read and Execute permissions on the folder for IIS.
Copy the contents of the package into the folder.

Set the Domain Controller IP address and Hyper-V hostnames to be managed in the web.config file. The Active Directory login you use to login to the web manager should also be a member of the Hyper-V Administrators group on the hosts you want to control.

Create a new application pool called hwm, .NET CLR version = .NET CLR Version v4.0.30319, and change the Managed pipeline mode from Integrated to Classic. Classic mode is required for IIS impersonation.

Create a new website - assign it the hwm application pool.

Set the Default page for the website to Default.aspx

Restart the hwm application pool and enter your Hyper-V Administrator login credentials.

On successful login, the web manager shall list the VMs on the Hyper-V hosts set in the web.config file.

The VM control options are straight-forward.