I am running Windows 8 with UAC completely disabled which is possible to do by changing a registry setting (setting it to “Never notify” no longer completely disables it in Windows 8).
When I try to profile C# code through Visual Studio I get the following error (clicking yes doesn’t resolve the problem):
Unable to open profiler driver, would you like to upgrade credentials of [username]?
Running vsperfcmd /Admin:Driver,START from the command line says:
Error VSP1449: Unable to start VSPerfDrv100. This driver has been
blocked from loading Try using the /Admin switch of VSPerfCmd from an
elevated environment.
I obviously am using an elevated environment, since with UAC completely disabled I no longer have two security tokens but only the administrator security token.
How can I resolve this problem?
The blog post here ‘The Visual Studio Profiler on Windows 8‘ states this: