Note: once an instructor, always... \:D

May seem weird, but sadly it isn't. I just went through several dozen Kix scripts in my monitoring environment with this issue - it's frustrating enough to have to find the problem and search for the 32-bit utility, but even more so when you find that it isn't 100% compatible with the 64-bit version.

Only alternate solution I can offer is a workaround that will run the 64 bit version, but it will be asynchronous to Kix and unable to directly return any results.. It's a method I use to run tasks with elevated rights. There's really no way to run a 64-bit command directly from a 32-bit shell.

The tcLib UDF Library contains a collection of UDFs that make it easy to use the Windows Task Scheduler. A scheduled event consists of a task (what to run and who to run as) and zero or more triggers (when to run). A task with no trigger might seem pointless, but once you define the command and run as credentials in the Task part, you can run it immediately via the API.

Since the scheduled task runs in its own context, it runs the 64-bit version, which should work for you. You'll need to query the task result, which actually has two values - the Task Start result and Task Run result - you'll need to insure that the task started, and then check the run result. The package is pretty well documented.

This might seem complicated, but the tcLib allows you to define and execute the task with just 4 UDF calls - tcInit(), tcSetEvent(), tcExecute(), and tcGetEvent(). The tcGetEvent returns the status as well as the event configuration. tcDelEvent() will delete the event after you collect the results. If you don't need to check the result, you can enable the DWD (Delete When Done) flag.

The latest version is on the web site in my sig. Go to the Resources page and you'll find my production Kix UDF library.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D