Saturday, August 23, 2014

Killing the Windows Shell




On Linux machines you have the handy Ctrl+Alt+Backspace to restart the X server, if your GUI hangs.



Is there something comparable on Windows? I.e., a combination of key strokes to kill/restart the Windows shell in situations where the task manager is not a viable way?



Cheers,



EDIT: To make my point clear: Suppose, the UI freezes, because some app goes banana. Then you can spend hours waiting for the task manager to come up and get rendered after hitting Ctrl+Alt+Del, or you can just use this magical keystroke: (fill in your answer here) and you will be brought back to the login screen magically, just like Dorothy but without red shoes... ;-)


Answer



You could make a new shortcut in your Quick Launch bar - the shortcut would go to:




C:\Windows\System32\taskkill.exe /f /fi "status eq not responding"


You could then make a key command to run it.



The shortcut will close all processes with the "Not Responding" status.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...