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.

Agent Install on Windows fails

Hi there,

I'm looking into using OCS for my organisation. As a first step, I tried to install the windows agent on my machine with a local repository, but not matter where I install it, the folder structure is empty afterwards.

Is this a know issue? Did I do anything wrong?

An yes, I started the installer as an administrator :)

Any help would be greatly appreciated.

Kind regards

Christian
in OCS Inventory NG agent for Windows by (200 points)
edited by

5 Answers

0 votes
by (810 points)
0 votes
@webgreg: That didn't really help. My installation folder is simply empty.
by (200 points)
0 votes
hi,

Version of agent ? Windows 32 or 64 bits ? Folder name where you look for file ?

Regard
by (5.7k points)
0 votes

Hi Christian,

i am using a little script to install the agent on our POS-Systems which are not in AD.

Maybe it is usefull for you:

echo off

set SERVER=\\YOURSERVER\OCS           # <- all used files are here!

set CERTPATH=C:\ProgramData\OCS Inventory NG\Agent  # <- created at setup

set CERTNAME=cacert.pem

set AGENT=OCS-NG-Windows-Agent-Setup.exe

set OCSSERVERPATH=https://ocsinventory-ng.YOURWEBSERVER.local/ocsinventory

set OCSUSER=ocsusername

set OCSUSERPWD=ocsuserpassword

set OCSSSL=1

set CLIENTNAME=%COMPUTERNAME%

mkdir "%CERTPATH%"

mkdir %SERVER%\%CLIENTNAME%

copy %SERVER%\%AGENT% %SERVER%\%CLIENTNAME%\

copy "%SERVER%\%CERTNAME%" "%CERTPATH%\%CERTNAME%"

%SERVER%\%CLIENTNAME%\%AGENT% /S /NOSPLASH /NOW /SERVER="%OCSSERVERPATH%" /USER=%OCSUSER% /PWD=%OCSUSERPWD% /SSL=%OCSSSL% /CA="%CERTNAME%" 

Good luck ;-)
Marc

by (390 points)
0 votes
@toutafait:

I'm using the windows agent 2.6 64bit. I also tried the 2.4 32bit.

In both cases the folder where the .exe is supposed to be is empty. I only see an empty plugins folder there.
by (200 points)
 
Powered by Question2Answer
...