we had a similar issue / error here with MGCPCBReleaseEnvServer
A colleague found out that
- running vbs-scripts on a 64 bit system with cscript -> windows uses the 32 bit version of cscript, as 1st in path
- running the same vbs-script with the 64 bit version of cspript -> no more error
maybe this helps someone