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 and Windows XP - empty ocsinventory.ini

Hy, i wanted to deploy the new agent for all Windows Clients - but it looks like that the version does not create a complete ocsinventory.ini on Windows XP Clients (with sp3) in

C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent

I tried manual installation - and also a deplyoyment via ocslogon (also version

Agent will be installed without errorcode - but no service will be installed and no ocsinventory.ini will be written.


so i tried older versions.

Version also didn't work
Version 2.2 Alpha also did not work on Windows XP (Internal Version
But will work

Can anyone reproduce this ?


Kind regards


in OCS Inventory NG agent for Windows by (23.1k points)
edited by

1 Answer

+1 vote
here is a part of the verbose log from manula installation of agent

opying new files to directory <C:\Program Files\OCS Inventory Agent>...
Windows XP or higher detected, installing default cURL library and MS CRT/MFC 9.0...
Copying new files status is ;-)
Writing agent configuration file by launching ocsinventory.exe /SAVE_CONF...Result: error
Windows Advanced Firewall is enabled...
Adding custom Windows Firewall rule for <C:\Program Files\OCS Inventory Agent\ocsinventory.exe>...Failed !
Adding custom Windows Firewall rule for <C:\Program Files\OCS Inventory Agent\download.exe>...Failed !
[/NOW] used, so launching "C:\Program Files\OCS Inventory Agent\ocsinventory.exe"...Result: error
Creating startup menu shortCut <C:\Documents and Settings\All Users\Start Menu\Programs\Startup\OCS Inventory NG Systray.lnk> to start Systray applet...
Checking if service OCS Inventory Service is registered into Windows Service Manager...No
Registering OCS Inventory Service into Windows Service Manager...Result: error.
SUCCESS: OCS Inventory NG Agent successfully installed on 07/03/2016 at 10:49:22



If a start from the command line the following command

ocsinventory.exe /SAVE_CONF

i will get immediatly a graphical windows with the following errorcode

C:\Program Files\Ocsinventory Agent\OCSInventory.exe is not a valid win32 application


With Version 2.1.1 verything works like expected

(no error message)


I think this link here can help the developers

by (23.1k points)
edited by
Powered by Question2Answer