TECHNIG
Gateway for IT Experts and Tech Geeks

How to Drag and Drop Files in Hyper-v Virtual Machines?

There are many ways to transfer files between Hyper-v VM and Physical System. The simplest way is to Drag and Drop files in Hyper-v or Copy and Past to a VM. You can do this method with Windows 8.1, Windows 10 and Windows Server 2012 R2.

How to Drag and Drop Files in Hyper-v?

From your Windows open the Hyper-v Manger and change the following settings.

1. From the Hyper-v Settings, select Enhanced Session Mode and tick the check box of Use enhanced session mode.

Hyper-V Settings
Hyper-V Settings

2. Do the same for Enhanced Session Mode Policy form Hyper-v Settings then click OK to apply changes. These settings are enabled by default in Windows 10, but in case of none enabled system you need to do it.

Enable Guest Services on Hyper-v Guest Machines

You need to enable guest services for Hyper-v guest system to perform copy and past while you are working.

1. Open the vitual machine settings and select the Integration Services then select the Guest Services and click OK to apply changes.

Hyper-v Guest Services
Hyper-v Guest Services

2. Run the Virtual machine and login it with enhanced session mode.

Drag and Drop Files in Hyper-v - Enhanced Session
Drag and Drop Files in Hyper-v – Enhanced Session

3. Now you should easily transfer files between two system. Try to copy and past some files form the physical machine to virtual machine.

Drag and Drop Files in Hyper-v
Drag and Drop Files in Hyper-v

You can even open or mount any local drive of physical system to virtual machine through enhanced session mode.

To open a local drive to a VM, when the system ask you on the display configuration page click

Display Configuration
Display Configuration

Select more options and select Local Resources tab. Now expand the Drivers and select the drivers you want to share with Virtual Machine.

Hyper-v Local Resources
Hyper-v Local Resources

Click OK and login to VM.

Share Drivers In Hyper-v
Share Drivers In Hyper-v

Here you can see the shared drives of physical machine in virtual machine. So hope you can find this article helpful and solve file transferring between Virtual Machines in Hyper-v.

13 Comments
  1. Karar says

    That’s an interesting and great article!

  2. Hussein says

    That was great and heplfull. Thanks.

  3. Hussein says

    That was great and helpful. Thanks

    1. Shais says

      You welcome.
      Please search before ask any question if you want to solve it quickly.If you won’t find any solution, ask it through comments.

  4. Vlad says

    Hi Shais, Great article but might be incomplete.
    I tried to set drag-and-drop/copy-paste between Hyper-V host and a guest by going thru your Hyper-V Settings 1., then 2. (which seems to be a rephrase of 1) and did the “Enable Guest Services” para 1.
    Not sure what your expression I put in { } in “2. Run the Virtual machine and login {with enhanced session mode}” means. I just logged in without “enhanced mode” since I can not see how do to otherwise.
    Tried to do “3. Now you should easily transfer files between two system. Try to copy and past some files form the physical machine to virtual machine”, but neither copy-paste nor drag-and-drop worked. Have I missed anything or the instruction omits some steps/pictures?
    Also it is not clear how did you get to “system ask you on the display configuration” in the next paragraph and is it relevant to topic above or a completely different theme.
    Also, at the end you magically “see the shared drives” but how did you get there? I do not see any on my host/guest.
    Please reply at your earliest convenience. I must share files between host and guest and cannot find a complete instruction to do so.
    Thanks, Vlad

  5. Vlad says

    Update to my prev. post:
    My host OS running Hyper-V is Win 10 PRO,
    guest VM OS – Win 10 Home

  6. Shais says

    Hi Vlad,

    Log on to your virtual machines with enhanced mode and the copy and past work fine.

    To switch to enhecned mode, once close the current window of guest machine and open it again.

  7. Vlad says

    Shais,
    Thanks for your response but it does not work for me. I set up both machines per your instructions above. Using Copy on VM and then Paste on the host (or the other way around) does not bring anything back for me. I can see my host computer from VM under “Networking”, with the only folder visible is \Users\myusername. So I created an .rtf file in that directory and update it with what I need to paste to the other side, then close file, then open on other side, copy the text on a clipboard and paste where I need it. I can also pass the files same way. Very time consuming. There should be easier way to copy/paste.

  8. Ajay says

    Hi Shais,
    Thanks for the nice post. I am wondering if the same works for VM running on Linux OS.
    i.e. Host – Windows 10 Pro and VM – Linux.

    Please let me know how we could share the files that easily ( like drag and drop) between the two.

    Regards
    Ajay

  9. Rich says

    Unfortunately, drag and drop between Windows and Linux is not yet supported in Hyper-V.
    It is still behind VMware’s VM Tools which allows drag and drop between any OS.

  10. Gonza says

    This is for copy and pastes only. No “drag and drop”. Is there a way to do “drag and drop” instead of copy paste?
    Thanks!

    1. Shams says

      No, currently it’s not possible to drag and files between hyper-v and the host system.

  11. Sid says

    For everybody who is confused with the instructions on using Enhanced Session mode, this guide is talking about using a tool called VMConnect. You can simply search for it on the start menu or type ‘vmconnect’ in Run command. This will bring up a small window very much similar to RDP. Hope that helps.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More