Page 1 of 1

Error opening file (2) [5]

Posted: Wed May 30, 2012 1:36 pm
by ryanr
When trying to convert a vmdk file to vhd, I keep getting the following error message when I select the vmdk file: Error opening file (2) [5]
It seems to work on very small vmdk files that are only 20GB in size, but the ones that I have that are 200 - 300GB in size all get this message. I see there was a previous post on this about doing this across a network, but the files I'm trying to convert are local to the server. What can I do to resolve this?

Re: Error opening file (2) [5]

Posted: Wed May 30, 2012 1:44 pm
by Vitalii (staff)
This error is an 'Access denied' error. It seems that that vmdk file (or the one it points to) is locked by another process or you do not have sufficient privileges to access that file.

Re: Error opening file (2) [5]

Posted: Fri Jun 08, 2012 4:32 pm
by ryanr
Not sure what would be locking it or why I wouldn't have access. Works just fine when I convert with a different program.

Re: Error opening file (2) [5]

Posted: Sun Jun 10, 2012 1:09 pm
by anton (staff)
Do you use hypervisor-shippe volume converter that works fine? What account you're running working app and non-working StarWind Converter? Same or not?
ryan.rehm wrote:Not sure what would be locking it or why I wouldn't have access. Works just fine when I convert with a different program.

Re: Error opening file (2) [5]

Posted: Sat Aug 18, 2012 12:23 am
by wojtow
I had the same problem and just right-clicked on the converter program and used Run as Administrator (windows 7, server 2008) and it works.

Re: Error opening file (2) [5]

Posted: Sat Aug 18, 2012 12:42 pm
by anton (staff)
Good point! We'll update installer to run app with admin rights by default. Thanks again!
wojtow wrote:I had the same problem and just right-clicked on the converter program and used Run as Administrator (windows 7, server 2008) and it works.

Re: Error opening file (2) [5]

Posted: Thu Feb 20, 2020 5:47 am
by dc2020
ryanr wrote:When trying to convert a vmdk file to vhd, I keep getting the following error message when I select the vmdk file: Error opening file (2) [5]
It seems to work on very small vmdk files that are only 20GB in size, but the ones that I have that are 200 - 300GB in size all get this message. I see there was a previous post on this about doing this across a network, but the files I'm trying to convert are local to the server. What can I do to resolve this?
Hey, did you resolve this?

I'm getting the same kinda error, except that I am running as admin.

Re: Error opening file (2) [5]

Posted: Mon Feb 24, 2020 9:49 am
by yaroslav (staff)
Greetings,

Please make sure that the VM is shut down and no backup is running.