Solved

Hyper-V Export Error

Posted on 2010-09-08
9
2,244 Views
Last Modified: 2013-11-06
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.
0
Comment
Question by:Kram80
  • 4
  • 4
9 Comments
 
LVL 4

Expert Comment

by:Amnonm
ID: 33632629
0
 

Author Comment

by:Kram80
ID: 33632733
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
0
 
LVL 4

Expert Comment

by:Amnonm
ID: 33632775
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,

0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:Kram80
ID: 33632816
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.
0
 
LVL 4

Expert Comment

by:Amnonm
ID: 33632835
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.  
0
 

Author Comment

by:Kram80
ID: 33632870
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.
0
 
LVL 15

Accepted Solution

by:
msmamji earned 250 total points
ID: 33634382
try to remove the spaces from the export path and see if that works.
0
 
LVL 4

Expert Comment

by:Amnonm
ID: 33639390
This link describe troubleshoot for this error please take a look

http://www.petri.co.il/fixing-hyper-v-export-errors.htm
0
 

Author Comment

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hyper-v Network Card not working There are two common mistakes that people make when they setup a Hyper-V VM. First problem is that they don't install the integration components before they start troubleshooting problems with the Hyper-V VM fu…
When working with Microsoft SCVMM (System Center Virtual Machine Manager) in a Hyper-V virtualization environment, we have run across scenarios in which the failed migration of a VM from one host to another may leave the VM in a failed state. Specif…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question