I tried this sample script with the WMIProcessList UDF and while it did not fail in the same way, it did fail to return data when the EnumProcess failed completely. It seems odd that EnumProcess actually displayed the WMI command string when it failed.

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