Eswar Koneti's Blog

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 106 other subscribers

  • Awards


  • FaceBook Updates

  • Catagories

  • Meta

  • 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!

Archive for the 'Hyper-V' Category

Hyper-v Share folders between Host and Guest Operating System

Posted by Eswar Koneti on 1st October 2012

Unlike VMware WorkStation or Virtual PC(Shared folders) ,Hyper-v do not have Easy way to share Host Machine Shared Folders unless you do some Configuration wlEmoticon smile Hyper v Share folders between Host and Guest Operating System.

In this post,will go through how to Access Your Host shared folders(Physical Machine) from your Guest OS (Hyper-v) Machines and Vice Versa (Guest to Host).

I am running Hyper-V on my Windows 8 machine and it is Great.

After you install Hyper-V,You must have Created Internal Virtual Switch Via Virtual Switch Manager to be used only for Your Lab computers.

If you want to have Internet connection on Lab machines ,you can add one more virtual Switch in addition to above local network with External and use your local Network Card.

 

image thumb8 Hyper v Share folders between Host and Guest Operating System

As you see from above,I have 2 Virtual Switches one used only to communicate within the lab computers and other is to provide Internet connection where ever is needed.

But for sharing you do not need to have Internet Virtual Switch . It is only to get internet.

Once you are done with creation of Virtual Switch with Internal,You will find this from your Physical machine(Host) network connections.

image4 thumb Hyper v Share folders between Host and Guest Operating System

You see from above CM12Lab .

Open the CM12Lab network Connection. go to Properties—> Click on Sharing Tab

image8 thumb Hyper v Share folders between Host and Guest Operating System

Select “Allow other network Users to connect though this Computer Internet connection”

Now we have to configure the IP Address .

Go to Networking Tab,Click on Internet Protocol Version 4. Provide the IP address which is used with in the Lab machines Range.

I use 192.160.10.X series. So I used 192.168.10.1 and DNS address is Lab Machine Domain Name.

image11 thumb Hyper v Share folders between Host and Guest Operating System

Click on Ok ,Close.

We are almost done .

Now Test it how it works :

Note :IF your windows Firewall is Enabled on Host Machine,Try to allow File and Print Sharing in windows Firewall else you will fail to access.

Access the above Given IP from your Hyper-V Machine ,it will ask for Authentication which is your Host machine credentials.

image16 thumb Hyper v Share folders between Host and Guest Operating System

You are done ! I see my Share folders from my Host Machine. This way I can easy access my shared folders from Hyper-V Machines.

You can do the same to access files from your Guest OS to Physical Machine.

Until Next !

Tags: , , , , ,
Posted in Hyper-V, Installation Guides, Setup & Deployment, Shared Folders | 3 Comments »

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 »