/build/static/layout/Breadcrumb_cap_w.png

App-V showing 100% when closed

Hi All

i have sequenced an application using 4.6sp1 of the microsoft virtualisation app v sequencer, i have a program where when you close it it leaves a process in the system tray and a box also stays in the system tray, when you right click on this box and close it yourself it then goes to 0%

is there a way to kill this process off as well? otherwise when users click close, they will assume its closed and it hasn't really, its still in the system tray

thanks

Chris


0 Comments   [ + ] Show comments

Answers (3)

Posted by: rock_star 11 years ago
4th Degree Black Belt
1

write this in after Post shutdown script :

taskkill /f "application exe name"

e.g. taskkill /f notepad.exe


or you can also run vbs

just change name from notepad.exe to your one.


************************************************

On error Resume next
Set WshShell = WScript.CreateObject("WScript.Shell")
Set oWmi = GetObject("winmgmts:")
'Get the process
sWmiq = "select * from Win32_Process where name='notepad.exe'"
Set oQResult = oWmi.Execquery(sWmiq)
'Kill all Processes
For Each oProcess In oQResult
iRet = oProcess.Terminate(1)
Next

************************************************

Posted by: keane2012 11 years ago
Brown Belt
1

thanks will definitely give this a go!

Posted by: pjgeutjens 11 years ago
Red Belt
0

have you tried setting the TERMINATECHILDREN property to TRUE in the OSD?

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