天天看點

無法通過powershell讀取sql server性能計數器問題

背景:

     全新伺服器,需要增加性能監控,發現無法通過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.

    本文轉自 Fanr_Zh 部落格園部落格,原文連結:http://www.cnblogs.com/Amaranthus/p/4112643.html,如需轉載請自行聯系原作者