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

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

msofficekey.vbs does not run on Windows 8.1

Hello everyone! I'm trying to walk the Windows Agent on Windows 8.1, the agent works perfectly and sends the information, but I can not take office because data msofficekey not executed, apparently is a problem in Windows, but I can not fix it.
I would appreciate that they can guide me.
Thank you very much!
asked May 19, 2015 in OCS Inventory NG agent for Windows by peterb (240 points)

7 Answers

0 votes
Hi,

Please post the content of ocsinventory.log file. Does the plugin run correctly outside of the ocs agent?

Regards

Frank
answered May 19, 2015 by frankb (45,270 points)
0 votes
==============================================================================
Starting OCS Inventory NG Agent on Tuesday, May 19, 2015 13:49:17.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <CI7427EA92F70D-2015-05-18-21-12-16> and MACs <54:27:1E:E2:DA:3B54:27:1E:E2:DA:3B74:27:EA:92:F7:0D> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://192.168.2.101/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
    AGENT => Prolog Frequency set to 24 hour(s)
AGENT => Inventory required
AGENT => Launching hardware and software checks
    INVENTORY => Loading Download history
    INVENTORY => Logged on user ID is <alumno>
    INVENTORY => Operating System is <Microsoft Windows 8.1 Pro 6.3.9600 >, description <CHAPARRO VIVIANA BEATRIZ>
    INVENTORY => Operating System uses 64 bits memory address width
    INVENTORY => Computer domain or workgroup is <WORKGROUP>
    INVENTORY => User domain is <>
    INVENTORY => System Manufacturer <Intel Corporation>, System Model <Intel powered classmate PC>, System S/N <System Serial Number>, Bios Manufacturer <Phoenix Technologies Ltd.>, Bios Date <05/30/2014>, Bios Version <MPBYT10A.88C.0029.2014.0530.1440>
    INVENTORY => 1 processor(s) Intel(R) Celeron(R) CPU  N2806  @ 1.60GHz [2 core(s) x86_64] at 1597 MHz
    INVENTORY => OS Memory 3974 MB, OS Swap size 4678 MB
    INVENTORY => 2 memory slot(s) found
    INVENTORY => 2 input device(s) found
    INVENTORY => 8 system port(s) found
    INVENTORY => 3 system slot(s) found
    INVENTORY => 3 system controler(s) found
    INVENTORY => 2 storage peripheral(s) found
    INVENTORY => 2 sound device(s) found
    WARNING *** INVENTORY => Failed to retrieve modems
    INVENTORY => 3 network adapter(s) found
    INVENTORY => 5 system printer(s) found
    INVENTORY => 1 video adapter(s) found
    INVENTORY => 1 system monitor(s) found
    INVENTORY => Default IPv4 address is <192.168.2.102>
    INVENTORY => Registered company <>, registered owner <alumno>, Product ID <00262-58...>
    INVENTORY => Product key <PF3QG-89...>
    INVENTORY => 151 software found
    INVENTORY => Computer/VM UUID is <03020100-0504-0706-0809-0A0B0C0D0E0F>
    INVENTORY => Computer seems to be physical host
    INVENTORY => System Memory set to 4096 (instead of 3974)
    INVENTORY => Reading last inventory state
    EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    EXECUTABLE PLUGIN => Found executable plugin <msofficekey.vbs>
    WARNING *** EXECUTABLE PLUGIN => Plugin <C:\Program Files (x86)\OCS Inventory Agent\plugins\msofficekey.vbs> does not produce any output
    EXECUTABLE PLUGIN => Searching for executable(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
AGENT => Sending Inventory
    INVENTORY => Checking last inventory state
    INVENTORY => System controllers inventory state changed
    INVENTORY => Storage peripherals inventory state changed
    INVENTORY => Logical drives inventory state changed
    INVENTORY => Input peripherals inventory state changed
    INVENTORY => Software inventory state changed
INVENTORY => Inventory changed since last run
    INVENTORY => Generating XML document with Device properties
    INVENTORY => XML Update BIOS
    INVENTORY => XML Update 1 CPU(s)
    INVENTORY => XML Update 2 Memory Slot(s)
    INVENTORY => XML Update 2 Input Device(s)
    INVENTORY => XML Update 8 System Port(s)
    INVENTORY => XML Update 3 System Controler(s)
    INVENTORY => XML Update 3 System Slot(s)
    INVENTORY => XML Update 2 Sound Device(s)
    INVENTORY => XML Update 2 Storage Peripheral(s)
    INVENTORY => XML Update 4 Logical Drive(s)
    INVENTORY => XML Update 0 Modem(s)
    INVENTORY => XML Update 3 Network Adapter(s)
    INVENTORY => XML Update 1 Video Adapter(s)
    INVENTORY => XML Update 1 Monitor(s)
    INVENTORY => XML Update 5 Printer(s)
    INVENTORY => XML Update 152 Software
    INVENTORY => XML Update 0 Registry Value(s)
    INVENTORY => XML Update Administrative Information(s)
    INVENTORY => XML Update common Device properties
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://192.168.2.101/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
AGENT => Inventory successfully sent
    INVENTORY => Writing new inventory state
AGENT =>  Communication Server ask for Package Download
    DOWNLOAD => Package history file successfully cleaned for duplicate IDs
    DOWNLOAD => Download disabled by server
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:10.
answered May 19, 2015 by peterb (240 points)
0 votes
Hi,

Thanks. Have you tested the plugin outside of ocs agent to verify if office keys are correctly displayed?

Regards

Frank
answered May 19, 2015 by frankb (45,270 points)
0 votes
Yes, I've had outside of OCSInventory Agent in Windows 8.1 does not run, but in XP and 7 shows me all the information and everything goes perfectly.
I researched and apparently .vbs have problems to run on Win 8 and in some cases on Win 7, too.
answered May 19, 2015 by peterb (240 points)
0 votes
Hi,

For Windows 8.1, I think vbs language is perhaps different, so msoffice plugin as to be rewritten correctly. All I know is that plugin must be full UTF8 compliant and for that "Wscript.Echo" commands must be replaced by xml commands (xmlDoc). I'm not windows dev.

Regards

Frank
answered May 19, 2015 by frankb (45,270 points)
0 votes
Well thank you very much, I'll see you do to try to solucinarlo.
Thank you very much!
answered May 19, 2015 by peterb (240 points)
0 votes
Hi

I'm with the same problem with the .vbs file and Windows 8.1.

Does anyone know a workaround?
answered Jul 30, 2015 by fabio (140 points)
 
Powered by Question2Answer
...