Windows 10: How can I export a Hyper-V VM to a network share?

Discus and support How can I export a Hyper-V VM to a network share? in Windows 10 Virtualization to solve the problem; I'm trying to export a Hyper-V VM from one system to the network share located on another system. Both systems are Windows 10 Pro 20H2. When I attempt... Discussion in 'Windows 10 Virtualization' started by hsehestedt, Nov 16, 2020.

  1. How can I export a Hyper-V VM to a network share?


    I'm trying to export a Hyper-V VM from one system to the network share located on another system. Both systems are Windows 10 Pro 20H2. When I attempt to do this from the Hyper-V manager I get the following error:

    An error occurred while attempting to export the virtual machine.
    Failed to copy file during export.
    Failed to copy file from '<source path of VHD file>' to '<network share>': General access denied error (0x80070005)

    This problem is precisely described by the following Microsoft article:

    https://docs.microsoft.com/en-us/tro...005-export-vms

    The article notes that the problem happens because the export is being performed by the system account on the host computer. The article details giving permissions to the computer account of the host system to the share on the destination computer. The problem is that on Windows 10 in a Workgroup environment I don't see any option to give permissions to a computer account.

    Anyone know how to do this? I can't seem to figure this out.

    :)
     
    hsehestedt, Nov 16, 2020
    #1
  2. Kari Win User

    Exporting VM with hyper-v


    Exporting a Hyper-V vm keeps everything, GUID always remains the same, original. It's the importing that determines if old GUID and for instance activation will be kept or not.

    If imported registering vm in-place or restoring vm, GUID is kept (green highlight in screenshot below). If importing copying vm a new GUID will be created (red highlight). See tutorial Method One Step 6 for explanation for these three import methods: Hyper-V Virtual Machine - Import in Windows 10 - Windows 10 Forums


    How can I export a Hyper-V VM to a network share? [​IMG]


    dXBwylFs-Wg
     
  3. Cliff S Win User
    Exporting VM with hyper-v


    Damn! I forgot that you told me about that.
    I should have remembered, but such things, I remember only as I do them.
    Would rep you, but I got to spread the love first*Wink
     
    Cliff S, Nov 16, 2020
    #3
  4. How can I export a Hyper-V VM to a network share?

    Windows 10 Hyper-V: Export VM to Network Share (either NAS or Windows Share)

    Is there any known method by which a Windows 10 Pro (Non-Server) user can use Hyper-V's "Export VM" functionalities to export a virtual machine to a network share?

    In my case, "a network share" means either another Windows computer on the network, or my Samba-3.0-compatible consumer NAS. I would like to directly export from Hyper-V a virtual machine to one of these network locations, for disk space reasons.

    However, I have learned (hopefully correctly) that permissions are very tricky for Hyper-V, because the actions Hyper-V performs during export are from the "SYSTEM" account, rather than a user account. I guess as a result, the receiving location (the NAS or the other computer) must have certain kinds of permissions set up, but after days of trying I have not found a successful procedure.

    Some examples of troubles I have encountered, I have seen the following errors:

    • "Failed to copy file from ...", General access denied error (0x80070005) [occurs when I try to export to a windows share, even when permissions for receiving path are set to "Everyone has Full Control"]
    • "Exporting virtual machine...failed", The specified server cannot perform the requested operation (0x8007003A) [occurs when I try to export to the NAS. Occurs whether or not unauthenticated guests have read/write/execute access to the receiving path]

    Some questions:

    • Is Hyper-V-exporting VMs to network (Samba) shares supported in Windows 10 Pro?
    • Is it supported in Windows Server?
    • For consumer NAS SMB3.0 devices also? Or just Windows shares?
    • Any known method to get this to work?
     
    OrangeSherbet, Nov 16, 2020
    #4
Thema:

How can I export a Hyper-V VM to a network share?

Loading...
  1. How can I export a Hyper-V VM to a network share? - Similar Threads - export Hyper network

  2. Hyper-V VM is not able to access its network?

    in Windows 10 Network and Sharing
    Hyper-V VM is not able to access its network?: I have created Windows 10 VM under a Windows 10 host. The VM was created using just the preconfigured "Windows 10 Dev Environment" template. It used to work before, but something changed, and now it's not working. Looking at the VM settings, it shows that the VM is configured...
  3. Export Win10 Hyper-V VM and import into Server 2016

    in Windows 10 Installation and Upgrade
    Export Win10 Hyper-V VM and import into Server 2016: I am having trouble moving a VM from windows 10 to Server 2016. I have updated Win 10 to 20H2 and applied all available windows updates. I created a VM on Win 10, exported it, and then copied to a server 2016 computer with Hyper-V installed but it does not present as...
  4. Hyper-V VM

    in Windows 10 Updates and Activation
    Hyper-V VM: With the Hyper-V session running on my local machine. Am I allowed to create a VM using the DVD I used on the machine? https://answers.microsoft.com/en-us/windows/forum/all/hyper-v-vm/2b8f2e09-28ab-4e98-bba3-f835ac67d542"
  5. Hyper-V VM. No OneDrive folder.

    in Windows 10 Virtualization
    Hyper-V VM. No OneDrive folder.: Hyper-V VM. No OneDrive folder. Clicking OneDrive doesn't give a OneDrive folder. 111321
  6. How to install Windows 10 on Hyper-V VM?

    in Windows 10 Virtualization
    How to install Windows 10 on Hyper-V VM?: If there is a tutorial already, I cannot find it here as most of the hyper-V references are about getting Hyper-V working. I have: - Physical Notebook running Windows 10 Home (with key of course) - Physical Notebook running Window 10 Edu (with key of course) - Hyper-V...
  7. HYPER-V can I Clone the VM to another machine

    in Windows 10 Virtualization
    HYPER-V can I Clone the VM to another machine: Hi there I'm trying to clone a W10 VM on to another machine. This new one has INTEL hardware - I've been doing most of my testing with an AMD box - probably a lot of troubles I've had might be to do with the AMD hardware. So I've got HYPER-V all set up - but I can't get...
  8. Exporting VM with hyper-v

    in Windows 10 Virtualization
    Exporting VM with hyper-v: When you export a VM with Hyper-v, does the exported VM retain the same hardware identifier as the original? I know with VMware, when you open up a backed up VM, you select "I moved it" to retain hardware identifier, and "I copied it" if you want a new identifier. Is it...
  9. How can Hyper-V VM access shared Host PC drive/folder?

    in Windows 10 Virtualization
    How can Hyper-V VM access shared Host PC drive/folder?: I have just installed Hyper-V and Windows 10 on both Host & VM, and set up a wifi virtual switch so the VM can connect to the internet. Fine. But the Network icon in the Folders only shows its own desktop and "tsclient" but not the host PC. How do I get the VM to see the...
  10. Hyper-V VM has no sound

    in Windows 10 Virtualization
    Hyper-V VM has no sound: This is my first attempt at using Hyper-V. Installation in my Win 10 Pro worked well right up until I tried using the virtual machines sound. No sound device reported. I opened device manager the only option I could see was Audio inputs and outputs. Expanding and a device...