Avatar of Dale Fye
Dale Fye
Flag for United States of America

asked on 

vbscript run from Task Scheduler does not appear to end

I have a VB script file which runs properly when I simply click on the file and completes within 30 seconds.

But when I run this script from Task Scheduler, it hangs, with a status of "Running".  When I look at the History, it looks like (in reverse order)

2:17:13  110  Task triggered by user
2:17:13  319  Task Engine received message to start
2:17:13  100  Task Started
2:17:13  200  Action started
2:17:13  129  Created task Process

at 2:34 it still has  a status of "Running"

There is a wscript.exe file showing up in the running processes in my Task Manager.  When I manually remove that file from the task manager and refresh the Task Scheduler, the status of the task changes to "Ready"


Any ideas?
VB ScriptWindows 7

Avatar of undefined
Last Comment
Dale Fye

8/22/2022 - Mon