I am trying to register a provider following the documentation as provided in Microsoft doc here (https://docs.microsoft.com/en-us/previous-versions/windows/desktop/wmi_v2/how-to-register-an-mi-provider) but despite a successful registration, I am not able to see instances of class MSFT_WindowsProcess in WMI Explorer, the error in Powershell (after running the command Get-CimInstance -ClassName MSFT_WindowsProcess -Namespace root/StandardCimv2/sample) is 0x80041013.
I have tried to debug using all online methods including the ones mentioned in Stackoverflow but the provider load failure does not go away. Moreover wbemtest access to creating class instance is denied. I have tried the same process with method provider, instance provider and event provider registration-but same error arises. (OS Windows10 Pro, VS 2017 Eneterprise, WMI 2.0, Powershell, All admin privilege provided) What might be the error in my procedure?
User contributions licensed under CC BY-SA 3.0