“Skype for Business StatsMan PerfAgent”导致“DLL ZZZ 中服务 XXX 的打开过程失败”

“Skype for Business StatsMan PerfAgent”导致“DLL ZZZ 中服务 XXX 的打开过程失败”

我们关注了微软的文章这里并在我们的 Skype for Business 服务器上安装了“Skype for Business StatsMan PerfAgent”。产品按预期运行,但每 10 分钟,PerfAgent.exe 服务(按照安装程序的设置作为网络服务运行)就会尝试访问一些他无权访问的注册表值(通过 ProcMon 查看)。这导致以下错误:

Unable to open the Server service performance object. The first four bytes (DWORD) of the Data section contains the status code.

The Open Procedure for service "WmiApRpl" in DLL "C:\Windows\system32\wbem\wmiaprpl.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

The Open Procedure for service "BITS" in DLL "C:\Windows\System32\bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

The Open Procedure for service ".NETFramework" in DLL "C:\Windows\system32\mscoree.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.

记录在事件日志中。如果停止“Skype for Business StatsMan PerfAgent”服务,则不会记录错误。相比每 10 分钟发生一次的情况,每天记录的条目多达数百条。知道是什么原因导致了这个问题吗?我们完全按照 Microsoft 的文章操作...

答案1

对于使用 Skype StatsMan 的 Skype 服务器上的 WmiApRpl 问题,您需要在此注册表节点上向(本地)网络服务添加完全控制权限:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WmiApRpl\Performance\

之后重新启动 StatsMan 服务。

对于 BITS,它是这个节点:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Performance

对于 .NETFramework,它是这个节点:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\.NETFramework\Performance

不要忘记之后重启 StasMan 服务

相关内容