Macro Sheduler & RDP

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
wmbjlge

Macro Sheduler & RDP

Post by wmbjlge » Fri Oct 29, 2004 7:36 am

I have used Macro Scheduler for many years for night time operations in Navision Financials. MS 5.0 has been installed on a NT 4.0 server running 5 macros every night. The macros start the Navision client and log on to the database by sending ID and PW with the command sendcharacter.
Last week we moved Navision to a Windows 2003 server and installed Macro Scheduler 7.2 and imported the macros. All macros start the Navision client but hang at the login window. If I run a macro in a terminal service-session and watch it run, everything works just fine. But if I schedule the macro and disconnect the TS-session and connect again after the macro should have run, the macro is ready but Navision hangs in the login window.

Lumumba

Post by Lumumba » Fri Oct 29, 2004 12:34 pm

TS is to blame :!: Eh Microsoft :evil:

PC = A, Notebook = B

a) you start your MSched script on A
b) login via TS from B to A
everything seems to work fine
c) disconnect from A
d) reconnect from B to A
e) script working on the frontend of A hangs

Reason. TS is loging off the current user/session if you connect (regardless if you login at the same user account). If you disconnect your remote session, the host will be locked by default. Any script which works on a desktop level will be impacted aka isn't able to work.

Have a try with VNC/TightVNC/RealVNC/PCAnywhere/LapLink

W2K/Sp4

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts