One post is quite enough.
it doesn't work at all.
We don't know your script and without an error message we can't guess.
You have to provide more details (instead posting several time without usefull informations).
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a .bat script that works perfectly when running normally, but when I run it through Task Scheduler, it doesn't work at all.
One post is quite enough.
it doesn't work at all.
We don't know your script and without an error message we can't guess.
You have to provide more details (instead posting several time without usefull informations).
The script was used to copy a file from a network driver to my local server.
The task scheduler performs a user impersonation, not a full desktop logon. If your script references a drive letter, it is probably not getting mapped. Use a UNC path instead (\\servername\sharename).
Capture stdout and stderr to see what the bat file does. Set the scheduled task to execute program "cmd.exe". In the arguments field set it like this example. Be sure to put quotes around the log file name.
/c C:\Scripts\MyScript.bat 1>>"C:\Scripts\Logs\MyScript-%date:~10,4%-%date:~4,2%%date:~7,2%.log" 2>&1
That will create a daily log file of all executions of the task. Review the log to see what the program did. You might want to also add ECHO statements to the bat file to output the date+time and any other diagnostic information.