Thanks for the answer, that works too.
I did manage to solve it to run syswow64\cmd.exe to start the wscript. Since I already used a command script for starting the app (setting some regsitry settings using regedit before launching the wscript).
Thanks again. Case closed.