(imported topic written by brady_admin91)
I am writing an action script and have one missing link. Prior to the installation of software, I need to terminate a process. How is this done in an action script?
Thanks in advance for the guidance.
(imported topic written by brady_admin91)
I am writing an action script and have one missing link. Prior to the installation of software, I need to terminate a process. How is this done in an action script?
Thanks in advance for the guidance.
(imported comment written by BenKus)
You can try something like this:
waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM app.exe
Be careful because when you kill apps, the users might be unhappy and they might lose work…
Ben
(imported comment written by brady_admin91)
Works like a charm. Thanks Ben.
(imported comment written by SystemAdmin)
When i use this command I get about 5% failure rate
and the taskkill.exe returns
C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support>taskkill.exe
ERROR: The Target system must be running Windows XP or above.
and the systems are running Windows 2000 SP4… “didnt check all of them”
after checking all the systems its only on
Win 2000 SP4 Server/Advanced server/pro/…
when i kill -f app.name everything works ok
can i run kill everywhere or how would i tell when to use taskkill or kill
thanks
(imported comment written by jessewk)
You will need to use an if statement. Kill only works before XP and taskkill only works on XP and later.
if {name of operating system = “Win2000”}
wait kill …
else
wait taskkill …
end if
Jesse
(imported comment written by SystemAdmin)
I will do that, its not all 2000 though its just SP4