5 Replies Latest reply on Oct 17, 2018 10:53 AM by jrouviere

    Windows Python Script Monitor - Can't find script engine "Python"

    baz00r

      Hi everyone,

       

      I am attempting to create a Windows script monitor component using Python. I have installed ActivePython2.7 along with corresponding version of Pywin32 onto my Orion server. But when I perform the suggested test, I get the above error.

       

      C:\Users\myuser>python C:\Users\myuser\Desktop\TestScript.py

      test

       

      C:\Users\myuser>cscript //E:Python C:\Users\myuser\Desktop\TestScript.py

      Microsoft (R) Windows Script Host Version 5.8

      Copyright (C) Microsoft Corporation. All rights reserved.

       

      CScript Error: Can't find script engine "Python" for script "C:\Users\myuser\Desktop\TestScript.py".

       

      We are running Windows Server 2012 R2 64bit. I have installed the 32bit versions of the two above files as suggested on another similar dicussion on Thwack, actually neither 32 or 64bit worked.

       

      Has anybody got this working? Any suggestions would be greatly appreciated

       

      thanks.