I want to shutdown QTP which is invoked through Wscript.exe.
I used these three commands and it works perfectly fine.
TASKKILL /F /FI "USERNAME eq Ankita" /IM wscript.exe" TASKKILL /F /im QTAutomationAgent.exe TASKKILL /F /im QTPro.exe