Atera Agent Dashboard showing N/A for everything.
I ran into an issue today where the Atera agent dashboard was showing N/A for all the fields. Turns out it was an issue with the computer. Imaging really wasn't an option. Here is what I found I hope this helps. Cheers!
Atera Dashboard wasn't populating data. Showing N/A for each item. Also, get this error when running wmi commands.
Get-WmiObject Win32_BIOS
Get-WmiObject : Invalid class "Win32_BIOS"
Resolution: This came from working with ChatGPT BTW.
Issue Description:
Error encountered when running PowerShell commands to query WMI classes Win32_BIOS and Win32_ComputerSystem.
Error Message: Invalid class "Win32_BIOS" and Invalid class "Win32_ComputerSystem".
Error Code: 0x80041010
Initial Troubleshooting Steps:
Checked WMI Service: Ensured that the WMI service was running on the computer.
Tested WMI Queries: Ran the PowerShell commands manually (Get-WmiObject Win32_BIOS and Get-WmiObject Win32_ComputerSystem) and confirmed that they were failing.
Checked WMI Repository State: Ran the command winmgmt /salvagerepository to check for WMI repository consistency. The repository was reported as consistent.
Advanced Troubleshooting Steps:
Navigated to WMI Directory: Changed directory to %windir%\system32\wbem.
Re-Registered WMI Components: Ran for %i in (.dll) do RegSvr32 -s %i to silently register all WMI DLLs.
Attempted to Register WMI Executables: Ran for %i in (.exe) do %i /RegServer. Some executables accepted the /RegServer flag, but some did not. The operation was generally to ensure that all WMI-related executables were correctly registered.
Recompiled MOF Files: Ran mofcomp CIMWin32.mof to recompile the MOF files, which contain definitions for WMI classes.
Verification:
Ran Get-WmiObject Win32_BIOS and Get-WmiObject Win32_ComputerSystem again. These commands executed successfully, confirming that the issue was resolved.
Comments
-
@dgoettler I've run into this issue countless times! I have a script I use to fix this and have it attached to a routinely running IT Automation policy to make sure WMI stays running on all my endpoints. The script is called
Fix-WMI
and can be found in Atera's Shared Script Library.I don't know why this happens, but occasionally scripts uploaded to Atera's library get a
?
character added as the first character on line 1 of the script - just clone the script and edit it to remove the?
and it should work fine (@nina). I'm sure it has to do with BOM encoding or something, but regardless, it's an annoying issue.1 -
Thank you so much! This will be a great addition to my arsenal.
0 -
@dgoettler and @dyoder - Thank you for this! I'm sure this will help a number of our users!
0 -
Are you not going to fix this and stop it from happening then?
0 -
I have alerted the teams about it. I do not have an ETA or confirmation if anything is planned for this quarter or next.
0
Topics
- All Topics
- 41 Getting started
- 25 Read before posting
- 8 Meet and greet
- 245 General
- 67 News and announcements
- 2 Swag
- 1 Roadmap updates
- 80 Resources
- 12 Knowledge Base
- 17 Webinars
- 1 Shared Script Library
- 2 Blog
- 19 Pro Tips
- 27 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 140 Remote Monitoring and Management
- 84 Remote Monitoring
- 27 Patch Management
- 106 Professional Services Automation
- 65 Helpdesk
- 17 Billing
- 21 Reporting
- 39 Integrations & add-ons
- 21 Integrations
- 11 Add-ons
- 105 Scripting and automations
- 62 Scripts
- 30 Automations