I have a question ?
I need to create a planed tasked with all station of my inventory.
I try to launch
schtasks /create /tn "New Task" /tr "\"%ProgramFiles%\TheGreenBow\TheGreen\conf.exe\" /open:vpnconf" /sc onstart
I try this command by Launch
and try to execute a script with this command in the batch script.
in two case it's create an error
however when I excecute localy this command or with a script, there are no error and the task is add on the system.
So my question ? is it possible to used schtasks command via OCS.
Thanks in advence for your answer.