Hi All
Just started looking at HostMonitor previously setup by someone else and one of the tests for free sapce on c: is getting an Error: Initialization failure.
Has anyone any ideas how to sort please remember I am totally new to Hostmonitor.
Error: Initialization failure
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you please give more details:
- What Windows version do you use? Service pack? UAC enabled?
- What HostMonitor version do you use?
- What test method do you use? Drive Free Space? UNC test?
- Test is performed by HostMonitor or RMA agent?
- Are you trying to monitor disk space on local or remote system?
- HostMonitor is started as Application or Service?
- What Windows version do you use? Service pack? UAC enabled?
- What HostMonitor version do you use?
- What test method do you use? Drive Free Space? UNC test?
- Test is performed by HostMonitor or RMA agent?
- Are you trying to monitor disk space on local or remote system?
- HostMonitor is started as Application or Service?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Looks like WMI repository is corrupted.
You may use the following script (wmi_rebuild.bat) to rebuild WMI repository:
Please note, servers restart may be required.
You may use the following script (wmi_rebuild.bat) to rebuild WMI repository:
Code: Select all
@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End
:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer
:SkipSrv
goto End
:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact: