Can a session be unlocked from within Ranorex

Ask general questions here.
Posts: 1
Joined: Mon Oct 07, 2013 11:29 am

Can a session be unlocked from within Ranorex

Post by rhearn » Mon Oct 07, 2013 11:37 am


I have a requirement where the Ranorex script needs to be scheduled to run every 15 minutes. For security reasons, the customer will not allow the server running the script to remain unlocked, is there a way to unlock the server from within the Ranorex script, (or any other method), run the script, then re-lock the server until the next runtime?

The server is running WIndows 2008 R2, I have tried the SYSTOOLS Autologin in a batch file with the Ranorex executable, but this failed dismally! :cry:

Any help would be appreciated.


Rob Hearn

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Can a session be unlocked from within Ranorex

Post by Support Team » Wed Oct 09, 2013 1:54 pm


Unfortunately, there is no possible way to unlock a server from within a Ranorex script.
You could probably use a workaround to run your scripts on your machine while it is locked using a Remote Desktop connection. Please take a look at Remotely Working with Ranorex in our User Guide.

Markus (T)