I have a KScscript to upgrade from 5.1 to 6.2.  The second task is to verify that the KBOXSMMPService is running:

Task 2remove_tiny.gif

On Failure:  Break Continue


  1. Verify the process “KBOXSMMPService.exe” is running.

On Success

  1. Log “KBOXSMMPService.exe running - 5.1 agent active” to “status”.


On Remediation Success

On Remediation Failure

I am getting the following failure on a few machines:

Output Log

Running As : SYSTEM
standard output:
1 file(s) copied.
Failed to get information for process: KBOXSMMPService System.InvalidOperationException: 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 runkbot.ProcessOperations.ProcessExists(ProcessExists op)

Status Log

C:\Program Files (x86)\KACE detected - 5.1 agent present

Activity Log

Launching program: C:\Windows\system32\cmd.exe /c copy "C:\Program Files (x86)\KACE\KBOX\\packages\kbots\97\ampagent-6.2.1020-x86.msi" "C:\Windows\TEMP\ampagent-6.2.1020-x86.msi"
Checking if directory exists: C:\Program Files (x86)\KACE
Checking if process exists: KBOXSMMPService.exe

Any ideas as to what is happening?  I did some research on the process performance counters mentioned in the output log.  I have disabled all of them in the registry, but still getting the error.  I have also re-installed the agent. 

0 Comments   [ + ] Show Comments


Please log in to comment


You need to upgrade you clients to the minimum required version (5.5.30276) before you upgrade to 6.x.

Answered 12/10/2014 by: htomlinson
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity