I have a few batch files in which I directly call taskkill command to kill running processes (because they interfere with these nightly build scripts). But recently, it seems after some Windows updates or possibly after some new software installation (windows updates are more likely, but I'm not sure) the command just hangs. Has anyone seen this kind of problem before and knows the fix?
This is how I'm executing my command which worked perfectly until a few days back.
taskkill /f /im <ProcessName.exe>
Now when I write this in the command prompt and press enter, it just stays there and never returns (and nothing happens).
Details: Windows 7 Enterprise, x64