Showing posts with label BAT. Show all posts
Showing posts with label BAT. Show all posts

20210531

When scheduled BAT-files cascades

Server was acting slowly. What have happened? When I opened Task Manager. There were thousands of cmd-programs open. I noticed there were some scheduled BAT files without exit row to finish them. 

It was too slow to kill them one by one. However, there is a command to kill them all with one command. Firstly, you must open cmd with admin privileges! Then write:

taskkill /F /IM cmd.exe

This command will kill your current command prompt too.


When scheduled BAT-files cascades

Server was acting slowly. What have happened? When I opened Task Manager. There were thousands of cmd-programs open. I noticed there were so...