|
|
|
date: Mon, 12 Mar 2007 06:44:03 -0700,
group: microsoft.public.win32.programmer.wmi
back
Some 80041001 Generic Failure accessing remote WMI
Some days ago I posted a message about problem accessing the
"win32_BaseService" class remotely using WMI. In that case the problem had
no (good) solution: It was mandatory to use an administrator profile to
access the SCM.
Now, I'm posting some more issues about the same kind of problem but for
other WMI classes. Maybe these errors are related, maybe not. Just in case,
I'm posting all the queries with problems together..
We need to retrieve some WMI information from a remote computer running
Windows 2003 SP1 without using an Administrator user. Using wbemtest to
retrieve information of these queries:
"select * from win32_SystemResources"
"select * from win32_SystemSystemDriver"
"select * from win32_SystemServices"
"select * from win32_LoadOrderGroupServiceMembers"
"select * from win32_LoadOrderGroupServiceDependencies"
"select * from win32_DiskPartition"
"select * from win32_SystemDriver"
"select * from win32_DiskDriveToDiskPartition"
"select * from win32_SystemPartitions"
I get always the same error:
”80041001 Generic Failure” but I can execute the same queries in the local
computer, using the same user, and they work well. The user is a "low" domain
user, no administrator, in the monitored computer.
I've configured in the monitored system:
- I've add the user to the Local User groups and "Performance Monitor Users"
group.
- Using wmimgmt.msc I gave permissions to all in Root and CIMV2 nodes (I
know only some of them are needed, but I checked everything just to test).
- As I'm using 2003 Server SP1 I modfied DCOM permissions using dcomcnfg
modifying the "Edit Default" in Access Permissions and Launch and activations
permissions. I've changed the "Edit Limits" options in the "Launch and
activations Permissions".
With this settings I'm able to retrieve some information using WMI
Furthermore, the query works using:
- wbemtest directly in the remote computer when logged using the same "low"
user, so it's not an authorization problem but a WMI/DCOM issue.
- Everything works fine running wbemtest from the remote PC if I add the
domain user to the "local administrator" group.
Just for trying I also change some settings I got from a MOM configuration
document: I added the "Manage auditing and security log" and "Allow log on
locally" permissions but it did not work either, the error is always the same.
My question is: Do I need to change any other setting in order to be able
to perform these queries from a remote computer using a non administrator
user?
Thank you in advance.
date: Mon, 12 Mar 2007 06:44:03 -0700
author: tango am
|
|