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 in OCS Inventory NG agent for Windows by (180 points)

4 Answers

0 votes

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


answered by (57.3k 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 by (380 points)
0 votes

The file can be found in:

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

answered by (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 by (18.9k points)
edited by
Powered by Question2Answer