远程处理到 perfmon 的问题
嘿大家, 我在开发环境中的十五个系统中,有一个遇到了 PerfMon 问题。从本地计算机访问它没问题,但远程连接到它会引发“无法连接”错误。
每台机器都运行 Win 2003,连接到同一个域,并且我对所有机器都拥有管理员权限。
有一些服务设置为禁用,通常默认情况下启用,因此我将这些服务设置为与网络上的其他计算机相匹配 - 仍然存在相同的问题。
有什么想法吗?
干杯
**更新**
好的 - 我发现是远程注册表服务未正确运行导致上述错误;启用后,Perfmon 现在告诉我“不支持此类接口”。
如果我通过计算机管理连接,第一次会失败,但第二次尝试会成功。通过 perfmon 连接每次都会失败。
Hey all,
I'm having trouble with PerfMon on one system out of fifteen in a development environment. Accessing it from the local machine is fine but connecting to it remotely throws a "Cannot connect" error.
Each machine is running Win 2003, is connected to the same domain and I have admin rights to all.
There were some services set to disabled which are normally enabled by default so I've set these to match the other machines on the network - still have the same problem.
Any ideas?
Cheers
**Update**
Ok - I found it was the remote registry service not running correctly causing the above error; Once that was enabled Perfmon is now telling me "No such interface supported".
If I connect through Computer Management, it fails the first time, but the second attempt is successful. Connecting through perfmon fails everytime.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
已修复 - 对于遇到此问题的任何人,希望这可以帮助您。
启用远程注册表解决了我的第一个问题。
第二个问题“不支持此类接口”原来是注册表中的权限问题。显然,这台机器很久以前就为特定的注册表项设置了一些相当模糊的权限,但现在这些权限已经无关紧要了。
使用 secedit 重置权限修复了这个问题 -
现在可以远程访问 Perfmon 计数器。
Fixed - for anyone that runs into this issue, hopefully this can help you..
Enabling Remote Registry fixed my first problem.
The second issue, "No such interface supported" turned out to be permissions issues within the registry. Apparently the machine had some pretty obscure permissions set to specific registry keys a long time ago, which are now irrelevant.
Resetting permissions with secedit fixed it up -
Perfmon counters are now accessible remotely.
当尝试在性能监视器中“连接到另一台计算机”时,我们遇到了第二个问题 - “不支持此类接口”。
所有规则和服务都在运行。
我们发现以下内容:
We encountered the second issue - "No such interface supported" when attempting to "Connect to another computer" in Performance monitor.
All the rules and services are running.
We found the following:
我按如下方式修复了我的情况:
例如:
runas /user:remote_machine\username "mmc perfmon.msc"
当然,用户必须至少属于“性能日志用户”或“性能监视器用户”用户组。
I fixed my case as follows:
Eg:
runas /user:remote_machine\username "mmc perfmon.msc"
Of course, the user must be at least in the user groups "Performance Log users" or "Performance Monitor Users".
perfmon.exe 不想连接到远程服务器的原因是,它想要连接到 Perf 监视器和 Perf 日志(数据收集)。
因此,您必须将用户帐户添加到日志用户组,当然还有监控用户。
您不需要是远程服务器上的本地管理员!
The reason why perfmon.exe do not want to connect to the remote server is, it wants to connect to the Perf Monitor and the Perf Logs (Data collections).
So you have to add the user account to also the Log User group and of course to the Monitor Users.
you don't need to be local admin on the remote server!