VMware Cloud Community
AdmLAS
Contributor
Contributor

Access to path is denied

Hello all,

Since we have upgrade in 6.5 version we haven't the possibility to export a VM at OVA  format with the web client or any GUI client.

It seem-s to be possible with the PowerCli like this :

Get-VM <VMName> | Export-vApp -Destination "D:\" -Format OVA

But when i execute the command the error "Access to the path "d:\" is denied"

Have you an idea this issue ?

Thx

0 Kudos
6 Replies
LucD
Leadership
Leadership

Could it be that you do not have the right to create a file in the root of the drive?

Can you try with a folder on the drive?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Way
Contributor
Contributor

Hello,

I have take another account, and unsucribe AdmLAS Smiley Wink

I will try today with my account if i have the writh to create a VM, but i think yes my account have the writh of Domain Admin and Admin on vCloud / vSphere.

I come back Smiley Wink

0 Kudos
LucD
Leadership
Leadership

What I meant was, can you create a file in the root of that drive (D:\).

As an alternative you could try with a folder (D:\OVA)


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Way
Contributor
Contributor

Yes i had create a file and repository before.

Now i create a VM with the command :

New-VM TestAccess -RessourcePool ***** -Name *****

So i have some writh.

0 Kudos
Kultan216
Contributor
Contributor

I had this same problem and had to go through extraordinary pain to move the source files. Is a fix coming soon?

____________________________________________________________________________________________

mcdvoice

0 Kudos
sjesse
Leadership
Leadership

I've seen this too, but I think its more of a powershell vs powercli issue. I have full admin rights on my machine, I have full access to the C:\ root, and I see this message. I just create a sub folder with full access at it seems to work.

0 Kudos