winexename failure

Started by RAK, December 01, 2013, 03:58:42 PM

Previous topic - Next topic

RAK

After a hardware reconfig in my machine.. the winexename function would return a blank string for all program windows except WB itself. The WB tech database pointed me in the right direction: Performance monitoring; however there was only a partial solution provided. It did point me to PM functions where I received a message from Windows that some counters could not be started as shown here:

"Unable to add these counters:

\Memory\Available MBytes
\Memory\% Committed Bytes In Use
\Memory\Cache Faults/sec
\Memory\Cache Faults/sec
\PhysicalDisk(*)\%Idle Time
\PhysicalDisk(*)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec"

After a little research I found this solution that worked.. You guys may wish to add this to your page:
"Performance~Monitoring~and~WinBatch"

Click Start, type cmd right click cmd.exe, and select Run as administrator.
At the prompt, type lodctr /r and press ENTER. This will repair the pointers (those are stored in the registry).


C:\Windows\system32>lodctr /r
Info: Successfully rebuilt performance counter setting from system backup store

thanks!
Roy



td

I believe 'lodctr /r' is already covered in the article you mention and in 3 other Tech. Sup. articles related to performance counters.  Perhaps it needs to be emphasized a little more or something.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

RAK

That may be the case as I missed it..
I read on a few pages to make sure counts were not disabled but did not see the CMD command.
thanks for your reply
Roy