Error 105, error reading running windows processes

Dear Colleagues,

One of our customer met an error of 105 when after the building process of the project is finished. I suggested him to follow the suggestion for error correction in help to deal with the error, which the link is:
https://help.br-automation.com/#/en/4/diagnostics_support%2Ferrors%2Fbr.as%2Fbuild_error_105.html
He follow the direction, but wasn’t able to find the path in registry. I wonder if there is another way to solve this error?

Best Regards
Junru Pan

I’m absolutely not sure if this helps at all, but this is what I found

How to: Fix performance counter issues – LeanSentry

the AS used is also compatible with the operating system ?

B&R Online Help

Hi @Junru_Pan, what is the status of your topic, can you update us?

closed due to inactivity.

Hello,

I had success to get rid of this issue on a customer laptop today
I am writing here the experience I had today because I could not see anywhere anyone confirming that they got rid of this problem. The links provided on top did not help in my case. So what worked for me:
I have prompted ChatGPT with the error message from powershell after typing this commands (no error message visible on a healthy PC that doesn’t trig error 105):

$query = "select * from WIN32_Process"
Get-WmiObject -Query $query

error is

PS C:\Windows\system32> $query = "select * from WIN32_Process"
PS C:\Windows\system32> Get-WmiObject -Query $query
Get-WmiObject : Classe non valide « WIN32_Process »
Au caractère Ligne:1 : 1
+ Get-WmiObject -Query $query
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidType: (:) [Get-WmiObject], ManagementException
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
PS C:\Windows\system32>

Then ChatGPT took me through several steps
this is a summary:

  1. Check if the Win32_Process class exists
    Get-WmiObject -Namespace "root\cimv2" -List | Where-Object { $_.Name -eq "Win32_Process" }
  2. Nothing appears on the customer’s laptop (but was ok for me)
  3. Check if the MOF file is present → returned TRUE
    Test-Path C:\Windows\System32\wbem\cimwin32.mof
  4. Re-register WMI classes→ mofcomp C:\Windows\System32\wbem\cimwin32.mof
  5. test with
    Get-WmiObject -Namespace "root\cimv2" -List | Where-Object { $_.Name -eq "Win32_Process" }
  6. test with
    Get-WmiObject -Query "select * from Win32_Process"
  7. test in the AS project
1 Like

Thanks @ballazr, I marked your reply as the solution.