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

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

Change URL OCS Agent in Windows Regedit

I changed the URL of the OCS Server, How do I change the URL of the OCS Agent in the Windows registry?
asked Aug 31, 2016 in OCS Inventory NG agent for Windows by brenosabella (180 points)

4 Answers

0 votes

The URL of the agent is stored in the file ocsinventory.ini and not in registry.


answered Aug 31, 2016 by frankb (53,050 points)
The setting is in the directory C:\ProgramData\OCS inventory NG\Agent\ocsinventory.ini
0 votes

I created a .bat file by calling the ocs inventory installer with the parameters ex:

OCS-NG-Windows-Agent-Setup.exe / server = (my url) / ocsinventory / now

Then it is possible to create an .exe from this .bat file.

answered Dec 5, 2016 by eribertos (380 points)
0 votes

The file can be found in:

%ProgramData%\OCS Inventory NG\Agent\ocsinventory.ini

answered Sep 20, 2017 by dbborges.rj (140 points)
0 votes

you can also create a script for a final change:

- Stopping the ocsinventory service,
- Replace the server address in the ocsinventory.ini file,
- Starting the ocsinventory service.

It could be initiated by the server ocsinventory BEFORE its change of address ...

Regards, St├ęphane
answered Sep 27, 2017 by steph78630 (13,940 points)
edited Sep 27, 2017 by steph78630
Powered by Question2Answer