VS2015无法打开性能驱动程序,访问被拒绝

时间:2016-10-14 19:24:41

标签: visual-studio-2015 profiling windows-10 instrumentation

我正在尝试通过Windows 10上的VS2015为C ++应用程序运行检测分析,但是它失败并出现此警告:

Warning VSP2347: The monitor was unable to open the VS performance driver.  Access is denied. Consider using the /Admin:Security option of VSPerfCmd from an elevated environment.  Performance counter data and detection of kernel mode execution is disabled.

我使用的是管理员帐户,并且已使用管理员命令控制台按照here列出的说明进行操作。

我已经确认已安装并运行了性能分析服务管理器和内核模式驱动程序:

vsperfcmd /admin:security,list
Microsoft (R) VSPerf Command Version 14.0.23107 x86
Copyright (C) Microsoft Corp. All rights reserved.

security,list
VSPerfSrv Profiling Service Manager Status:
VSPerfSrv is installed and running.
VSPerfDrv Kernel Mode Driver Status:
VSPerfDrv140 is installed and running.
Authorized Profiler Users:
  BUILTIN\Administrators Allowed: FullAccess
  NT AUTHORITY\SYSTEM Allowed: FullAccess

我在运行vsperfcmd命令后重新启动Visual Studio以防万一,但我仍然得到相同的错误。网上的任何搜索都提到了处理Windows 8的特殊问题,但没有任何与10相关的问题。有没有办法让它运行?

0 个答案:

没有答案