Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-05-2011, 03:01 PM
pattybal pattybal is online now
Junior Member
 
Join Date: Jul 2010
Posts: 16
Default Autologin

I have a task that opens an .exe that has been created with AA.
The problem is that the tasks autologin the computer but it logs out when the task stops even when the .exe is still running. I have tried looping the task until the .exe finishes but it is causing me other problems.

Is there another way to keep the session on until the .exe finishes?

Can I change the screen saver to prevent it locking the session when my macro is running?
Reply With Quote
  #2 (permalink)  
Old 10-05-2011, 07:06 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

I'm not sure this trick will work for you.

But,
I often have EXEs that need to run for many hours.

I don't want to create a security hole by leaving a machine unlocked.
I don't want to embed passwords in an ATMN to all login.

So,
I use a second machine to run the exe.

I change the screen saver to never lock on the second machine.

Then,
I log into the second machine using remote desktop.
I then start the exe.
then lock the screen on the CONTROLING machine - while leaving the machine running the EXE unlocked.

You could use a VIRTUAL machine as the second machine if you don't have a machine to use as the slave.

Let me know if this helps.
Phil
Reply With Quote
  #3 (permalink)  
Old 10-10-2011, 05:43 PM
trentonponder trentonponder is offline
Senior Member
 
Join Date: Jan 2009
Posts: 102
Default

Quote:
Originally Posted by pattybal View Post
I have a task that opens an .exe that has been created with AA.
The problem is that the tasks autologin the computer but it logs out when the task stops even when the .exe is still running. I have tried looping the task until the .exe finishes but it is causing me other problems.

Is there another way to keep the session on until the .exe finishes?

Can I change the screen saver to prevent it locking the session when my macro is running?
You have a few options:
1 - Depending on what that exe is doing it may cause something to be active (Excel spreadsheet, some text file, browser window etc). You can loop the parent task until that condition no longer exists.

2 - If not, as part of the exe the first step should be to create a blank text file somewhere. The last step should be to delete this text file. Then loop in the parent file while this text file exists.

3 - If your task involves querying anything from a database, you can place this query in the parent task and loop while whatever the condition is remains true.

4 - There are other ways like Phil was saying that involves modifying the security time-outs and such on the local PC but that is not an absolute depending on what your task is attempting to achieve.

I recommend option 2 as the quickest and easiest solution.
Reply With Quote
  #4 (permalink)  
Old 02-03-2012, 09:41 AM
pattybal pattybal is online now
Junior Member
 
Join Date: Jul 2010
Posts: 16
Default

Phil:

I followed your advice. I have the macro .exe running from a second computer. I don't Autologin anymore.
Thanks!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 04:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved