Link to home
Start Free TrialLog in
Avatar of Butterfield_Cayman
Butterfield_Cayman

asked on

Scheduled task not running with svc acct

I have a simple task that runs a vbs file using a service account. It won't run. If I change the accoutn to my login details it works. If I log off, log on using the svc account, and then run the task using the svc account it works. so basically, the scheduled tasks only ruin when the currently logged on user's credentials are used to run the task. I'm getting an error code of 0xe0434fd. Anyone experienced anything like this before?
Avatar of Melih SARICA
Melih SARICA
Flag of Türkiye image

what u do in that vbs ?
Avatar of Butterfield_Cayman
Butterfield_Cayman

ASKER

right now while I'm testing:

msgbox "hello"
This will fail because it is trying to "interact" with the service account profile(which isnt logged on/loaded)  The popup is trying to popup in the service account profile not the presently logged on user.
 
What are you basically trying to achieve?
i have a scheduled task just trying to fire an application that does some data pruning. I have the exact same scenario working on a dozen other servers.
are the credidentals of the users same on other servers?
yep. I'm trying to use the same svc acct, and that acct is an administrator on all the servers also. it's very strange. v frustrating
no error on application log or system log  ?
scheduler log:       Result: The task completed with an exit code of (e0434f4d).
no system log error. searches of e0434f4d haven't been too successful so far.
i think u do already delete and re create the task rite?
yep, already tried that. Tried creating a new task, no progress. I've tried deleting all the tasks i have and creating a new one. Still no luck.
ASKER CERTIFIED SOLUTION
Avatar of Butterfield_Cayman
Butterfield_Cayman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial