ESwar KONeti

All about Configmgr and its Connected Objects….

  • About Author
      View eswar koneti's LinkedIn profile
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 247 other subscribers

  • Archives

  • Meta

  • #Configmgr Tweets

  • Copyright!

    All the blog posts in this website are owned by Eswar Koneti and may not be reused in any mode without prior approval of Eswar Koneti. You may quote one paragraph from the blog posts if you link to the original blog post.
    Happy Reading!

  • Awards


  • Follow Updates

You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer

Posted by Eswar Koneti on 26th April 2012

Few days ago have install Core Hyper-V server 2008 R2 on Desktop machine which has around 8 GB of RAM and assigned IP Address for it through DHCP.

Server is running fine with hyper-V manager but when I try to connect to it from another machine as it is CORE and no console based (less resources used by this) ,it gives me error

“You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer”

John has nice post on this here .

Below are the steps what I have performed to get this working.

On Hyper-V : Disable the Firewall and allow remote desktop and WMI through firewall rules with command line  given below:

netsh advfirewall set currentprofile state off

netsh advfirewall firewall set rule group="Remote Administration" new enable=yes

netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes

netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes

netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes

netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes

On client machine :

If you already enabled DCOM permissions,you don’t have to do this step  Jump to Step 2 :

Step 1 : Run “Component Services” manager and expand “Component Services – Computers – My Computer.

Right-click on “My Computer” and choose “Properties”.

Under “Access Permissions”, click “Edit Limits”.

Click “ANONYMOUS LOGON” and select “Allow” for “Remote Access”.

 

Step 2 : run the CMD with administator with below command line and you should know the password of Hyper-V  computer.

cmdkey /add:Hyper-V-name /user:Hyper-V-Name\FirstLast  /pass

Where Hyper-V-Name is name of the Hyper-V computer

and Firstlast is name of the administrator .

It prompts you to enter the password of the user of Hyper-V server …all done

CMDKEY: Credential added successfully.

Try now to connect to Hyper-V server remotely….

Tags: , , ,
Posted in Hyper-V | 2 Comments »