Jump to content
Macro Express Forums

deroock

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by deroock

  1. I have been running MEPro for years on a VPS.  The trick is to not log off, but move your current (remote logged on) windows session to the "console" session.  When Windows server is in "console" mode, keyboard and mouse and screen are still available, but the session is running without any connection to a remote terminal.
    I use the following batch (DOS) commands to put the current remote session to the console session:
    for /f %%i in ('qwinsta ^| findstr /C:">rdp-tcp#"') do set RDP_SESSION=%%i
    :: Strip the >
    set RDP_SESSION=%RDP_SESSION:>=%
    tscon %RDP_SESSION% /dest:console

     

    It is the TSCON command that will assign a session to the console session (/dest:console).  The first 2 lines in the batch file are to determine the session number of the current remote logged on session.

    The result is that you will leave the remote connected server, but MEPro will still run and trigger macros.

     

    • Thanks 1
×
×
  • Create New...