背景:
全新服务器,需要增加性能监控,发现无法通过powershell读取性能指标
解决方法:
-
- Open the Registry Editor by going to the Start Menu and selecting Run…, then type “regedit”, and click the OK button.
- Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg registry key.
- Right click on the "winreg" key and select Permissions. Add users or groups to which you want to grant Read access.
- Exit Registry Editor and restart Windows.
本文介绍了解决在全新服务器上使用PowerShell读取SQL Server性能计数器遇到的问题。通过修改注册表权限,允许特定用户或组读取必要的注册表项,从而实现性能监控数据的正常获取。

被折叠的 条评论
为什么被折叠?



