Logo SoftSwift
software designed to make life run more smoothly
featuring Enhanced Windows Backup
home   products   support   download   buy   contact   about
support home   knowledge base   raise incident   products owned   register product

12027  Fatal Error in Enhanced Windows Backup: Process performance counter is disabled ... 
Author:     
Products:    
URL: /Support_Kb.aspx?kbname=process-performance-counter-is-disabled
Created: 22-Jun-2006     Last updated: 11-Jul-2007

Affects EWBACKUP v1.1.1006

When Enhanced Windows Backup starts up it tries to see if it is already running. Multiple concurrent copies are not supported. To achieve this it loops through reading the name of all existing processes. If for some reason, the process performance counter is disabled, then this can cause the program to fail with a fatal error.

You may get an exception Thrown as follows :-

Process performance counter is disabled, so the requested operation cannot be performed.
   at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
   at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
   at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
   at System.Diagnostics.Process.GetProcessesByName(String processName, String machineName)
   at System.Diagnostics.Process.GetProcessesByName(String processName)
   at EWBackup.Main.MainInner()
   at EWBackup.Main.Main()

Possible Causes

1. It would seem that on quite a few systems, certain performance counters have become corrupted by one of the automatic windows updates. To fix the problem you need to rebuild the performance counter files as described in the following microsoft article.

http://support.microsoft.com/default.aspx?kbid=300956

 

2. It is possible that registry keys have been setup that disable performance counters

Start Regedit.exe. (You cannot use Regedt32.exe because it does not allow searching for registry values.)
Open the following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Select Find from the Edit menu.
In the Find What field, type Disable Performance Counters.
Click Find Next. This will locate a Performance key that may have this Registry value set to 1.
If the Registry value is set to 1, set the value to 0 or delete the Registry value.
Press F3 to find the next occurrence of this Registry value.
Repeat the previous two steps until there are no Performance keys that have the Disable Performance Counters value set to 1.
NOTE: If you do not find the "Disable Performance Counters" key, this indicates that your performance counters are enabled correctly.

 

Please email support@softswift.com to comment upon whether this article solves or failed to solve the proble for you.

Click here to view a printable copy of this article                     

   New search

Show all knowledge base articlesShow all Articles