I am trying to run a .vbs script using task scheduler under windows server 2012 but it will not run unless I use the local administrator username and check the option " run only when user is logged on".
if I run the .vbs script manually it works fine. I have also try creating a .bat file that will run the .vbs script and it works fine if run manually. If I schedule the .bat file to run in windows server 2012 it will not run. Task schedule don't show any error messages.
Any help is appreciated.