SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Remote Job does not open program window

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Remote Job does not open program window
Author Message
dalfonso01



Joined: 08 May 2009
Posts: 39
Country: Italy

Post Remote Job does not open program window Reply with quote
Hi,
I made a test running remotely a job such a notepad.exe.

The notepad opens on the remote machine but the window is not fully shown.

Is there a switch to allow interactive jobs on remote agents?

Thanks
Fabio D'Alfonso
Fri May 08, 2009 3:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
Are you starting it as a different user? "Run As User" facility is basically for batch type jobs only. Try running your remote job without entering specific user credential, so that the remote scheduler (or agent) can start it on the same desktop using the same user account.

You can also try using BindDesktop utility http://www.softtreetech.com/24x7/archive/43.htm

BindDesktop winsta0\default notepad.exe
Fri May 08, 2009 3:34 pm View user's profile Send private message
dalfonso01



Joined: 08 May 2009
Posts: 39
Country: Italy

Post Reply with quote
Hi,
thanks for the reply.

If I uncheck the user, the target change to local and cannot be changed (is that the RunAs option?).

Thanks
Fabio
Fri May 08, 2009 4:10 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
Please tell me about your environment so I can better understand which options are available.

Which 24x7 type and version? Which Windows version? Do you submit the remote job from a Windows system to a Windows system or from non-Windows system?
Fri May 08, 2009 4:16 pm View user's profile Send private message
dalfonso01



Joined: 08 May 2009
Posts: 39
Country: Italy

Post More info Reply with quote
Hi,
Master is on Linux, the agent is on windows XP and Windows 2003.

The agent on XP is not working for the #1314 error, the agent on windows 2003 is working but this behaviour (which is not actually a problem, but in a test drive is a good idea to get a solution, or explaination).

Thanks
Fabio D'Alfonso
Fri May 08, 2009 4:29 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7954

Post Reply with quote
AFAIK, the #1314 error indicates insufficient permissions. Please check that the user running the agent is part of admin group and has explicitly granted "Act as part of the operation system" privilege. The user used for the job (notepad.exe) has been explicitly given "Logon as a batch job" privilege. And also has Create and Adjust Process Tokens privileges. If a change in permissions has been made recently, please make sure you restarted the system, Windows caches system privileges and changes are not effective until the system is restarted.

By the way, are you are aware that Run As user in batch jobs is supposed to be used for batch jobs?

Try using the BindDesktop utility I suggested earlier to start the process interactively.
Fri May 08, 2009 4:50 pm View user's profile Send private message
dalfonso01



Joined: 08 May 2009
Posts: 39
Country: Italy

Post Ok Reply with quote
Hi,
Yes I know that.

I was simply testing the product to understand feature boundaries.

I will check the utility to complete this step.

Thanks
Fabio D'Alfonso
Fri May 08, 2009 4:55 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.