Switch from using tasklist to wmic to restore the process with the existing commandline