Cannot Run Symantec Installation manager.
search cancel

Cannot Run Symantec Installation manager.

book

Article ID: 153104

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Cannot Run Symantec Installation manager. Immediate Initialization Failure

Process: SymantecInstallationManager (9436)
Thread ID: 1
Module: SymantecInstallationManager.exe
Source: Symantec.Installation.SimApplication.Main
Description: Uncaught Exception in Application
( Exception Details: System.Management.ManagementException: Initialization failure
at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Symantec.Installation.EnvironmentInfo.GetProcessorArchitecture()
at Symantec.Installation.ProductFilter.GetCurrentPlatform()
at Symantec.Installation.Context.ProductListingManager..ctor(SimApplicationContext context)
at Symantec.Installation.Context.SimApplicationContext..ctor()
at Symantec.Installation.Context.SimApplicationContext.CreateContext()
at Symantec.Installation.SimApplication.Main(String[] args) )
( Exception logged from:
at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, Exception exception)
at Symantec.Installation.SimApplication.Main(String[] args)
)
( Extra Details: Type=System.Management.ManagementException Src=System.Management )

Cause

The logs also showed the following error frequently:

Process: AltirisSupportService (1624)
Thread ID: 19
Module: altirissupportservice.exe
Source: Altiris.NS.SupportServices.ServiceMonitor.<RestartServices>b__0
Description: Unhandled exception in Support Service Service Restarter for service '--Unknown--'.
( Exception Details: System.Management.ManagementException: Initialization failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_Properties()
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Altiris.NS.Generated.WMI.Service.get_ProcessId()
at Altiris.NS.ServiceSupport.ServiceController.GetServiceProcess(String serviceName)
at Altiris.NS.SupportServices.ServiceMonitor.<RestartServices>b__0(Object serviceRestartData) )
( Exception logged from:
at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
at Altiris.NS.Logging.EventLog.ReportException(String strMessage, Exception exception)
at Altiris.NS.SupportServices.ServiceMonitor.<RestartServices>b__0(Object serviceRestartData)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
)
( Extra Details: Type=System.Management.ManagementException Src=System.Management )

If you attempt to look at the dependencies for any service, the following error is displayed: " WMI: Initialization Failure"

The event logs reference a winmgmt error and numerous .NET 2.0 warnings

These errors indicate possible WMI Repository Corruption.

 

Resolution

Create a FIXWMI.CMD batch file from the below script and run it on the NS.

FIXWMI.CMD
------------------------

@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

 


Applies To

Symantec Management Platform 7.0 SP4