Here is a simple command line statement to kill frozen windows task manager.
START – RUN – CMD (make sure you are running it as Administrator)
C:>taskkill /F /FI “WindowTitle eq Windows*”
Taskkill – Command
/F – Forcefully terminate the process(es)
/FI – Filter
“WindowsTitle” – valid filter
eq – valid operator
C:> taskkill /? to learn about more valid filters and valid operators regarding taskkill command.
Happy Scripting !!