Disable performance counters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • derekmorton
    5500 Post Veteran



    • Nov 1999
    • 5699
    • Eltham, Victoria, Australia.
    • ORTS

    #1

    Disable performance counters

    To disable the performance counters go here:-

    Operating systems like Windows come with many utilities that get installed in the systems based on this platform. One such utility is the Performance Counter that is there by default in computers loaded with Windows . This utility enhances the disk d...
  • cn bala
    1000 Post Veteran
    • Jun 2005
    • 1213
    • north of United States

    #2
    Derek -- Is that only for Windows 7 not Windows 10 or can be used for both. I am not sure about this.

    Thank you,

    John

    Comment

    • R. Steele
      3500 Post Veteran

      • Feb 2013
      • 3928
      • known universe
      • ORTS

      #3
      Originally posted by derekmorton
      To disable the performance counters go here:-

      https://ccm.net/faq/6230-windows-7-d...ounter-feature
      That's an excellent find Derek, thanks. Cheers, Gerry
      Cheers, Gerry
      "A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
      It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
      Forever, ridin' drag in railroad knowledge.
      Audi, Vide, Tace, Si Vis Vivere In Pace​

      https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium​ https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small

      Comment

      • derekmorton
        5500 Post Veteran



        • Nov 1999
        • 5699
        • Eltham, Victoria, Australia.
        • ORTS

        #4
        Hi John,

        I don't know, we need someone to test it.

        Comment

        • crstagg
          4500 Post Veteran


          • Nov 1999
          • 4885
          • Huntsville, AL
          • Texan
          • MSOR

          #5
          Originally posted by derekmorton
          Hi John,

          I don't know, we need someone to test it.
          Nothing broke when I ran it.
          Charles

          Comment

          • jefffarq
            Senior Member


            • May 2010
            • 490
            • San Diego, CA
            • General

            #6
            Just ran this on my W10 system.

            It says "Both logical and physical disk performance counters on this system are automatically enabled on demand."

            Sounds to me like it's telling me to buzz off...
            Jeff

            Nothing is foolproof to a sufficiently-talented fool.

            Comment

            • derekmorton
              5500 Post Veteran



              • Nov 1999
              • 5699
              • Eltham, Victoria, Australia.
              • ORTS

              #7
              They are off on my system ( win7 )

              Comment

              • derekmorton
                5500 Post Veteran



                • Nov 1999
                • 5699
                • Eltham, Victoria, Australia.
                • ORTS

                #8
                The message still appears in the log with the counter disabled.
                I will keep looking for a solution.

                Comment

                • murfit
                  New Member
                  • May 2010
                  • 4

                  #9
                  Originally posted by derekmorton
                  To disable the performance counters go here:-

                  https://ccm.net/faq/6230-windows-7-d...ounter-feature
                  This has nothing to do with the message you get with OpenRails. This is only a feature built into Windows to tell you how the Hard Disk is performing....nothing more. The message in Open Rails is a different performance counter all together and is built into software to tell administrators how software is performing, usually used on large servers or by software developers. It can be disabled for any program by using a program developed by Microsoft called Exctrlst.. Do a google to find a download. Disabling the counters does NOT change the way a program functions in any way. The counters are there only for peoples information nothing else. You can also disable counters in the registry but for someone not in the know it is not a wise thing to do. Forget the counters they do nothing but waste your time Cheers Monty

                  Comment

                  • derekmorton
                    5500 Post Veteran



                    • Nov 1999
                    • 5699
                    • Eltham, Victoria, Australia.
                    • ORTS

                    #10
                    Hi Monty,

                    Yes, you are correct, the error message refers to .net performance counters.

                    I have used exctrist.exe to disable ALL performance counters except for the .net counters.
                    There is a surprising side effect though, my system can start OR without timing out though.
                    Then I ran the m$ fix again, and the error message is no longer there.

                    Comment

                    • murfit
                      New Member
                      • May 2010
                      • 4

                      #11
                      Hello Derek. From time to time I have found some counters that don't want to play by the rules even with exctrist.exe. What sometimes fixes this is clearing the Windows event viewer administrative events log by running power shell in administrator mode with the following command
                      wevtutil el | Foreach-Object {wevtutil cl “$_”}
                      Use the control + c to copy and then control +v to paste this command into power shell. Don't do just a normal copy and paste. Cannot give a reason for why it works but just does so. Maybe some programs get results from the event viewer??? Another thing with disabling the counters is quite often it takes 2 reboots before the disable actually takes place. If you still get an error message and you are happy to have a play in the registry I can give you instructions how. Just send me a PM Glad to help. Cheers Monty
                      Last edited by murfit; 04-10-2020, 01:57.

                      Comment

                      Working...