Link to home
Start Free TrialLog in
Avatar of Kram80
Kram80

asked on

Hyper-V Export Error

When trying to export a VM in Hyper-V, I am receiving the following error:

Failed to copy file from 'E:\Hyper-V\Virtual Hard Disks\machine.vhd' to 'I:\VM Export\machine\Virtual Hard Disks\machine.vhd': One or more arguments are invalid (0x80070057)

I'm trying to setup a test environment to test another implementation.  The machine I'm trying to export is a DC.  I've read this is not best
practice, but this was suggested to me by one of our consultants.  I understand not to ever put this VM into production and am assuming
this is why MS states this is not recommended.

Any suggestions would be greatly appreciated.
Avatar of Amnonm
Amnonm
Flag of Germany image

Avatar of Kram80
Kram80

ASKER

I saw that, however I'm getting the error when trying to export.  The .EXP file that needs editing is never created.  None of the folder structure for exporting the VM is created.  Removing the GUID appears to be done as part of the importing process.

http://www.virtualizationadmin.com/articles-tutorials/general-virtualization-articles/cloning-hyper-v-virtual-machines-right-way-part4.html
Is it possible that you will export to another location just as a test ?
cause maybe it's related to the machine you try to export to can be a lot of things like writing permissions or bad disk

and if you can give the scenario what machine you export to where?

Thanks,

Avatar of Kram80

ASKER

I'm trying to export to an external drive.  I have successfully exported to that drive in a test environment.  I might be able to find another location, although the export will be about 70GB.  Unfortuately, I won't be able to export to the same box.
So the test environment was another location?
if so you should check the destination cause it's sounds like the problem is there.

waiting for updates.  
Avatar of Kram80

ASKER

I guess I'm not understanding your question.  The test environment VM was exported to the same external drive, no issue.  When trying to export to the external drive in production, I'm getting the error.

In production, I'm trying to export a DC to an external drive to bring up in a test environment.

I can attempt to export to another location.
ASKER CERTIFIED SOLUTION
Avatar of msmamji
msmamji
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This link describe troubleshoot for this error please take a look

http://www.petri.co.il/fixing-hyper-v-export-errors.htm
Avatar of Kram80

ASKER

The space in the file name, good catch msmamji.  That was it.  I didn't even consider that.  Thank you both for your help!