26
Post New Requests Here / Idea: Task Manager "Lite"
« Last post by AzureToad on May 16, 2020, 07:06 PM »For various reasons, we dont want to give access to TASKMGR.EXE on server sessions, but there are times when we do want them to be able to end a process that's frozen.
I'd like to present the user a prompt where they could key a username and/or a process name, showing results similar to what's found when TASKLIST is run. The user could then select a process and choose to kill it.
Task manager offers too many opportunities for the user to gain access to the desktop of the server or to run programs we'd rather they not have.
I considered using PowerShell to prompt the user, run tasklist with output to CSV format, then taking that to display to the user and using taskkill.Exe to end the selected program. Unfortunately, I've never written a script even REMOTELY similar to this!
I'd like to present the user a prompt where they could key a username and/or a process name, showing results similar to what's found when TASKLIST is run. The user could then select a process and choose to kill it.
Task manager offers too many opportunities for the user to gain access to the desktop of the server or to run programs we'd rather they not have.
I considered using PowerShell to prompt the user, run tasklist with output to CSV format, then taking that to display to the user and using taskkill.Exe to end the selected program. Unfortunately, I've never written a script even REMOTELY similar to this!

Recent Posts
and I was too hot and too lazy to put one on.




