+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, [Found] Fix for windows management instrumentation in Coding and Web Development; I kept getting loads of Windows Management Instrumentation related errors and such, and found a way to rebuild all of ...
  1. #1
    fooby's Avatar
    Join Date
    Dec 2005
    Posts
    351
    Thank Post
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    19

    [Found] Fix for windows management instrumentation

    I kept getting loads of Windows Management Instrumentation related errors and such, and found a way to rebuild all of this.

    Code:
    net stop sharedaccess
    net stop winmgmt
    
    c:
    cd %windir%\system32\wbem
    rd /S /Q repository
    regsvr32 /s %systemroot%\system32\scecli.dll
    regsvr32 /s %systemroot%\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
    
    gpupdate /force /boot
    After running this through (and fixing some other things) I had group policies and things working a lot better

    fooby

  2. #2

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,726
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364

    Re: [Found] Fix for windows management instrumentation

    microsoft have a utility that checks wmi and diagnoses it , it then goes off creates a log file and you can do it that way

    There is also some funky command that you can use to re install wmi

  3. #3

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,726
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364

    Re: [Found] Fix for windows management instrumentation

    The diagnosis utility :

    http://www.microsoft.com/downloads/d...displaylang=en

    how to repair wmi :

    http://windowsxp.mvps.org/repairwmi.htm

    I cant get the repair wmi url to work right now.

SHARE:
+ Post New Thread

Similar Threads

  1. Windows 2003 R2 Printer Management
    By Simcfc73 in forum Windows Server 2000/2003
    Replies: 50
    Last Post: 4th February 2010, 02:44 PM
  2. PDA (Windows Mobile) Management
    By pete in forum Windows
    Replies: 7
    Last Post: 17th October 2006, 08:29 AM
  3. Quota Management in Windows 2003 R2
    By wesleyw in forum Windows
    Replies: 0
    Last Post: 5th September 2006, 10:06 AM
  4. Eeek! They have found us!!
    By ITWombat in forum Comments and Suggestions
    Replies: 14
    Last Post: 12th June 2006, 12:45 PM
  5. Found it!!
    By Dos_Box in forum Windows Vista
    Replies: 1
    Last Post: 17th May 2006, 08:34 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •