Open RDP Sessions on a Scheduled Basis ie every 4 hours

Open RDP Sessions on a Scheduled Basis ie every 4 hours

avatar

Is there a way to tell Remote Desktop Manager Enterprise to open a session every 4.5 hours?

I have several servers which get restarted every 4 hours and need to be logged into in order to launch certain software.

Currently I have to set my alarm every 4 hours and 15 minutes to remind me to select the servers in the manager console and open the sessions.

I was just wondering if there was an automated way for me to do this?

All Comments (7)

avatar

Hello Craig,
You could setup a Windows schedule task with a command line to open the connection?

Regards

David Hervieux

avatar

HI David,

That sounds like what I need.

Would you be so kind as to let me know if there is a command line reference I can take a stab at?

avatar

David Hervieux

avatar

In the advanced tab of the session properties, you will see the command line that you could use to launch that session, there is even a button to create a shortcut on your desktop.

Maurice

avatar

Hi,

Thanks for the help but I am still having issues I think.

If I create a .bat file and run it manually, it opens the software and opens the session. Thats perfect.

However, If I call the .bat file from windows scheduler, nothing appears to happen.

Also in the .bat I tried putting in 5 instances of different servers hoping all 5 would open, but none work at all.

If I put the command line details in the scheduler directly, nothing happens.

Am I missing something here?

avatar

I also tried calling the desktop shortcut and then running the scheduler and again, but nothing appears to happen.

Is it running in the background?

avatar

Perhaps the scheduler is runner in background. Could you make sure it only runs when you are logged? There is a setting for that.

David Hervieux