Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

VmCOM Scripting Examples Fail on 64-Bit Windows Hosts (2018)

Details

Why does running the VmCOM scripting examples fail on my Windows 64-bit host operating system?

Solution

There isn't a 64-bit version of the VMware VmCOM API. The 32-bit version of VmCOM can be used on 64-bit Windows operating systems as long as it is invoked using the 32-bit version of the command-line window (cmd.exe) or Windows Scripting Host (cscript.exe). Using the default 64-bit version of cmd.exe or cscript.exe to run a script will return an error. You can typically find the 32-bit versions of these executables in the %WINDIR%\SysWOW64\ directory.  If the WINDIR variable is set to the default Windows directory on the C drive, for example, the directory path is C:\Windows\SysWOW64. Using the versions of these programs located in %WINDIR%\System32 fails to execute the script.

Keywords

2018 API vs100

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: