I have a vbscript script that I runs fine when I am running it myself.
For some reason, when I run it under the task scheduler as an administration user, it runs, but do
If you are running Win2008 64 bit machine: this (finally) worked for me on same server. Task scheduler runs a batch file (eg runvbs.bat) to call cscript with a 32bit version of the command line interpreter, like this:
@echo off
%windir%\syswow64\cmd.exe /C "c:\windows\system32\cscript.exe //B //nologo import_some_data.vbs"
Note the double quotes.
I used the Administrators group for permissions and Run with highest privileges.
Configure for: Windows® 7, Windows Server™ 2008 R2
In the Edit Action dialog I have:
Action: Start a program
Program/script: runvbs.bat
Start in: c:\inetpub\wwwroot\asp\importstuff\