12
3
Currently, I have this command in a .bat file:
taskkill /im process.exe /f /t
However, I would like it to kill process.exe for any and every user who is currently logged in on Windows 10. Is there a way to achieve this? I can only find solutions that pertain to specific users.
I simply want to kill every instance of this process regardless of which user is running it.
I have also tried inserting a wildcard in for username like this, but this doesn't kill any of the processes at all.
2Try
taskkill /im process.exe /f /t
under the Administrator account. If that doesn't work, you can loop through each user account taken from a list. – user96931 – 2020-02-11T18:10:54.1831I had been running "taskkill /f /t /im process.exe" through a .bat file. When I selected the file and ran it as an administrator, it killed the process for the other users as well. Thank you! If you answer the question, I'll mark it as answered. – NotMyAge2020 – 2020-02-11T18:19:11.710