VMware {code} Community
jpoling
Enthusiast
Enthusiast

vmrun error?

I am new to the VIX API (and also not a developer. . .just looking for ways to automate my admin tasks). I started experimenting with vmrun to manage guests on ESX 3.5 U3. the vmrun version is 1.6.3 (installed with Workstation 6.5 U1).

When I start this command:

C:\Program Files\VMware\VMware VIX>vmrun -T esx -h http://esx03.mydomain.edu/sdk -u

root -p secretpw -gu administrator -gp mypassword runProgramInGuest "[Mylu

n0]server1/server1.vmx" c:\windows\system32\net.exe stop dhcp

I get:

Error: The specified service provider was not found

What am I doing wrong?

Thanks,

Jeff

0 Kudos
2 Replies
jpoling
Enthusiast
Enthusiast

I installed the VIX 1.6.2 and was able to run commands on my ESX VMs. . .I don't know if 1.6.2 will work with WS 6.5 U1 but I am more likely to use VIX for my ESX environment

0 Kudos
admin
Immortal
Immortal

Hi everyone,

I wanted to make a clarification, when you see that error message it means you've got an incompatible version of VIX installed.

1.6.0 works with Workstation only.

1.6.1 works with VMware Server only.

1.6.2 works with ESX/VC 3.5 update 2 and higher. Generally speaking it usually works with Server 2.0 as well but this is not tested so don't rely on it.

As with any situation that doesn't seem to make any sense there's a long story for why this is that I won't bore you with. We know this is a pain and we do hope to unify these in the future.

0 Kudos