.net错误:Process performance counter is disabled,so the requested operation cannot be performed
2010-08-05 15:17
387 查看
![](https://oscdn.geek-share.com/Uploads/Images/Content/202008/30/feef7fba23fa894bb2750cd953adfd26.gif)
发生错误:Process performance counter is disabled,so the requested operation cannot be performed
这是系统设置了某些禁用项导致的。解决方法如下:
1、点击“开始”菜单,选择“运行”,输入命令行:regedit,打开系统注册表;
2、定位到:hkey_local_machine/system/currentcontrolset/services/perfproc/performance
3、删除名称为"disable performance counters"的条目或者双击该条目将其值改为“0”
4、如果以上处理问题依旧,那么就是操作系统的问题,需要修复进程性能计数器:
点击“开始”菜单,选择“运行”,输入命令行:Lodctr /r
如果lodctr命令无法执行,则需要拷贝lodctr.exe到system32下再运行
5、如果问题继续则尝试拷贝perfc009.dat perfh009.dat到system32下
6、终极解决办法
A:安装exctrlst.exe,默认路径为C:/Program Files/Resource kit
B:找到路径C:/Program Files/Resource kitexctrlst.exe在程式中Extensible Performance Counters:
找出PerProc并將Performance Counter Enable打勾。应该就可以了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202008/30/f463e7b3f1c943f303b46dd98489df1e.gif)
网络上也有提示说是 “获取process与performance counter相关, 当前的执行用户不是administrator 组成员”
未证实
相关文章推荐
- net错误:Process performance counter is disabled,so the requested operation cannot be performed
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this sy
- IIS运行asp程序出现The requested resource is in use 和 安装.net 2.0 后运行2.0程序出现 Failed to access IIS metabase 错误的解决
- The requested page cannot be accessed because the related configuration data for the page is invalid
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_sig" for more de
- The service cannot be started, either because it is disabled or because it has no enabled deices ass
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system.
- mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement解决方法
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this sy
- mysql错误:`The MySQL server is running with the --skip-grant-tables option so it cannot execute this s
- [置顶] 【mysql 错误】1209 - The MySQL server is running with the --read-only option so it cannot execute this s
- The server cannot or will not process the request due to something that is perceived to be a client
- Win7共享问题 映射网盘时出现的错误 the specified server cannot perform the requested operation
- 在MOSS2007上加载工作流出现以下错误:“The form cannot be displayed because session state is not available”
- SQL Server数据库恢复错误 The media family on device ‘%ls’ is incorrectly formed. SQL Server cannot process this media family
- “The operation cannot be completed because the DbContext has been disposed” exception with lazy load disabled
- [Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement]错误解决
- PS1--cannot be loaded because the execution of scripts is disabled on this system
- VS2010 + Sql Server Express 2008 R2 如何安装(兼谈错误:The database 'XXX' cannot be opened because it is version 661. This server support
- File xxx.ps1 cannot be loaded because the execution of scripts is disabled on this system