Solved

Hyper-V Export Error

Posted on 2010-09-08
9
2,265 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Hopefully if you are reading this article you have NOT attempted to use an old Hyper-V snapshot on a Domain Controller.  If you have, you're probably beyond frustrated as you have searched Google relentlessly only to find out that doing a snapshot o…
Introduction RemoteFX is already in use today, but you're probably not aware of it.  With the advent of Windows 2012 and Windows 8, RDP has gotten a whole lot better due to the fact that RDP now uses even more RemoteFX technologies to make desktop …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 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