Virtual Machine Connection & Authorization Manager

I’ve started learning Microsoft Hyper-V as well as working on few network and virtualization projects and this post is from my today learning and exercise.

After installing Microsoft Hyper-V role on the Server (WS 2012/WS 2012 R2) or Desktop (Win 8/Win 8.1) two icons would be added to the new “Start Screen”.

1. Hyper-V Manager which is GUI tools and would be used to create and manage hosts and virtual machines.
2. Hyper-V Virtual Machine Connection which is a new compact tools for connecting to the VMs Console; after opening VMC you don’t have to keep Hyper-V Manager open and you can simply close it.

If you open VMC window from Hyper-V Manager, there would be no problem with authorization but if you open it from start screen or search result without doing any previous modification, there’d be little problem.

I’ve installed Hyper-V role on my laptop with Windows 8 and after opening VMC windows I saw bellow prompt.
“You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer ‘XYZ’.

P5-WHVRAP-01

In this case, it’s needed to modify authorization and permission store and for this purpose it’s needed to run “azman.msc”

P5-WHVRAP-02

“azman.msc” would open “Authorization Manager” snap-in and it’ll help to modify required file.

P5-WHVRAP-03

Select “Action” menu above and then “Open Authorization Store …”

P5-WHVRAP-04

Select “XML file” and browse to “C:\ProgramData\Microsoft\Windows\Hyper-V\InitialStore.xml”

P5-WHVRAP-05

After selecting this xml file, bellow structure would be loaded

P5-WHVRAP-06

It’s possible to create new “Role” and specify permitted “Operations” but for simple, fast full access to your own personal VMs, select the “Hyper-V services\Role Assignments\Administrator”

P5-WHVRAP-07

Right click in the right panel (bellow specified current user and groups)

P5-WHVRAP-08 P5-WHVRAP-09

Now search for user or group and add them

P5-WHVRAP-10 P5-WHVRAP-11

New user or group would be added to the list, now just simply close “Authorization Manager” and re-select “Server” from VMC.

P5-WHVRAP-12

P5-WHVRAP-13

As it’s shown in above screen shot, there would be no more prompt and it’s possible to list VMs and connect to them.

 

It's your kindness to leave a reply/feedback