SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RunAsUserAndWait

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
RunAsUserAndWait
Author Message
Rick Short



Joined: 10 Jan 2002
Posts: 5

Post RunAsUserAndWait Reply with quote

I am attempting to use the RunAsUserAndWait function to execute a process under another account. The job simply stops executing at the point this function is called. I have gone through the debugger and have trace turned on, but it still doesn't get past this point. The Windows 2000 Event log doesn't show anything either. Any ideas?

Thu Jan 10, 2002 12:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Re: RunAsUserAndWait Reply with quote

Do you hold "log on as batch job" privilege?

: I am attempting to use the RunAsUserAndWait function to execute a process
: under another account. The job simply stops executing at the point this
: function is called. I have gone through the debugger and have trace turned
: on, but it still doesn't get past this point. The Windows 2000 Event log
: doesn't show anything either. Any ideas?

Thu Jan 10, 2002 1:19 pm View user's profile Send private message
Rick Short



Joined: 10 Jan 2002
Posts: 5

Post Re: RunAsUserAndWait Reply with quote

Yes.

: Do you hold "log on as batch job" privilege?

Thu Jan 10, 2002 1:34 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Re: RunAsUserAndWait Reply with quote

Does RunAsUserAndWait start the specified process? Can you see that process in the Task Manager/Modules tab (the process runs invisible on a virtual desktop and it should not have any user interface)

Does RunAsUser starts the process and return control back to the 24x7?

: Yes.

Thu Jan 10, 2002 2:54 pm View user's profile Send private message
Rick Short



Joined: 10 Jan 2002
Posts: 5

Post Re: RunAsUserAndWait Reply with quote

No, the specified process never starts.

: Does RunAsUserAndWait start the specified process? Can you see that process
: in the Task Manager/Modules tab (the process runs invisible on a virtual
: desktop and it should not have any user interface)

: Does RunAsUser starts the process and return control back to the 24x7?

Fri Jan 11, 2002 1:13 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.