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.

Plugins networkshare

WARNING *** EXECUTABLE PLUGIN => Plugin <C:\Program Files\OCS Inventory Agent\plugins\networkshare.vbs> does not produce any output

data plugins:

  • Name plugin: Network Share
  • Version: 3
  • Autor: Valentin DEVILLE
  • Licencia:GPLv2

Información del servidor

Sistema Operativo

  • Nombre SO :Linux x86_64
  • Versión :5.4.0-77-generic
  • RAM instalada :3936 MB
  • RAM libre :3277 MB
  • CPU :Intel(R) Xeon(R) Bronze 3106 CPU @ 1.70GHz
  • Distribución :Ubuntu 20.04 LTS

Software

  • Versión PHP :7.4.3
  • Servidor Web :Apache/2.4.41 (Ubuntu)
  • Base de datos del servidor :Ubuntu 20.04 version 10.3.29-MariaDB-0ubuntu0.20.04.1
  • Versión OCSReports: 2.9           
in OCS Inventory NG plugins by (160 points)
edited by

3 Answers

0 votes
HELP FOR ME !!!!!!!!!!!!!!!!!!!!!!!

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!
by (160 points)
0 votes
hy, i just tested only the vbs script the first time .. For me it produces a output if i have a mapped drive AND i am starting it as a normal user (just for checking if the script produces some output)

Because only the normal user has mapped the drive .. not the "system user" which is normaly used in ocsinventory.

So i think the root cause is ..that the plugin does not see any mapped drive form "system user"
here is a vbs script to check for active username..now you must find a way to use the username and run the networkshare.vbs code as that user

https://www.itninja.com/question/vbscript-to-check-for-the-current-user-logged-in

Kind regards

Sokatra
by (24.5k points)
edited by
0 votes
Hi,

my company has developed more than 60 exclusive plugins for OCS (predictive maintenance, advanced Bios informations, supervision, helpdesk & IT support, status summary, multiple SNMP device type, geolocation of Windows machines, etc.)

If you want more information, please contact me privately.

Best regards, Stephane
by (32.6k points)
 
Powered by Question2Answer
...