Re: Cannot start WMI



Looks like it could be permissions or DCOM settings are wrong.

Be sure DCOM is se to normal defaults. Easiest way is to compare to working
OS.

At minimum "connect" and impersonate.

launch/acces - administrators,self,system.

WMI provider has custom on . launsh and config with admin,interactive,local
service ,network service, system
--
Jim Vierra

"Attila Tajti" <attis@xxxxxxxxxxxxx> wrote in message
news:1116961717.122886.232690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thanks for your help. I run SFC /scannow which took 10 minutes or so to
> complete but it didn't report anything. I restarted my computer to make
> sure any overwritten dlls would be read again.
>
> But it didn't help, the simptoms are the same. I still can't start the
> WMI service and can't compile the mof/mfl files either.
>
>
>
> Jim Vierra wrote:
>> I would start by running "SFC /scannow" and see if any files need
> replacing. This will also re-register fundamental system DLLs that may
> have become unregistered or have corrupted registry entries.
>>
>> This is a routine from Eric Sun at MS. It will re-comp all MOFs that
> are installed on the machine except for MOFs not stored in WBEM
>> Please continue the following steps to rebuild the WMI repository.
>>
>> 1.. Disable the Windows Management Instrumentation SERVICE in the
> services console (services.msc)
>> 2.. Back up the contents in the
> C:\windows\system32\wbem\Repository\
>> 3.. Clearing the contents of C:\windows\system32\wbem\Repository\
>> 4.. Click Start and click Run
>> 5.. In the Run dialog box, please type CMD
>> 6.. In the Command prompt, please just copy and paste the command
> below. Run it then.
>> 1.. for %1 in (%systemroot%\system32\wbem\*.mof
> %systemroot%\system32\wbem\*.mfl) do mofcomp %1
>> 7.. Restart the server.
>>
>> --
>> Jim Vierra
>


.



Relevant Pages

  • Re: Is Outlook Running
    ... "Michael Bauer" wrote in message ... > "Jim Vierra" wrote in message ... >>> Just showing how you can get more information with WMI. ... It will also tell you if Outlook ...
    (microsoft.public.outlook.program_vba)
  • Re: Is Outlook Running
    ... WMI is powerfull, that´s no question. ... "Jim Vierra" wrote in message ... >>> Viele Grüße ...
    (microsoft.public.outlook.program_vba)
  • Re: Is Outlook Running
    ... "Jim Vierra" wrote in message ... > looking for an easy methid and thought of WMI I thought I would share it. ... >>> with the WIndows API. ... >>> Sub getOutlook() as Boolean ...
    (microsoft.public.outlook.program_vba)
  • Re: Is Outlook Running
    ... Just showing how you can get more information with WMI. ... > "Jim Vierra" wrote in message ... >> Sub getOutlook() as Boolean ... >> For Each strComputer In arrComputers ...
    (microsoft.public.outlook.program_vba)

Loading