Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Thu, 28 Aug 2008 14:41:29 -0700 (PDT),    group: microsoft.public.win32.programmer.wmi        back       


WMI Authentication problem, PLEASE HELP.   
Hi,

I'm new to WMI...

For the last few months I've been having great success writing Windows
Powershell script that would run on the local machine grabbing WMI
data and working just fine.

Now I need to grab WMI data from some non domain member Windows 2003
SP2 servers remotely and I swear that I'm just about cracking up
trying to get this to work. But the weird thing is some of my queries
work just fine other crash out with a 0x80070005 – E_ACCESS_DENIED
error. My client machine is XP Pro Corp with SP2.

Eg I can remotely query Win32_useraccounts and Win32_logicaldisk  -No
problem at all there.

But when I try to query
Win32_Groups or Win32_UserGroup it crashes out with the 0x80070005 –
E_ACCESS_DENIED.

The strange thing is my Powershell command INCLUDES the -credential
switch which authenticates me with the Administrator account!
Obviously I can log on interactively with that account and it works
fine for some queries just not others. I'm wondering if there is some
restriction kicking in when the type of data I'm calling for is
sensitive?

I've checked the firewall at client and servers and made exceptions
for remote admin. I've checked DCOM/WMI and allowed Admin EVERYTHING
and I've looked at WMI Control and there appears to be no restrictions
on the 'root\cimv2' namespace.

I've stopped and started WMI service and rebooted the server(s) to no
avail and now I'm really beginning to sweat!
I REALLY need that WMI data from these servers but don't know what to
do next. I'm not really much of a Windows server expert more a
scripter..

I'd be very grateful if some kind soul were to advise me on what I can
try next. Please...

Stuart
date: Thu, 28 Aug 2008 14:41:29 -0700 (PDT)   author:   Kryten

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us