#86531 - 2002-07-03 09:34 AM
Where to get WMI ?
|
Mark Pietersz
Getting the hang of it
Registered: 2001-09-30
Posts: 74
Loc: Melbourne, Australia
|
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
_________________________
Mark Pietersz
|
Top
|
|
|
|
#86533 - 2002-07-03 09:54 AM
Re: Where to get WMI ?
|
Mark Pietersz
Getting the hang of it
Registered: 2001-09-30
Posts: 74
Loc: Melbourne, Australia
|
Lonkero
Sensational - thanks. Why do they make it so hard to find ??
Rgds
Mark
_________________________
Mark Pietersz
|
Top
|
|
|
|
#86535 - 2002-07-03 03:43 PM
Re: Where to get WMI ?
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
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
|
Top
|
|
|
|
#86536 - 2002-07-04 06:42 AM
Re: Where to get WMI ?
|
Mark Pietersz
Getting the hang of it
Registered: 2001-09-30
Posts: 74
Loc: Melbourne, Australia
|
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 ?
_________________________
Mark Pietersz
|
Top
|
|
|
|
#86540 - 2002-07-04 09:12 AM
Re: Where to get WMI ?
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
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
|
Top
|
|
|
|
#86541 - 2002-07-04 09:37 AM
Re: Where to get WMI ?
|
Mark Pietersz
Getting the hang of it
Registered: 2001-09-30
Posts: 74
Loc: Melbourne, Australia
|
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
_________________________
Mark Pietersz
|
Top
|
|
|
|
#86543 - 2002-07-05 02:26 AM
Re: Where to get WMI ?
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
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 ]
|
Top
|
|
|
|
#86545 - 2002-12-24 09:29 PM
Re: Where to get WMI ?
|
Anonymous
Anonymous
Unregistered
|
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?
|
Top
|
|
|
|
#86547 - 2003-01-02 05:22 PM
Re: Where to get WMI ?
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
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
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 507 anonymous users online.
|
|
|