Unable to Use Taskkill Command to Close Windows Process

Updated Feb 19, 2021

Reported In

Software

  • LabVIEW

Issue Details

I used SystemExec .VI to open magnifier.exe. Then, I used taskkill command to close it. But I was unable to close the magnifier and it stays open. How can I run the command to ensure my magnifier.exe is closed?

Solution

  1. Run LabVIEW in Administrator.
  2. Make sure you set the wait for completion to False when opening the magnifier.exe. This is to ensure the process of opening the program is completed and we will be able to close it. 
Setting the Wait for Completion to False when running the magnify.exe