AppWorx, Dollar Universe and Sysload Community

Expand all | Collapse all

Try to run a executable file .exe in Windows server from UC4

  • 1.  Try to run a executable file .exe in Windows server from UC4

    Posted Oct 13, 2016 05:37 PM
    We use Applications Manager 8.10 . I am trying to use the "program types" to execute a .exe file on a windows server.
    I was able to get some information from the Manual, but I am looking for any real time example so that I can use that as a reference and create my job.

    Any help/advise is appreciated


  • 2.  Try to run a executable file .exe in Windows server from UC4

    Posted Oct 13, 2016 06:38 PM
    Here's a quick reference:

    • Move your .exe application in to the AW_HOME/execs directory.
    • Create a new Job, selecting the Windows Agent.
    • Library: APPWORX_HOME
    • Program Type AWEXECS
    • Program Name: Select the program.

    Request the job and check the output file for success or failure.


  • 3.  Try to run a executable file .exe in Windows server from UC4

    Posted Oct 14, 2016 04:57 PM
    Thankyou Cory. But the job is on the windows server, so will it run? will copying only the .exe file work?


  • 4.  Try to run a executable file .exe in Windows server from UC4

    Posted Oct 18, 2016 08:31 AM
    do you have an applications manager remote agent installed on the windows server where the .exe is installed  ?


  • 5.  Try to run a executable file .exe in Windows server from UC4

    Posted Oct 18, 2016 11:45 AM
    No I don't.


  • 6.  Try to run a executable file .exe in Windows server from UC4
    Best Answer

    Posted Oct 18, 2016 05:36 PM
    then my advice would be to install an agent on the windows server so you can get AM to run the executable. 


  • 7.  Try to run a executable file .exe in Windows server from UC4

    Posted Nov 02, 2016 04:18 PM
    yes I agree. if there is no other way we can achieve using the UC4 built in features


  • 8.  Try to run a executable file .exe in Windows server from UC4

    Posted Nov 02, 2016 06:41 PM
    Windows/Powershell has the ability to run commands on remote servers.  But doing so opens up some more issues, like what credentials will you use to access the remote server, how to properly error-check the results, and how to manage the outputs from the run.  These issues are far easier to manage with a UC4 agent approach.


  • 9.  Try to run a executable file .exe in Windows server from UC4

    Posted Nov 03, 2016 12:05 AM
    Would you mind sharing the commands? I would like to try ..


  • 10.  Try to run a executable file .exe in Windows server from UC4

    Posted Nov 03, 2016 01:42 PM
    One thing I like about PowerShell, is it is easy to test on your local machine first before trying to run it from UC4.

    The PowerShell command that lets you do this is called "Invoke-Command".  I use it with the -Computer option to specify what computer it should run on, and -ScriptBlock to pass it a block of code to execute remotely.  You also need to use the -Credential option if you need to use a userid/password other than the one you are already using.

    There are several different sites on the internet that describe how to do this, but there is no single best way.  You will need to craft it to fit your specific needs.

    In its simplest form:

    $RemoteComputer = "abc"
    $Script = {
       cmd1
       cmd2
       cmd3 }
    Invoke-Command -ComputerName $RemoteComputer -ScriptBlock {$Script}



  • 11.  Try to run a executable file .exe in Windows server from UC4

    Posted Nov 03, 2016 02:24 PM
    Thankyou. I will try if this works for me