On some Windows 10 computers, for not known reasons, FusionInventory is unable to get the Microsoft Office partial license key (versions 2013, 2016 or 2019).
Issue happen on 2.4.2 (64 bits) agent version.
Tested with 2.6 (64 bits, and 32 bits) version, same issue, but I have one error in the agent log (debug mode 2) :
[Thu Oct 21 17:37:59 2021][debug] Running FusionInventory::Agent::Task::Inventory::Win32::License[Thu Oct 21 17:37:59 2021][debug] unexpected error in FusionInventory::Agent::Task::Inventory::Win32::License: Can't use string ("0x00000001") as a HASH ref while "strict refs" in use at C:\Program Files (x86)\FusionInventory-Agent/perl/agent/FusionInventory/Agent/Task/Inventory/Win32/License.pm line 139.
No error when the license is correctly get.
[Thu Oct 21 17:52:09 2021][debug] Running FusionInventory::Agent::Task::Inventory::Win32::License[Thu Oct 21 17:52:09 2021][debug2] Looking for SoftwareLicensingProduct class WMI objects
License is visible when executing the following WMI request : select * from SoftwareLicensingProduct WHERE ApplicationID = '0ff1ce15-a989-479d-af46-f275c6370663'
On some Windows 10 computers, for not known reasons, FusionInventory is unable to get the Microsoft Office partial license key (versions 2013, 2016 or 2019). Issue happen on 2.4.2 (64 bits) agent version. Tested with 2.6 (64 bits, and 32 bits) version, same issue, but I have one error in the agent log (debug mode 2) :
[Thu Oct 21 17:37:59 2021][debug] Running FusionInventory::Agent::Task::Inventory::Win32::License
[Thu Oct 21 17:37:59 2021][debug] unexpected error in FusionInventory::Agent::Task::Inventory::Win32::License: Can't use string ("0x00000001") as a HASH ref while "strict refs" in use at C:\Program Files (x86)\FusionInventory-Agent/perl/agent/FusionInventory/Agent/Task/Inventory/Win32/License.pm line 139.
No error when the license is correctly get.[Thu Oct 21 17:52:09 2021][debug] Running FusionInventory::Agent::Task::Inventory::Win32::License
[Thu Oct 21 17:52:09 2021][debug2] Looking for SoftwareLicensingProduct class WMI objects
License is visible when executing the following WMI request :
select * from SoftwareLicensingProduct WHERE ApplicationID = '0ff1ce15-a989-479d-af46-f275c6370663'