We have created a VB.net console application using vs.net
2003
The program will be run on a server server01 and will get
process name of the some process running on the server by:
If (Process.GetProcessesByName
(proc_name, "server01").Length > 0) Then
...
End If
A local user swajob is created on server01.
When login the server server01 as swajob & run the
program on command prompt, it is OK.
We login as administrator & setup the job in window
scheduler.
Then run click & select 'run' to run the job from
scheduler, the following error occur:
Couldn't get process information from remote machine.
If we add 'administrator' to member for swajob, no error
occur
However, we do not want to grant administrator right to
swajob. We have tried to grant 'power user' right, etc,
to swajob, but the error still occurred.
Is there any workaround?
Thanks & regards
|