KACE Product Support Question

KACE script to upgrade from 5.1 to 6.2 failing

12/03/2014 1347 views
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


All Answers

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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ