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.12.3 available

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

Service don't work and i don't understand why. [closed]

Hello guys.

I'm trying to install ocs Windows Agent 2.1.1.3 with a Little script (.bat), here it is:

@echo off
cd "C:\" & Start OCS-NG-Windows-Agent-Setup.exe /S /NOSPLASH /INSTALL /NOW /SERVEUR=http://192.168.1.104/ocsinventory /NP

It kind of work. The Agent install by himself, the log file tell me that's working but i got that line in the log file :

[/NOW] used, so launching "C:\Program Files (x86)\OCS Inventory Agent\ocsinventory.exe"...Result: 4

What "Result: 4" mean?! I think that's the Probleme because when i'm doing a manually graphical install it works and the Client send his Information to my Server, and in log file i can see "result : 0" so...

Then. If /now don't work. I'm gonna try to Launch it manually. And i got an error: Error code 1053 = Service didn't respond.

If you have any questions, feel free to ask !

closed with the note: Solved
in OCS Inventory NG agent for Windows by (1k points)
closed by

1 Answer

0 votes
Okay i'm just soooo frenchi ! I wrote "/Serveur" in my script instead of "/Server"

So it couldn't work !!

If anybody have the same Problem. Please don't be as stupid as i was: Check your arguments twice!  :D

Thanks

Cya
by (1k points)
edited by
 
Powered by Question2Answer
...