通过 WMI 列出远程计算机的服务需要凭据吗?
查看远程计算机的服务是否需要(该远程计算机的)管理员凭据?
我对 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 would be required, but I would love to see an official answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您还需要确保您的用户在使用 WMI 安全控制面板时不受限制。转到计算机管理 ->服务和应用程序,右键单击“WMI 控制”并选择“属性”,然后选择“安全”选项卡。
大多数 Windows 属性(如服务)都位于 root\CIMV2 命名空间中,因此请确保您的用户有权访问该位置。管理员通常会这样做,如果您的用户不是管理员,您可以通过此对话框授予他们对该 WMI 命名空间的权限。
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.
正如您所怀疑的,远程用户的帐户必须是本地计算机上管理员组的成员。更多信息请访问:
http://msdn。 microsoft.com/en-us/library/aa389290(v=VS.85).aspx
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