/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Kace process kill script

02/04/2014 8822 views

I work in a medical office and we are having troubles with users not logging out of the EHR. I have written a copule of scripts for updating software but never to end a process. I have tired different ways to kill this process and all i get is a pending status from the run task window. I am not sure what I am doing wrong. Here is what i have for the settings on the script.

I have the script enabled and to only run on my local machine. I have run as an enterprise admin account.

The task is

1.verify the process "eClinicalWorks.exe *32" is running

2. kill the process "eClinicalWorks.exe *32.

 

Now i have tried a non 64bit version on this script thinking the *32 was affected the script and I still cant get that script to work either. I am not sure what i am doing wrong or were the problem with the script is. Someone please helpe

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

3

Either launch a program as Smal suggested or a batch file should work. Pick one or the other. 

Answered 02/04/2014 by: dugullett
Red Belt

  • $(KACE_SYS_DIR) will be System32. These variables can be found by clicking the yellow "?" underneath dependencies.

All Answers

0

I've always used TASKKILL. You can get more info by typing TASKKILL /? in CMD prompt. In your case use 

taskkill /IM eClinicalWorks.exe /F 
Answered 02/04/2014 by: dugullett
Red Belt

  • Is step 2 also in the verify section?
0

No its in the on success section.

Answered 02/04/2014 by: poneill316
White Belt

0

How would I write the script to use a cmd instead of a kill process? This K1000 is new to me and i dont see any options to use a cmd line instead.

 

Answered 02/04/2014 by: poneill316
White Belt

 
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