Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Status: Notified forever

Hi all,

I have a little simple issue on launching a file.

The agent downloaded package and launched the schedule.cmd.

content of the file:

schtask /create /sc onstart /TN  myJob /ru system /tr C:\system\write.exe

The agent downloaded the file: PACKAGE==> LAUCHING COMMAND <TASK\SCHEDULE.CMD>  for package <1408465928>

The issue here is that it has never go to throught the whole process and result exit code even though the task is done and I got the task schedule on the task scheduler.

Thanks,

TP
in OCS Inventory NG agent for Windows by (160 points)

2 Answers

0 votes
Fun ...

Normally the error code must be given by schtask and not by the final process. I don't have windows to test. I think the problem is you call the user system and it must never be done. Maybe windows block the action.
by (22k points)
0 votes
Ok, it is interesting that the task is done. But it seems like the bat file that for the task to run is not working right:

cmd.exe /c ClientSetup.exe /silent

Thanks,

TP
by (160 points)
 
Powered by Question2Answer
...