A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

What causes "Disable Performance Counters" to be set?



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old July 23rd 15, 05:30 AM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

I see this happening quite often, and it seems to happen immediately
after the computer coming out of sleep mode. You go into the Registry
and see that the following Registry key has been set to 1 rather than 0.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\PerfDisk\Performance]

"Disable Performance Counters"=dword:00000001

This disables the collection of performance stats for disks. After you
reset the value to zero again, you have to either log out and back into
your user account, or reboot the machine entirely. Very annoying.

Yousuf Khan
Ads
  #2  
Old July 23rd 15, 08:36 AM posted to alt.windows7.general
Paul
external usenet poster
 
Posts: 18,275
Default What causes "Disable Performance Counters" to be set?

Yousuf Khan wrote:
I see this happening quite often, and it seems to happen immediately
after the computer coming out of sleep mode. You go into the Registry
and see that the following Registry key has been set to 1 rather than 0.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\PerfDisk\Performance]

"Disable Performance Counters"=dword:00000001

This disables the collection of performance stats for disks. After you
reset the value to zero again, you have to either log out and back into
your user account, or reboot the machine entirely. Very annoying.

Yousuf Khan


I've never had that happen here.

Just pulling a name out of a hat, do you use SQL ?

Paul
  #3  
Old July 24th 15, 06:59 AM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

On 23/07/2015 3:36 AM, Paul wrote:
Yousuf Khan wrote:
I see this happening quite often, and it seems to happen immediately
after the computer coming out of sleep mode. You go into the Registry
and see that the following Registry key has been set to 1 rather than 0.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\PerfDisk\Performance]


"Disable Performance Counters"=dword:00000001

This disables the collection of performance stats for disks. After you
reset the value to zero again, you have to either log out and back
into your user account, or reboot the machine entirely. Very annoying.

Yousuf Khan


I've never had that happen here.

Just pulling a name out of a hat, do you use SQL ?


No SQL.

I've seen this happening to two different machines, one of them mine,
and one a machine belonging to a friend of mine. In both cases, it's
totally mysterious, and no idea what's causing it.

Yousuf Khan

  #4  
Old July 24th 15, 08:12 PM posted to alt.windows7.general
Char Jackson
external usenet poster
 
Posts: 10,449
Default What causes "Disable Performance Counters" to be set?

On Fri, 24 Jul 2015 01:59:55 -0400, Yousuf Khan
wrote:

On 23/07/2015 3:36 AM, Paul wrote:
Yousuf Khan wrote:
I see this happening quite often, and it seems to happen immediately
after the computer coming out of sleep mode. You go into the Registry
and see that the following Registry key has been set to 1 rather than 0.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\servic es\PerfDisk\Performance]


"Disable Performance Counters"=dword:00000001

This disables the collection of performance stats for disks. After you
reset the value to zero again, you have to either log out and back
into your user account, or reboot the machine entirely. Very annoying.

Yousuf Khan


I've never had that happen here.

Just pulling a name out of a hat, do you use SQL ?


No SQL.

I've seen this happening to two different machines, one of them mine,
and one a machine belonging to a friend of mine. In both cases, it's
totally mysterious, and no idea what's causing it.


Other than going into the Registry, what are the indications that this issue
has occurred? Do you initially notice an entry in the Event Log?

--

Char Jackson
  #5  
Old July 25th 15, 01:35 PM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

On 24/07/2015 3:12 PM, Char Jackson wrote:
Other than going into the Registry, what are the indications that this issue
has occurred? Do you initially notice an entry in the Event Log?


No, I haven't noticed if it puts an entry into the Event Logs or
anything. Come to think of it, maybe I should search for something like
that in the Event Viewer?

The way I know it's happened is because I get a visual confirmation. I'm
using a hard disk SMART monitoring program called HD Sentinel, which
shows an onscreen performance graph for each hard disk which it gets
from the Windows performance counters. When the performance counters get
disabled, the graphs disappear.

Yousuf Khan
  #6  
Old July 25th 15, 02:18 PM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

On 25/07/2015 8:35 AM, Yousuf Khan wrote:
No, I haven't noticed if it puts an entry into the Event Logs or
anything. Come to think of it, maybe I should search for something like
that in the Event Viewer?


Well, I searched the logs, and the only thing I found was the following
informational message: "The WMI Performance Adapter service entered the
stopped state." Event ID: 7036.

Don't know if these are related to my disk performance counters or not.

Yousuf Khan
  #7  
Old July 25th 15, 08:47 PM posted to alt.windows7.general
Char Jackson
external usenet poster
 
Posts: 10,449
Default What causes "Disable Performance Counters" to be set?

On Sat, 25 Jul 2015 08:35:19 -0400, Yousuf Khan
wrote:

On 24/07/2015 3:12 PM, Char Jackson wrote:
Other than going into the Registry, what are the indications that this issue
has occurred? Do you initially notice an entry in the Event Log?


No, I haven't noticed if it puts an entry into the Event Logs or
anything. Come to think of it, maybe I should search for something like
that in the Event Viewer?

The way I know it's happened is because I get a visual confirmation. I'm
using a hard disk SMART monitoring program called HD Sentinel, which
shows an onscreen performance graph for each hard disk which it gets
from the Windows performance counters. When the performance counters get
disabled, the graphs disappear.


Thanks for that info because it means that I've never seen the issue. Like
you, I use HD Sentinel, and I've never had the graphs (or anything)
disappear.

--

Char Jackson
  #8  
Old July 26th 15, 07:06 AM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

On 25/07/2015 3:47 PM, Char Jackson wrote:
Thanks for that info because it means that I've never seen the issue. Like
you, I use HD Sentinel, and I've never had the graphs (or anything)
disappear.


Yeah, it's weird how two different PC's behave so differently when they
shouldn't.

Yousuf Khan
  #9  
Old September 6th 15, 10:49 PM
yar1636 yar1636 is offline
Registered User
 
First recorded activity by PCbanter: Sep 2015
Posts: 1
Default

This has happened too me also.

Have not found the error yet but the solution may be here

https://technet.microsoft.com/en-us/...(v=ws.10).aspx

I am adding EventLogLevel Entry REG_DWORD 1 to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib

This may find the error or you might have to increase the reporting level

Once I have found the problem, I will add Configuration Flags

0x2 (10 binary)

Do not disable counters. Perform all tests, but if a counter generates a function error or a program exception, record a message in the Application Log


https://technet.microsoft.com/en-us/...(v=ws.10).aspx
  #10  
Old September 7th 15, 05:42 PM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

On 06/09/2015 5:49 PM, yar1636 wrote:
This has happened too me also.

Have not found the error yet but the solution may be here


It hasn't happened to me recently. As mysteriously as it came, it went
away too.

Yousuf Khan

  #11  
Old September 8th 15, 06:53 AM posted to alt.windows7.general
Yousuf Khan[_2_]
external usenet poster
 
Posts: 2,447
Default What causes "Disable Performance Counters" to be set?

On 07/09/2015 12:42 PM, Yousuf Khan wrote:
On 06/09/2015 5:49 PM, yar1636 wrote:
This has happened too me also.

Have not found the error yet but the solution may be here


It hasn't happened to me recently. As mysteriously as it came, it went
away too.


But I have enabled the 0x2 setting, just in case.

Yousuf Khan

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 01:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.