Skip to Content
avatar image
Former Member

Windows Service + DTW Data Transfer Workbench

Hi!

I have a Windows Service executing on my server, and this service calls a .bat file to execute the Data Transfer Workbench.

When my windows user is logged on windows, the DTW runs correctly, but when my user windows is not logged, the DTW don't execute!

My windows service is running correctly! But DTW runs only when my user is logged on Windows.

TO DTW execute correctly is needed the Windows User be logged?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 08, 2017 at 05:50 AM

    Hi,

    You can execute the DTW from a Windows Server scheduled task. To prevent a trojan virus from executing malicious software, one application cannot start another application when a user is not logged in. This is basic Windows security.

    I recommend that instead of using the DTW, you create a console application, that uses the DI API or DI Server, to perform the required update / import task. Considering that you were able to program a Windows service, it should be quite easy.

    This console application you can then schedule with a Windows Server scheduled task.

    Regards,

    Johan

    Add comment
    10|10000 characters needed characters exceeded