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

The official documentation can be found on http://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

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