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 http://wiki.ocsinventory-ng.org. Read it before asking your question.

How to clean up the admininfo.conf?

I found that the VBS-plugins can modify that file and store their results there. But only when the field is not exists in the file.

For example:

I have admin field "fields_22". When it exists in admininfo.conf, script's results are ignored. It can to create correct XML like

<accountinfo>

<keyname>fields_22</keyname>

<keyvalue>something I want to put there</keyvalue>

</accountinfo>

But these changes are ignored. Should I manually remove the lines regarding fields_22 from admininfo.conf. the changes will be applied. My 300+ PCs have wrongly filled admininfo.conf files. And I can't manually clean all of them. How to remove some records from these files to fill them with correct values from plugins?
in OCS Inventory NG agent for Windows by (320 points)

1 Answer

0 votes

Where is the file admininfo.conf located? I mean, that is not a file in the agent but in the server...so you'd have to edit only 1 file in the server, not in every computer. 

by (240 points)
You're wrong. This file is stored on client's side in the agent's data folder.

And the location of this folder is different in different OS version.
Mmmm I cannot find the file in the Agent so far, is it supposed to be inside ProgramData/OCS... or inside ProgramFiles/OCS.. ?
ProgramData. Or D&S - depending on os
 
Powered by Question2Answer
...