I am using the command,
taskkill /IM cmd.exe
using above command it will kill cmd.exe windows which are all open.
But, my question is, How do I kill administrator command prompt using taskkill command ?
above mentioned command doesn't working for elevated cmd.exe
Run command prompt as administrator and then execute taskkill /IM cmd.exe