Mourdraug / FanControl.AsusWMI

Plugin for FanControl by Rem0o providing access to Asus motherboard sensors using Asus WMI
MIT License
52 stars 9 forks source link

ASUS WMI could not initialize or has no sensors #7

Open Meppyman opened 1 year ago

Meppyman commented 1 year ago

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?

bigcats01 commented 1 year ago

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

EyoSama commented 1 year ago

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

GminerManiac commented 1 year ago

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

bigcats01 commented 1 year ago

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

abcdehc commented 1 year ago

cannot work on TUF B650M

Demcrew commented 1 year ago

Same issue here with an ASUS TUF Gaming Z690 PLUS D4

vladimirgluten commented 1 year ago

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.

NolonQ commented 10 months ago

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

virtual812 commented 9 months ago

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

hubertsng commented 9 months ago

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.

Luigi9212 commented 5 months ago

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.