OCSInventory.exe crashes when executing vbs plugin
Bug #742372 reported by
Gerold Gruber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OCS Inventory: Windows Agent | Status tracked in 2.x | |||||
2.x |
Fix Released
|
Medium
|
Didier Liroulet |
Bug Description
I tried to implement the Linux example plugin which lists the open ports on Windows.
The output looks fine to me when run manually, even if I run it under the "Local System" account, as the service runs.
(tested with psexec from sysinternals : "psexec -s cmd" and then "cscript /nologo openport.vbs")
But when the plugin is executed from OCSinventory.exe it failes.
The problem occurs on Win7SP1 X64 German, it does not occur on Win2003 x86 (32bit) or with Agent V1
Related branches
Changed in ocsinventory-windows-agent: | |
assignee: | nobody → Didier Liroulet (dliroulet) |
importance: | Undecided → Medium |
Changed in ocsinventory-windows-agent: | |
status: | New → Confirmed |
To post a comment you must log in.
the crash apparently occurs when the line "winmgmts: {impersonationL evel=impersonat e}!\\.\ root\cimv2" )
Set objWMI = GetObject(
is executed