1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

RDP Task Scheduler problem

Discussion in 'Legacy Windows' started by diggitydoug, 2003/02/17.

Thread Status:
Not open for further replies.
  1. 2003/02/17
    diggitydoug

    diggitydoug Inactive Thread Starter

    Joined:
    2002/11/27
    Messages:
    19
    Likes Received:
    0
    We need to restart a program every day at 5:30am (Kronos timekeeping system). On our stand alone PC's we use the 'Task Scheduler' to run a batch file that uses kill.exe to end the previous instance of the program, browse to the directory of the application, and re-launch the application.

    We are now trying to use Remote Desktop Protocol with Thin client technology. We have been trying the same approach as above but ran into a problem. The kill.exe call functions properly (killing only the current user's program) but when restarting the program it is launched in the Console (sessionID 0)'s memory space, not the current user's, and is not displayed on the terminal's monitor (or the console's monitor for that matter). Any info on this problem would be greatly appreciated!

    ps
    Windows 2000 Server
    ComputerLabs ET3000 terminals using RDP
    ...ask if you need more info
     
  2. 2003/02/17
    unixfan

    unixfan Inactive

    Joined:
    2002/01/26
    Messages:
    282
    Likes Received:
    0
    Using the /INTERACTIVE switch with AT or SOON will make the task appear in the console session (but not the user session).

    I suppose you could launch your batch commands in a logon script running in the background and calaculate how long to sleep before running kill.
     

  3. to hide this advert.

  4. 2003/02/20
    diggitydoug

    diggitydoug Inactive Thread Starter

    Joined:
    2002/11/27
    Messages:
    19
    Likes Received:
    0
    Thanks for the response and sorry for not checking it for a few days.

    I found a different solution in using a third party application called Windows Scheduler. It wasn't perfect but by removing all permissions, save for the user who needs it, from the *.ini files (where the schedule is stored with this program) it restarts our programs, in the proper session, without launching in the console.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.