TOTD: Non-administrators access in Hyper-V, AzMan, FAQ

What is AzMan and why should I know about it?

AzMan (azman.msc) is the Windows Authorization Manager. AzMan was the preferred method to provide granular access to the Hyper-V functions to non-administrators .

Unfortunately, it was deprecated in Windows Server 2012 and it doesn’t work in Windows Server 2012 R2.

How to use AzMan?

Enter to Hyper-V host, win+r and type AzMan.msc  -> open configuration store (C:\ProgramData\Microsoft\Windows\Hyper-V\InitialStore.xml)

Then create new scope (optionally), role and tasks definition and then assign user to this role. That’s it.

Untitled

Err..What about Server 2012 R2?

You may notice AzMan.msc and InitialStore.xml are still existed in 2012 R2. But…it doesn’t really work. In Server 2012 R2 Hyper-V uses simple authorization. It’s just a group “Hyper-V Administrators”.

2

So , if you want to provide Full Access  to Hyper-V you simply add users/groups to this built-in group. There is no RBAC (Role-Based Access Control).100% RBAC is available only in VMM.

Windows Server Technical Preview and Hyper-V Server Technical Preview Expiration Extension

This download will allow you to continue using the Windows Server Technical Preview and Hyper-V Server Technical Preview from October 2014 without interruption until the next preview is available in May 2015.

To install to continue using Windows Server Technical Preview and Hyper-V Server Technical Preview.

  • You can either run the installer from the Download Center website, or save the download package to a local computer or share. If you save the download package to a local computer or share, double-click the installer program, Windows6.4-KB3056022-x64.msu.
  • When you are prompted by the Windows Update Standalone Installer dialog box to install the update, click Yes.
  • Read and accept the license terms. Click I accept. Installation requires a few minutes to finish.
  • Reboot after installing. System may require up to 5 minutes to respond.

Important Notes: If you installed HyperV server from ISO, you cannot use the .msu package to patch it. You will need to use DISM. Example: dism /online /add-package /packagepath:Windows6.4-KB3056022-x64.cab

http://www.microsoft.com/en-us/download/details.aspx?id=46447

UPDATE:

For DC GUI versions, needed to activate with the key from http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview .

Installation Guidelines

Upon installation, you will be prompted to activate. A product key is not required for the ISO installation.

VHD installation requires the following product key:

JGNV3-YDJ66-HJMJP-KVRXG-PDGDH

Sometimes a reactivation is needed too (slmgr /ato)