Sunday, 29 March 2020

Pro Tip: Killing a windows process

Imagine you are using your beloved windows and working on something important. And suddenly you notice that the "Explorer.exe" is stopped responding - in other words, you are not able to browse folders, programs that open file dialog are hanging now, and you are not able to even open the "Task Manager" from task bar. 

Well, in such cases, one of the options is to "restart" windows :)

But let's say, you want to avoid it because you are not sure if your precious work is saved.

One option you can try is:

1. Open command prompt in admin mode.
2. (optional) Run "tasklist" command to see running processes.
3. Since we know the name of the process that needs to be restarted, we can run taskkill /IM "explorer.exe" /F
4. Now that the previous explorer process is dead, we need to launch a new one. That is simple - run "explorer"


Hope that helps!!

No comments:

Post a Comment