Mark Pietersz
(Getting the hang of it)
2002-07-03 09:34 AM
Where to get WMI ?

Folks,

Trying to find a place to download WMI from. Tried wwww.msdn.microsoft.com but my search only reveals the SDK and patch updates.
wwww.msdn.microsoft/developer/wmi/wmisdk is a blank page. The 1.0 distributables that I can find are only for Win2k and I require a distribution set for Win9.x and NT

Rgds
Mark Pietersz


LonkeroAdministrator
(KiX Master Guru)
2002-07-03 09:38 AM
Re: Where to get WMI ?

addresses to WMI are in:
http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=10;t=000045
at FAQ section.

cheers,


Mark Pietersz
(Getting the hang of it)
2002-07-03 09:54 AM
Re: Where to get WMI ?

Lonkero

Sensational - thanks. Why do they make it so hard to find ??

Rgds

Mark


LonkeroAdministrator
(KiX Master Guru)
2002-07-03 10:05 AM
Re: Where to get WMI ?

mark, if it's microsofts way to admit that they do bad code and ask that ppl do not use it [Big Grin]

cheers,


BrianTX
(Korg Regular)
2002-07-03 03:43 PM
Re: Where to get WMI ?

My opinion is that Microsoft tries to hide downloadable features for other operating systems than their newest ones. Windows XP and Windows 2000 include WMI,ADSI, etc. so Microsoft would prefer that you upgrade to Windows 2000 or XP instead of downloading WMI for NT4, 98, ME, or 95.

Brian


Mark Pietersz
(Getting the hang of it)
2002-07-04 06:42 AM
Re: Where to get WMI ?

OK - so i've gotten as far as installing WMI and the WMI SDK on NT and I can use the browser app fine. Try it with Win95 and it's not working. The Win95 machine has IE 5.5 and WinMgmt.exe is running. The SDK browser app returns "Win32: The RPC server is unavailable . Cannot access WMI on the target machine"

Any ideas ?


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 08:25 AM
Re: Where to get WMI ?

win95...
should it even work?
as win95 has no proper network functioning so this is not a suprise.


Mark Pietersz
(Getting the hang of it)
2002-07-04 08:28 AM
Re: Where to get WMI ?

Lonkero

Yep, is supposed to

http://www.microsoft.com/downloads/release.asp?ReleaseID=18492


LonkeroAdministrator
(KiX Master Guru)
2002-07-04 08:44 AM
Re: Where to get WMI ?

allrighty then...

so, you are fine what comes to specified req's but...
then comes to mind is the win95 sr2 and what system updates it has.

but, nicest thing would be, if you could post nice, help me -email to microsoft.


Kdyer
(KiX Supporter)
2002-07-04 09:12 AM
Re: Where to get WMI ?

Mark,

It sounds like you are running fine with Windows 95..

However, with:
"Win32: The RPC server is unavailable . Cannot access WMI on the target machine"

What are you doing with Kix? If it is Kix, do you have KXRPC installed on your destination server? One thing to keep in mind, RPC is not native nor is it built in to Windows 95.

HTH,

Kent


Mark Pietersz
(Getting the hang of it)
2002-07-04 09:37 AM
Re: Where to get WMI ?

Not doing this with Kix, although if I try to invoke the same methods with Kix I still get a negative result as the underlying calls are the same. If you install the WMI SDK you get this snappy html app that allows you to browse the (remote) machine and check out the exposed features. Works fine when I hook into Win2k and Nt but hangs with Win95. I will have to check which Win95 installation it is. Have not yet tried on Win98. WMI runs as a service on NT and up and as a program on win9x

Sealeopard
(KiX Master)
2002-07-04 06:32 PM
Re: Where to get WMI ?

The reference to the RPC service is not the Kixtart RPC service. If I remember correctly you will also need to install DCOM98 on Windows 9x to make WMI accessible remotely and you will have to configure WMI to allow remote access.

BrianTX
(Korg Regular)
2002-07-05 02:26 AM
Re: Where to get WMI ?

You need DCOM.. 1.3 ... and you need to make sure you add permissions to a remote user... there are some instructions on MSDN for configuring remote access to DCOM in the registry (in the WMI documentation) .... you have to set that up properly. You also have to go into the @lanroot\WBEM directory and run one of the wmi utilities in there to add permissions to a user to access WMI remotely. It's somewhat of a pain to get it working.. took me a few days to figure it out. Oh.. and you have to set to user-level instead of share-level access.

Brian

{edit}
I'm at home now for the holiday ... but this should probably be made into a FAQ... I can work on this later on...

[ 05 July 2002, 02:29: Message edited by: BrianTX ]


Sealeopard
(KiX Master)
2002-07-05 03:49 PM
Re: Where to get WMI ?

Microsoft likes to confuse us. DCOM98 is DCOM 1.3 it's just that Microsoft calls the latest DCOM executable DCOM98.EXE. So, basically, install the latest DCOM release for your Windows 9x System, there's also a config utility called DCM95CFG.EXE which works with DCOM98, too.

**DONOTDELETE**
(Lurker)
2002-12-24 09:29 PM
Re: Where to get WMI ?

I've got the same problem. I installed WMI on the Win95 box and Dcom and dcm95cfg.exe and did the registry hacks MS suggests. I also configured dcom for remote access using dcomcnfg. I still can't connect to the box using the cool WMI IE snap-in from the SDK. If I log in as a user that has a PWL on the machine I get an "access is denied" error. Needless to say I also can't use the WMIQuery UDF to remotely query this machine although it works fine locally on the Win95 box. What am I doing wrong?

Sealeopard
(KiX Master)
2002-12-31 05:33 PM
Re: Where to get WMI ?

WMI sets up it's own permissions with regards to accessing WMI itself. Did you adjust those?

Don't have Win9x available to test it, though.


BrianTX
(Korg Regular)
2003-01-02 05:22 PM
Re: Where to get WMI ?

You actually have to go in and ADD a user.

Do this by opening wbemcntl.exe. Click on the security tab. Then add users/groups, etc. Alternately, you can allow anyone to access by clicking on advanced and enabling anonymous connections with share level security (not recommended).

Brian