2014-04-28 3 views
0

내가 관리자로 내 서버에 성능 카운터를 얻을 수 :성능 카운터의 액세스 제어 목록을 변경하는 방법은 무엇입니까?

PS C:\Users\lpu3\Documents> Get-Counter '\memory\available bytes' 
Get-Counter : Unable to connect to the specified computer or the computer is offline. 
    + CategoryInfo   : InvalidResult: (:) [Get-Counter], Exception 
    + FullyQualifiedErrorId : CounterApiError,Microsoft.PowerShell.Commands.GetCounterCommand 

Documentation 상태 : 내가 관리자가 아닌 사용자로부터 성능 카운터를 얻을 때, 나는 오류 다음 얻을

PS C:\Users\Administrator\Documents> Get-Counter '\memory\available bytes' 

Timestamp     CounterSamples                      
---------     --------------                      
28.04.2014 5:19:55  \\vm108838-2\memory\available bytes :                
          393011200 

을하지만

Performance counters are often protected by access control lists (ACLs). To get all available performance counters, open Windows PowerShell with the "Run as administrator" option.

그렇다면 사용자를 포함하도록 ACL을 변경할 수있는 곳은 어디입니까?

답변

1

ACL을 변경하지 마십시오. 성능 모니터 로그를 사용하려면 a group that has permissions에 사용자 계정을 추가하십시오. 문서에 따라 :

Members of the Performance Monitor Users group 
• Can use all the features that are available to the Users group. 
• Can view real-time performance data in Performance Monitor, and can change the Performance Monitor display properties while viewing real-time data. 
• Cannot create or modify Data Collector Sets. 


Members of the Performance Log Users group 
• Can use all the features that are available to the Performance Monitor Users group. 
• Can create and modify Data Collector Sets after the group is assigned the Log on as a batch user user right, as described in Enable Logging for Performance Log Users Group Members. 
• Cannot use the Windows Kernel Trace provider in Data Collector Sets. 
+0

감사합니다. 그러나 이것이 도움이되지 않았으므로 충분하지 않습니다. – Bunyk