Jump to content

Asset Info - Bug - Agent missing all BIOS and System Info


Recommended Posts

Posted

Is there a way to "remove" and "re-build" the asset information on an agent?

I have an agent that's been live for months and I only realised now that the Asset Info reported by the Agent (while on Agent version 6 and 7) were only showing the Operating System Name, Product Key and Logged in User.  Nothing else. Even with the computer being online I could not get this information

I had to get the serial number of the computer for a warranty check and only realised this now. Luckily the computer was not stolen and I could still get the serial manually.

This is quite a serious problem (for an MSP anyhow).

Maybe an alert can be generated for agents with missing fields in Asset info, or at least the report can display the output in red (or on it's own page)

Please see attached pics

 

REPORT:

129580871_PulsewayReportMissingAssetInfo.thumb.png.9046f651b7ec33eb3efa12f65c5945af.png

WEBAPP:

 

1426694654_PulsewayWebAppAssetInfo.thumb.png.4209b8cd73e9cc9520434baccfccaa64.png

  • Staff
Posted

Hi @Louwrens,

If Pulseway fails to read this data from your monitored systems, then it is not shown in report. Please verify that there are no issues with WMI on your monitored system.

Posted (edited)

Thank you Chris. This is not a bug then as it turns out the problem is with WMI like you said.

How can we move this post from the "Bugs" section to the Knowledge base?

 

The computer were failing with error "Alias not found" when typing in wmic WITH and WITHOUT specifying any queries.

The wmic command itself was able to run and c:\windows\system32\Wbem was listed in the path

WINmgmt /verifyrepository - WMI repository shows consistent

But when running (WMImgmt.msc) WMI Mangement console -> Right Click WMI Control -> Properties,  there were errors:  W32 WMI "invalid class" and "invalid path"

Fixed this with the below batch file found on some site that I cant remember :)

 

__________________________________________________________________________

@ECHO OFF

sc config winmgmt start= auto

reg add HKLM\SOFTWARE\Microsoft\Ole /v EnableDCOM /t REG_SZ /d "Y" /f
reg add HKLM\SOFTWARE\Microsoft\Ole /v LegacyAuthenticationLevel /t REG_DWORD /d "2" /f
reg add HKLM\SOFTWARE\Microsoft\Ole /v LegacyImpersonationLevel /t REG_DWORD /d "3" /f

reg delete HKLM\SOFTWARE\Microsoft\Ole /v DefaultLaunchPermission /f
reg delete HKLM\SOFTWARE\Microsoft\Ole /v MachineAccessRestriction /f
reg delete HKLM\SOFTWARE\Microsoft\Ole /v MachineLaunchRestriction /f

NET STOP SharedAccess

NET STOP winmgmt

CD %WINDIR%\System32\Wbem\Repository
DEL /F /Q /S %WINDIR%\System32\Wbem\Repository\*.*
CD %WINDIR%\system32\wbem

REGSVR32 /s %WINDIR%\system32\scecli.dll
REGSVR32 /s %WINDIR%\system32\userenv.dll

MOFCOMP cimwin32.mof
MOFCOMP cimwin32.mfl
MOFCOMP rsop.mof
MOFCOMP rsop.mfl
FOR /f %%s IN ('DIR /b /s *.dll') DO REGSVR32 /s %%s
FOR /f %%s IN ('DIR /b *.mof') DO MOFCOMP %%s
FOR /f %%s IN ('DIR /b *.mfl') DO MOFCOMP %%s
MOFCOMP exwmi.mof
MOFCOMP -n:root\cimv2\applications\exchange wbemcons.mof
MOFCOMP -n:root\cimv2\applications\exchange smtpcons.mof
MOFCOMP exmgmt.mof

NET STOP Cryptsvc
DEL /F /Q /S %WINDIR%\System32\catroot2\*.*
DEL /F /Q C:\WINDOWS\security\logs\*.log
NET START Cryptsvc

cd c:\windows\system32
lodctr /R
cd c:\windows\sysWOW64
lodctr /R

WINMGMT.EXE /RESYNCPERF

msiexec /unregister
msiexec /regserver
REGSVR32 /s msi.dll

NET START winmgmt
NET START SharedAccess

 

______________________________________________________________________________

 

 

Edited by Louwrens
Additional helpful resolution

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...