Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers
Viewing all articles
Browse latest Browse all 11964

OCS and launch windows command to add a planed task

$
0
0
Hi

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.

Best Regards.

Viewing all articles
Browse latest Browse all 11964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>