Friday, June 29, 2012

Steps to recreate WMI and Repair Corrupt WMI Services


WMI Error messages in execmgr.log file on SCCM clients
 
  • ·         Failed to open to WMI namespace '\.rootccmPolicyMachine' (8007045b)
  • ·         Failed to ConnectSettings for ICcmPolicyAgent in CSoftDistPolicyNamespace::ConnectToNamespace
  • ·         Failed to ConnectToNamespace in CSoftDistPolicyNamespace::GetMachinePolicy
  • ·         Failed to connect to machine policy name space. 0x8007045b
  • ·         Failed to connect to user policy name space
  • ·         CSoftwareDistPolicyMgr::GetSWDistSiteSettings failed to connect to machine namespace
  • ·         Failed to instantiate UI Server {C2F23AE4-82D8-456F-A4AF-A2655D8CA726} with error 8000401a
  • ·         Failed to instantiate UI Server 2 {E8425D59-451B-4978-A2AB-641470EB7C02} with error 8000401a
  • ·         Failed to instantiate Updates UI Server {2D023958-73D0-4542-8AD6-9A507364F70E} with error 8000401a
  • ·         Failed to instantiate VApp UI Server {00AAB372-0D6D-4976-B5F5-9BC7605E30BB} with error 0x8000401A



1. Stopping the SMS Agent Host service (net stop ccmexec)

2. Stopping the WMI service (net stop winmgmt)
3. Rename the WMI repository rename the folder %windir%\System32\Wbem\Repository. (For example, %windir%      \System32\Wbem\Repository_bad).
4. Starting the WMI service (net start winmgmt)

5. Starting the SMS Agent Host service (net start ccmexec)







No comments:

Post a Comment