Windows Server 2012R2 Grant access to hyper-v VM’s #Hyper-v #ws2012r2 #winserv #msftprivatecloud   5 comments

ever want to set security on a VM ?

new Command’s are there in powershell



Get-VMConnectAccess show all the rights



suppose I want to give my SQL DBA access to the VM

Grant-VMConnectAccess -VMName mvpvmm01 -UserName mvp\sql2012



Or revoke access
Revoke-VMConnectAccess -VMName mvpvmm01 -UserName mvp\sql2012

About these ads

Posted July 26, 2013 by Robert Smit [MVP] in Windows Server 2012 R2

Tagged with

5 responses to “Windows Server 2012R2 Grant access to hyper-v VM’s #Hyper-v #ws2012r2 #winserv #msftprivatecloud

Subscribe to comments with RSS.

  1. Pingback: Week of July 26: Start testing Windows Server 2012 R2 with the Windows Server MVPs - Server and Cloud Partner and Customer Solutions Team Blog - Site Home - TechNet Blogs

  2. This did not work on Windows server 2012 and Windows server 2012 R2 both!.
    Have stand alone server. Created user joe, local non-admin user and used Grant-VMConnectAccess to give permission to joe. The Get-VMConnectAccess shows joe having authorization.
    Logged in as Joe, Cant use vmconnect to connect to it.! Any ideas ?

    • This is a working solution, every item I create is on windows server 2012 R2. but as you say you have a standalone machine and give joe rights but rights on the VM file is not the same as RDP rights in the VM , you still need to add joe to the RDP group in the VM.

  3. I’d also appreciate some additional information regarding it’s use, it appears we’re not alone in not fully understanding it:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

  • Now Reading

    Microsoft Windows Server 2012 Dynamic Access Control
  • Follow

    Get every new post delivered to your Inbox.

    Join 1,090 other followers

    %d bloggers like this: