VMware Communities
GOker
Contributor
Contributor
Jump to solution

Running a VM from the Command line

Hello,

I have VMWare player installed, with a XP VPC.

I would like to start the VPC via a command line instruction, but Im getting an error message when I do so ( so I'm hoping someone can help me with it ),

I'm using the command :-

""C:\Program Files\VMware\VMware Player\vmplayer.exe -X D:\My Virtual Machines\Windows XP Professional"

thew Player windows opens, but I get the following message up :-

Error while opening the virtual machine, Error opening "D:\My Virtual Machines\Windows XP Professional": access is denied.

The VPC opens perfectly if you start it from withing Players GUI.

Please can someone point out what error i'm making ?

Many Thanks

0 Kudos
1 Solution

Accepted Solutions
vmroyale
Immortal
Immortal
Jump to solution

Have you tried, or are you, running the cmd prompt as Administrator?

Also, try pointing to the .vmx file extension like this:

""C:\Program Files\VMware\VMware Player\vmplayer.exe -X D:\My Virtual Machines\Windows XP Professional\Windows XP Professional.vmx"

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com

View solution in original post

0 Kudos
2 Replies
vmroyale
Immortal
Immortal
Jump to solution

Have you tried, or are you, running the cmd prompt as Administrator?

Also, try pointing to the .vmx file extension like this:

""C:\Program Files\VMware\VMware Player\vmplayer.exe -X D:\My Virtual Machines\Windows XP Professional\Windows XP Professional.vmx"

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
GOker
Contributor
Contributor
Jump to solution

BRILLANT.

Thank you

0 Kudos