You have to login in order to post a reply to this topic.

16 replies [Last post]
cardine
User offline. Last seen 1 year 24 weeks ago. Offline
Joined: 08/16/2010
Posts: 3

 I have created and am using several WinAutomation bots on Windows servers that I am renting. The problem I am facing is that the mouseclicks only work when I'm connected to the server through RDP. If I'm not connected to the server with RDP the rest of the bot works but the mouseclicks aren't being made.

Is there anyway that the mouseclicks part of the bot can work even when I'm note connected to the server via RDP?

Thanks!

schmutly
User offline. Last seen 28 weeks 3 days ago. Offline
Joined: 12/22/2009
Posts: 18
Re: Mouseclicks on a Windows Server

You may want to right-click on the winautobox EXE and give it administrator priveledges....

See if that helps,

Robbie

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Mouseclicks on a Windows Server

 If there is no user connected to the machine where the compiled job is supposed to run, then, interactive actions (like mouse clicks and keystrokes) are out of the picture anyways. Basically, a user needs to be logged in, either physically, or you can implement an autologin solution.

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

Chris Carlin
User offline. Last seen 1 year 18 weeks ago. Offline
Joined: 09/10/2010
Posts: 3
Re: Mouseclicks on a Windows Server

Can you point me in the right direction in finding out how to create an autologin solution?

codex
codex's picture
User offline. Last seen 18 weeks 4 days ago. Offline
Joined: 11/12/2009
Posts: 161
Re: Mouseclicks on a Windows Server

You can check this:

http://winautomation.com/kb/how-implement-autologin

It is describing how you can implement an autologin solution in Windows 2003.

__________________

Error is not blindness, error is cowardice

__________________

Error is not blindness, error is cowardice

ntlntl
User offline. Last seen 1 year 1 week ago. Offline
Joined: 01/12/2011
Posts: 9
Re: Mouseclicks on a Windows Server

 up, I have a question, Auto login, and does it stay ? How long till next log off and key, mouse are disabled?

 

I do not really understand much, what if the job takes too long, will the VPS shut down again?

 

IF I set trigger every 5 mins, and the job takes 10 mins, then double jobs will happen. As they use mouse, then it would be error because the 2nd job will overide 1st job.

Samantha
Samantha's picture
User offline. Last seen 48 min 8 sec ago. Offline
Joined: 04/23/2010
Posts: 1353
Re: Mouseclicks on a Windows Server

HI ntlntl,

Once you have logged in, the vps wont logout till you tell it to.

It will act as if there was a user behind the screen controlling it, and will not shut down or auto log off unless you tell it to.

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

Daian Astaka
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 11/04/2010
Posts: 8
Re: Mouseclicks on a Windows Server

You can check this:

http://winautomation.com/kb/how-implement-autologin

It is describing how you can implement an autologin solution in Windows 2003.

 

 

I have follow all the instruction and it was succefull to login but i still got error :

 

"Failed to move mouse in non-interactive mode"

 

Please help ... what should i do now?

ntlntl
User offline. Last seen 1 year 1 week ago. Offline
Joined: 01/12/2011
Posts: 9
Re: Mouseclicks on a Windows Server

 "Once you have logged in, the vps wont logout till you tell it to."

 

It's because the exe file that does that? As I know, if we don't touch remote desktop window, and after we close the window, the window VPS instance is consider to be idle, it still runs, but no mouse and keyboard can be used. 

 

I read the article, but there is no where explain why it doesn't log off, and do we have to stay logged in, and leave the window running or not.

 

And the part"The last action of your main job could be a "Log Off" action to automatically log off." I don't understand this too. Why we have to log off? I wish to use VPS to run bot 24/7, it means we have to log off and wait for few mins then the bot will login, and do the main job, then repeat?

 

 

 

Daian Astaka
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 11/04/2010
Posts: 8
Re: Mouseclicks on a Windows Server

Waiting for winauto team to answer ... i need this too ...

Samantha
Samantha's picture
User offline. Last seen 48 min 8 sec ago. Offline
Joined: 04/23/2010
Posts: 1353
Re: Mouseclicks on a Windows Server

My mistake, maybe I did not explain it right.

The Implement Autologin works for machines were no user is logged in. Once it's logged you in, you can do anything you want with the machine. If you logg off, either manually or using the "Log off User" action or lock the machine manually or use the "Lock Workstation" action you will be able to do as wanted. No one says you need to log off if you don't want to. It's not mandatory or anything.

Failed to move mouse in not Interactive mode would mean that there is possibly no user logged in, and to use the mouse actions or the window and keyboard actions you need to have a user logged in. This is where the Implement autologin job comes in handy.

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

Daian Astaka
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 11/04/2010
Posts: 8
Re: Mouseclicks on a Windows Server

Samantha ...

 

mine it was successfull to login using auto login ... but ... i still got the error ...

 

"Failed to move mouse in non-interactive mode"

 

Please help

Samantha
Samantha's picture
User offline. Last seen 48 min 8 sec ago. Offline
Joined: 04/23/2010
Posts: 1353
Re: Mouseclicks on a Windows Server

Hi Daian,

The only thing I can think of, is that you have set the job to run in non interactive mode only. Please check the job's properties (right click on the job and select "Edit Job Properties".

Does "Run Job As:" If user is logged in:

have the "Run as system User (non-interactive mode) selected? If so, please change it to Run as Logged In user.

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

Daian Astaka
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 11/04/2010
Posts: 8
Re: Mouseclicks on a Windows Server

Ye it is

 

If user is logged in: the "Run as system User (non-interactive mode) was selected

 

so any solution?

Samantha
Samantha's picture
User offline. Last seen 48 min 8 sec ago. Offline
Joined: 04/23/2010
Posts: 1353
Re: Mouseclicks on a Windows Server

Hi!

Could you please elaborate on the Windows Server version you're running this on to get these results?

Did you get around it?

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

Daian Astaka
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 11/04/2010
Posts: 8
Re: Mouseclicks on a Windows Server

problem solved for win2008 using logonexpert to autologin

 

but still no solution for win2003

Samantha
Samantha's picture
User offline. Last seen 48 min 8 sec ago. Offline
Joined: 04/23/2010
Posts: 1353
Re: Mouseclicks on a Windows Server

Did you email the LogonExpert people to get any help on this one?

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..