Solved

Hyper-V Export Error

Posted on 2010-09-08
9
2,284 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

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 …
Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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