Edit: People are downvoting. Can you guys explain why?
So, I'm working on something with batch files, but, sometimes, when I try to close them in the middle of their code, they'll hang.
The issue is, I can't close these hanged windows.
These are the things I've tried:
- Task Manager > End Process (Just doesn't work)
- Process Hacker > Terminate (Error: An attempt was made to access an exiting process)
- Process Hacker > Terminator; all of the options besides TT4 (None of them work)
taskkill /f /fi "imagename eq cmd.exe"
I'm on Windows 8.1
The only way I have been able to close these processes is by logging off and back on. This means there must be a way to close them, no? So can I do that without logging off?