Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
how to repair WMI , WMI error out while installing sql server 2012

Answered how to repair WMI , WMI error out while installing sql server 2012

All Replies

  • Thursday, October 11, 2012 5:48 AM
     
     Answered
  • Thursday, October 11, 2012 7:54 AM
     
     Proposed

    Hi,

    Just run the following commands step wise,

    Disable Winmgmt

    net stop winmgmt

    Winmgmt /salvagerepository %windir%\System32\wbem

    Winmgmt /resetrepository %windir%\System32\wbem

    Enable Winmgmt

    Thank you,


    Akshay Vithalkar (MCTS)Windows Server 2008 R2 Server Virtualization (MCTS)Windows Server 2008 R2 Network Infrastructure,Configuration (MCTS)Windows Server 2008 R2 Active Directory, Configuration (MCITP)Windows Server 2008 Server Administrator (MCSA)Windows Server 2008

    • Proposed As Answer by Akshay V Thursday, October 11, 2012 9:04 AM
    •  
  • Friday, October 12, 2012 5:46 AM
     
     

    Hi Akshay,

    Disable , net stop commands, winmgmt  are not working in cmd prompt . Can you suggest me why these commands are not working.

    I m getting error..."cmd is not recognized as internal or external command,operable program or batch file"

    I have manually stop the Windows Management Instrumentation service and then run the commands :-

    Wmimgmt /salvagerepository %windir%\System32\wbem

    Wmimgmt /resetrepository %windir%\System32\wbem

    but nothing is happened only console root window is opening . Can you please suggest .

    • Edited by Surbhi128 Friday, October 12, 2012 5:53 AM
    •  
  • Friday, October 12, 2012 5:58 AM
    Moderator
     
     

    Disable , net stop commands, winmgmt  are not working in cmd prompt . Can you suggest me why these commands are not working.

    You might want to run those commands in elevated cmd (Run as Administrator).

    By the way, did you try the suggestion given in the link posted by Ravikumar ? that didn't work ?

    Thanks


    Regards, Santosh

    I do not represent the organisation I work for, all the opinions expressed here are my own.

    This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

  • Friday, October 12, 2012 6:31 AM
     
     

    Hi Ravikumar,

    You solution works.................thanks alot...........

  • Friday, October 12, 2012 6:51 AM
     
     

    Hi Surbhi, 

    Its good to see that your issue solved.You are most welcome:) keep post your queries here in this forum.


    Regards, Ravikumar P