Ask a questionAsk a question
 

AnswerHow to end processes on a client from the admin console.

  • Tuesday, June 30, 2009 8:58 PMReena111 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Is it possible to start the performance monitor on a client and actually control the processes like you would using task manager?
    I am trying to do this from the admin console. I need to give one of our techs the ability to view and kill the processes.

    Thanks!

Answers

  • Wednesday, July 01, 2009 2:55 PMSherry KissingerMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    No, it's all about user context.  using psexec, right-click tools, RogerZander's tools--the account running the action needs to have the rights to perform that action.

    So your idea about a script would work... but the tech would need to have interactive login rights (to the console session, because that's a server) in order to see content in Run Advertised Programs.  Do they have that already, but not the rights to kill a process?  If so, sure.

    They wouldn't be able to remotely trigger the Advertisement from Zander's Client Center for example, because they'd need admin rights to get to WMI to do that action, too.  If they had that, they'd have rights to kill the process.

    Maybe though... we're helping you to treat the symptoms and not the disease.  What process is going bonkers that you need to have a human kill it interactively?
    Standardize. Simplify. Automate.
    • Marked As Answer byReena111 Wednesday, July 01, 2009 3:00 PM
    •  

All Replies

  • Tuesday, June 30, 2009 10:34 PMJason SandysMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    How about using tasklist and taskkill from the command line? Or PsList and PsKill from sysinternals/Microsoft?

    Roger Zander's Client Center also has this ability as does process explorer I think (also from sysinternals/Microsoft).
    Jason | http://myitforum.com/cs2/blogs/jsandys | Twitter @JasonSandys
  • Tuesday, June 30, 2009 10:53 PMSherry KissingerMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I 2nd Roger Zander's Client Center.  The tech will find tons more uses for per-client troubleshooting with that gem!
    Standardize. Simplify. Automate.
  • Wednesday, July 01, 2009 2:26 PMReena111 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi! Thanks for the suggestions. I just downloaded the Roger Zander's Client Center - very cool.

    All of the tools suggested require the person running them to have admin rights on the computer being connected to... is there a way I can give someone the ability to kill a process on a remote server without giving that person admin rights on the actual server? If not, I will create a script to kill the process and make it an advertised program to be run with admin rights for this tech to use.

    Any more suggestions?

    Thanks!

  • Wednesday, July 01, 2009 2:55 PMSherry KissingerMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    No, it's all about user context.  using psexec, right-click tools, RogerZander's tools--the account running the action needs to have the rights to perform that action.

    So your idea about a script would work... but the tech would need to have interactive login rights (to the console session, because that's a server) in order to see content in Run Advertised Programs.  Do they have that already, but not the rights to kill a process?  If so, sure.

    They wouldn't be able to remotely trigger the Advertisement from Zander's Client Center for example, because they'd need admin rights to get to WMI to do that action, too.  If they had that, they'd have rights to kill the process.

    Maybe though... we're helping you to treat the symptoms and not the disease.  What process is going bonkers that you need to have a human kill it interactively?
    Standardize. Simplify. Automate.
    • Marked As Answer byReena111 Wednesday, July 01, 2009 3:00 PM
    •  
  • Wednesday, July 01, 2009 3:00 PMReena111 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks Sherry! The process is some scheduled task for an internally developed program that for some reason doesn't always stop running and hogs resources so until we get that figured out, the tech just wanted a way to kill it without us giving him admin rights on the server. I'll try the script method. :)

    Thanks!

    Reena