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 .
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.
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.
You see from above CM12Lab .
Open the CM12Lab network Connection. go to Properties—> Click on Sharing Tab
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.
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.
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 !