copy files from Physical Host to hyperv Virtual Machine
-
Monday, February 07, 2011 9:27 PM
how to copy and paste physical host to hyperv virtual machine,there is any way to use usb in hyperv and also DVD drive i cannot
use more than one Vm ,then hyperv is not working,there is any hotfix for this .
All Replies
-
Tuesday, February 08, 2011 12:00 AM
Why not use ordinary network file sharing, as you would between two physical machines?
Bill -
Tuesday, February 08, 2011 5:05 AM
I agree with Bill. If you aren't sure how to do it, here is how you can do it:
1. Create a Virtual Network in Hyper-V. Refer to this link for creating one: http://technet.microsoft.com/en-us/library/cc732470(WS.10).aspx
2. Once you create the network, in the section "What do you want to connect this network to?", choose "External" and choose the appropriate network adapter.
3. If you haven't done this already, shut down the VM and add a Network Adapter to it. In the same link above, check the section "To add a network adapter to a virtual machine".
4. Once you add the adapter, go to the settings of the VM and highlight "Network Adapter". On the right hand pane, go to "Network" and click on the drop down list. Select the available network from there.
5. Power on the VM and then give it an IP address with the same addressing scheme as your host computer.To share files:
---------------------------
Once you have established network connectivity, you can share files in multiple ways:
a) Using network file sharing (like Bill mentioned above).
b) Using Remote Desktop and mapping your local drives to the VM.Hope this helps.
Krish MSFT- Proposed As Answer by Yuan WangMicrosoft Contingent Staff, Moderator Wednesday, February 16, 2011 8:47 AM
- Marked As Answer by Yuan WangMicrosoft Contingent Staff, Moderator Wednesday, February 16, 2011 8:48 AM
-
Tuesday, February 08, 2011 5:06 AM
Hello,
For security reasons, sharing in Hyper-V is going to function exactly like a physical server. The only way to share will be through the network of the virtual machines. You could mount an ISO, but it would only be an emulated DVD. You could also mount a VHD, copy files to it, unmount it, then mount it on the other machine. In any case, the concepts are similar to physical machines.
Nathan Lasnoski
http://blog.concurrency.com/author/nlasnoski/ -
Wednesday, February 09, 2011 5:00 AM
if i use external network ,can i use internal network adapter at the same time for hyperv guests
I agree with Bill. If you aren't sure how to do it, here is how you can do it:
1. Create a Virtual Network in Hyper-V. Refer to this link for creating one: http://technet.microsoft.com/en-us/library/cc732470(WS.10).aspx
2. Once you create the network, in the section "What do you want to connect this network to?", choose "External" and choose the appropriate network adapter.
3. If you haven't done this already, shut down the VM and add a Network Adapter to it. In the same link above, check the section "To add a network adapter to a virtual machine".
4. Once you add the adapter, go to the settings of the VM and highlight "Network Adapter". On the right hand pane, go to "Network" and click on the drop down list. Select the available network from there.
5. Power on the VM and then give it an IP address with the same addressing scheme as your host computer.To share files:
---------------------------
Once you have established network connectivity, you can share files in multiple ways:
a) Using network file sharing (like Bill mentioned above).
b) Using Remote Desktop and mapping your local drives to the VM.Hope this helps.
Krish MSFT -
Wednesday, February 09, 2011 8:29 AM
Hi,
checkout following blog, possibly this helps to understand the usage of external/internal or private networks in Hyper-V.
Regards
Ramazan
Ramazan Can [MVP Cluster] http://ramazancan.wordpress.com/ -
Friday, June 29, 2012 1:58 PM
this fine if the host and the virtual machine happen to be connected by a network, what happens if they aren't?
For example, I have test VMs that are completely isolated as I do not want want them anywhere near the production network.
The only way I can think of, is to copy the files to an ISO, mount the ISO on the VM and access the files from there. A bit long winded, does anyone have a better idea?
-
Monday, July 02, 2012 6:59 PMThink of how you would accomplish it with two physical machine. If you don't have a network connection between the two physical machines, you need to come up with a way that does not involve a network. An ISO is one way. A VHD is another. (You can't mount a USB to a VM, but you can create a VHD on a USB drive and mount that to the VM). If you have network access from a workstation to the VM, you can also use RDP. RDP into the VM and map a local drive from the workstation to the VM. It's not the most efficient protocol, but it works. But again, if there is absolutely no network between the two, do it in the same manner as you would with two physical machines that are not connected via the network.
tim
-
Thursday, November 01, 2012 9:24 AM
Hi
Like mentioned above you could covert the file into an iso and mount the isousing something like:
http://techtonis.wordpress.com/2012/10/24/isomaker/
Thank You
-
Saturday, December 08, 2012 2:50 PM
Make a both machine vm as well as host, in same network and through IP can transfer files, There is one more option make a single iso file of the files you want to copy and just mount the same as a CD\DVD drive of the VM

