Search code examples
qtpwsh

How To Stop Wscript Exe


I want to shutdown QTP which is invoked through Wscript.exe.


Solution

  • 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