I'm trying to run a WMI script that works well on Windows 2003 on Windows NT.
I'm getting the following error message:
ActiveX component can't create object: 'WbemScripting.SWbemLocator'
It seems like this is related to WMI not being installed, but it is (the
service exists and is running). I've restarted the service and still get the
same error.

Thank you.

Re: can't create object: 'WbemScripting.SWbemLocator' by Richard

Richard
Fri Mar 17 10:50:53 CST 2006


"Adoyt" <Adoyt@discussions.microsoft.com> wrote in message
news:17AC2EAC-85B0-4FB5-A23D-8155BFD509AA@microsoft.com...
> I'm trying to run a WMI script that works well on Windows 2003 on Windows
> NT.
> I'm getting the following error message:
> ActiveX component can't create object: 'WbemScripting.SWbemLocator'
> It seems like this is related to WMI not being installed, but it is (the
> service exists and is running). I've restarted the service and still get
> the
> same error.
>

Hi,

Documentation says it requires NT4 SP4 or later.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net



Re: can't create object: 'WbemScripting.SWbemLocator' by Adoyt

Adoyt
Fri Mar 17 11:26:34 CST 2006

Rich,

The server is NT 4.0 SP6. Also, running wbemtest gives the following:
Failed to create IWbemLocator object.

Thank you for your help.

"Richard Mueller" wrote:

>
> "Adoyt" <Adoyt@discussions.microsoft.com> wrote in message
> news:17AC2EAC-85B0-4FB5-A23D-8155BFD509AA@microsoft.com...
> > I'm trying to run a WMI script that works well on Windows 2003 on Windows
> > NT.
> > I'm getting the following error message:
> > ActiveX component can't create object: 'WbemScripting.SWbemLocator'
> > It seems like this is related to WMI not being installed, but it is (the
> > service exists and is running). I've restarted the service and still get
> > the
> > same error.
> >
>
> Hi,
>
> Documentation says it requires NT4 SP4 or later.
>
> --
> Richard
> Microsoft MVP Scripting and ADSI
> Hilltop Lab - http://www.rlmueller.net
>
>
>