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.

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

4 Answers

0 votes
Hi,

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

Regards

Frank
by (90.4k points)
The setting is in the directory C:\ProgramData\OCS inventory NG\Agent\ocsinventory.ini
0 votes
Hi

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.

@eribertos
by (380 points)
0 votes

The file can be found in:

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

by (140 points)
0 votes
Hi,

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