Re: Failed to initialize all required WMI classes



Have you checked
http://www.microsoft.com/technet/scriptcenter/resources/wmifaq.mspx ?

"geos" <geos@xxxxxxxxxxxxxxxxxxx> wrote in message
news:deddhq$t0t$1@xxxxxxxxxxxxxxxxxxxxxxx
> Hi everyone,
>
> I have the following messages in WMI Control Properties:
>
> Failed to initialize all required WMI classes
> Win32_Processor: Interface: Class not registered
> Win32_WMISetting: Successful
> Security Information: Successful
> Win32_OperatingSystem: Interface: Class not registered
>
> I tried to google for some hints to resolve this problem, but I have only
> found some unregistration/re-registration procedure which didn't worked
> out.
>
> I am not a professional script writer and I am not very familiar with
> setting up the environment in which they run. Could you please give me
> some hints how to resolve this problem?
>
> The system is Windows 2003 SP1. I attach this tiny script I wanted to
> execute and which fails with the error message:
>
> ActiveX component can't create object
> 800A01AD
> Microsoft VBScript runtime error
>
> This script is supposed to close all instances of Notepad.
>
> strComputer = "."
> Set objWMIService = GetObject("winmgmts:" &
> "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
> Set colProcessList = objWMIService.ExecQuery("Select * from Win32_Process
> Where Name = 'notepad.exe'")
> For Each objProcess in colProcessList
> objProcess.Terminate()
> Next
>
> I would greatly appreciate any help or suggestion how to make this script
> alive.
>
> Thank you in advance,
> geos


.



Relevant Pages

  • Re: Ajax browser problem
    ... XMLHttpRequest object but i'm getting some error please ... help me resolve this problem ... The first step if resolving an error is to read the error message generated for the error (in IE, for example, you go into Tools->Internet Options->Advanced and disable script debugging and enable the showing of error messages for every script error and then re-run the script. ...
    (comp.lang.javascript)
  • Re: Ideas to control TCP login by "resolved" DDNS match?
    ... We've signed them up with DDNS services so we can ... > resolve their DDNS names. ... > an inetd type of way. ... check inside the script ... ...
    (comp.unix.aix)
  • RE: CC Field Populated via a Dropdown List
    ... Without a script, it doesn't resolve. ... resolves it as a second name on the cc line - first is just Meredith Start, ... on the attached and manipulate it for my purposes and it didn't work. ...
    (microsoft.public.outlook.program_forms)
  • Failed to initialize all required WMI classes
    ... I tried to google for some hints to resolve this problem, ... I attach this tiny script I wanted to ... Set objWMIService = GetObject("winmgmts:" & ...
    (microsoft.public.windowsxp.wmi)
  • Re: WMI script
    ... If I understand your question you want the script to resolve the machine by ... When resolving a machine name by MAC address I ... > for each IPConfig in IPConfigSet ...
    (microsoft.public.windows.server.general)

Loading