/build/static/layout/Breadcrumb_cap_w.png

KACE script to upgrade from 5.1 to 6.2 failing

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

Attempts: 
On Failure:  Break Continue

Verify

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

On Success

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

Remediation

On Remediation Success

On Remediation Failure



I am getting the following failure on a few machines:

Output Log

Running As : SYSTEM
C:\Windows\system32\cmd.exe
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

Answers (1)

Posted by: htomlinson 9 years ago
Purple Belt
0
You need to upgrade you clients to the minimum required version (5.5.30276) before you upgrade to 6.x.

http://blog.kace.com/2014/10/20/k1000-version-6-2-is-available/

Don't be a Stranger!

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

Sign up! or login

Share

 
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