FanControl.AsusWMI icon indicating copy to clipboard operation
FanControl.AsusWMI copied to clipboard

ASUS WMI could not initialize or has no sensors

Open Meppyman opened this issue 2 years ago • 13 comments
trafficstars

Trying to get this working with my ASUS ROG STRIX Z490-E GAMING motherboard in Windows 11 and getting this when Fan Control starts: ASUS WMI could not initialize or has no sensors

When I try and run the PowerShell script I get the following:

Get-CimInstance : A positional parameter cannot be found that accepts argument 'Invoke-CimMethod'.
At line:1 char:11
+ $asushw = Get-CimInstance -Namespace root/wmi -ClassName ASUSHW Invok ...
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-CimInstance], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanc
   eCommand

Not sure if there is some pre-requisite I need to get the ASUS WMI sensors installed. I am running AI Suite 3 on this PC, unsure if I need to install some other ASUS driver package for this to work or not?

Meppyman avatar Feb 09 '23 22:02 Meppyman

Hi, I have the same issue. I was looking for help online and I see from here that newer ASUS boards dont have WMI? My board is a B550-F Gaming WiFi with latest BIOS and chipset drivers

bigcats01 avatar Mar 12 '23 06:03 bigcats01

Have not been able to get this to work on 2 different ASUS motherboards. Has anyone??

EyoSama avatar Mar 14 '23 23:03 EyoSama

Mine is Z590 Apex for intel, and my friend has B650 for AMD. Both still don't work. What should we do?

GminerManiac avatar Mar 17 '23 10:03 GminerManiac

Per this thread it seems there is a different driver needed for newer Asus boards. Not sure if its same on newer Intel platforms...

bigcats01 avatar Mar 18 '23 17:03 bigcats01

cannot work on TUF B650M

abcdehc avatar Jun 30 '23 15:06 abcdehc

Same issue here with an ASUS TUF Gaming Z690 PLUS D4

Demcrew avatar Aug 21 '23 12:08 Demcrew

I get errors as well with an ROG Strix X670E-E.

I'm wondering if some of the issues with newer boards is due to the fact that AISuite doesn't have the fan control stuff built in anymore (Fan Expert I think it was called?)

Also, when I run that PS script I get this:

Get-CimInstance: C:\Users\thean\Desktop\asus.ps1:1 Line | 1 | $asushw = Get-CimInstance -Namespace root/wmi -ClassName ASUSHW | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Invalid class Invoke-CimMethod: C:\Users\thean\Desktop\asus.ps1:2 Line | 2 | Invoke-CimMethod $asushw -MethodName sensor_get_version | ~~~~~~~ | Cannot bind argument to parameter 'CimClass' because it is null.

vladimirgluten avatar Sep 07 '23 16:09 vladimirgluten

This is still a problem in 2024

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Windows\system32> $asushw = Get-CimInstance -Namespace root/wmi -ClassName ASUSHW PS C:\Windows\system32> Invoke-CimMethod $asushw -MethodName sensor_get_version Invoke-CimMethod : Method "sensor_get_version" not found At line:1 char:1

  • Invoke-CimMethod $asushw -MethodName sensor_get_version
  •   + CategoryInfo          : ObjectNotFound: (ASUSHW (Instanc...C14\ASUSWMI_0"):CimInstance) [Invoke-CimMethod], CimE
     xception
      + FullyQualifiedErrorId : HRESULT 0x80041002,Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodCommand
    

NolonQ avatar Jan 07 '24 21:01 NolonQ

Per this thread it seems there is a different driver needed for newer Asus boards. Not sure if its same on newer Intel platforms...

I see X570 listed there as not working. I'm also getting this error.. `Invoke-CimMethod : Method "sensor_get_version" not found At C:\Users\v81\Desktop\test.ps1:2 char:1

  • Invoke-CimMethod $asushw -MethodName sensor_get_version
  •   + CategoryInfo          : ObjectNotFound: (ASUSHW (Instanc...C14\ASUSWMI_0"):CimInstance) [Invoke-CimMethod], CimE
     xception
      + FullyQualifiedErrorId : HRESULT 0x80041002,Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodCommand`
    

virtual812 avatar Jan 19 '24 14:01 virtual812

Not 100% sure but instead of doing the power shell command, you may be able to use HWiNFO. Just checked my board and it states ASUS ROG STRIX X670E-I GAMING WIFI (Nuvoton NCT6799D) as the title of the motherboard sensors. I'm assuming NCT6799D is used instead of WMI.

hubertsng avatar Jan 22 '24 03:01 hubertsng

I have also the same problem on my ASUS ROG Zenith II Extreme Alpha. I want to change to Fan Control because when I open AIDA64 the Fans are going crazy. Sometimes there are fans which are shutting down and other time they are going up I want to use my WigiDash.

Luigi9212 avatar May 29 '24 01:05 Luigi9212

Same problem here on an ASUS ProArt X870-E.

dusda avatar Dec 05 '24 19:12 dusda

+1 on no-go on ASUS ProArt X870-E.

tenicio avatar Jan 14 '25 04:01 tenicio

Entering the following in PowerShell

$asushw = Get-CimInstance -Namespace root/wmi -ClassName ASUSHW
Invoke-CimMethod $asushw -MethodName sensor_get_version

returns the error

Invoke-CimMethod: Method "sensor_get_version" not found

Entering

Get-CimClass -Namespace root/wmi | Where-Object CimClassName -Match "ASUSHW" | select -ExpandProperty CimClassMethods

returns the following output:

Spoiler - Click to Expand
Name              ReturnType Parameters                  Qualifiers
----              ---------- ----------                  ----------
read_smbus_byte      Boolean {cmd, slave, data, Result}  {Implemented, WmiMethodId}
write_smbus_byte     Boolean {cmd, data, slave, Result}  {Implemented, WmiMethodId}
read_smbus_word      Boolean {cmd, slave, data, Result}  {Implemented, WmiMethodId}
write_smbus_word     Boolean {cmd, data, slave, Result}  {Implemented, WmiMethodId}
read_smbus_block     Boolean {cmd, slave, data, Result}  {Implemented, WmiMethodId}
write_smbus_block    Boolean {cmd, count, data, slave…}  {Implemented, WmiMethodId}
asio_hw_fun07        Boolean {wPort, bData}              {Implemented, WmiMethodId}
asio_hw_fun08        Boolean {bData, wPort}              {Implemented, WmiMethodId}
asio_hw_fun42        Boolean {wPort, wData}              {Implemented, WmiMethodId}
asio_hw_fun43        Boolean {wData, wPort}              {Implemented, WmiMethodId}
asio_hw_fun44        Boolean {wPort, dwData}             {Implemented, WmiMethodId}
asio_hw_fun45        Boolean {dwData, wPort}             {Implemented, WmiMethodId}
asio_hw_fun11        Boolean {Bus, Dev, Func, Reg…}      {Implemented, WmiMethodId}
asio_hw_fun12        Boolean {Bus, Dev, dwData, Func…}   {Implemented, WmiMethodId}
asio_hw_fun13        Boolean {Index, wIndexPort, Data}   {Implemented, WmiMethodId}
asio_hw_fun14        Boolean {Data, Index, wIndexPort}   {Implemented, WmiMethodId}
asio_hw_fun15        Boolean {Index, DataHi, DataLo}     {Implemented, WmiMethodId}
asio_hw_fun16        Boolean {DataHi, DataLo, Index}     {Implemented, WmiMethodId}
asio_hw_fun17        Boolean {Index, Eax, Ebx, Ecx…}     {Implemented, WmiMethodId}
asio_hw_fun28        Boolean {Index, Data}               {Implemented, WmiMethodId}
asio_hw_fun29        Boolean {Data, Index}               {Implemented, WmiMethodId}
asio_hw_fun19        Boolean {Index, LDN, Data}          {Implemented, WmiMethodId}
asio_hw_fun20        Boolean {Data, Index, LDN}          {Implemented, WmiMethodId}
asio_hw_fun21        Boolean {Bank, Index, Data}         {Implemented, WmiMethodId}
asio_hw_fun22        Boolean {Bank, Data, Index}         {Implemented, WmiMethodId}
asio_hw_fun46        Boolean {LdnIndexArray, DataArray}  {Implemented, WmiMethodId}
asio_hw_fun47        Boolean {LdnIndexDataArray}         {Implemented, WmiMethodId}
asio_hw_fun23        Boolean {BankIndexArray, DataArray} {Implemented, WmiMethodId}
asio_hw_fun24        Boolean {BankIndexDataArray}        {Implemented, WmiMethodId}
asio_hw_fun25        Boolean {BankIndexArray, DataArray} {Implemented, WmiMethodId}
asio_hw_fun26        Boolean {BankIndexDataArray}        {Implemented, WmiMethodId}

Does this mean I have an older version of ASUSHW and my board is not supported? My board is an ROG Strix Z390-E Gaming.

Drift91 avatar Jul 27 '25 21:07 Drift91