开发者

Credentials required for listing services for a remote computer via WMI?

Are administrator credentials (for that remote machine) required to view the services of a remote computer?

I don't know much about WMI and I imagine it w开发者_JAVA百科ould be required, but I would love to see an official answer.


You also need to ensure that your user is not restricted using the WMI Security Control Panel. Go to Computer Management -> Services and Applications and Right Click on WMI Control and Choose Properties, then select the Security tab.

Most Windows properties (like Services) are in the root\CIMV2 namespace, so ensure that your user has access there. Administrators generally do, and if your user is not an administrator, you can grant them rights on that WMI namespace through this dialog.


As you suspect, the remote user's account must be a member of the Administrators group on the local machine. More information is available here:

http://msdn.microsoft.com/en-us/library/aa389290(v=VS.85).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜