Hi Brian, hows it going ?

You can use WMI to execute commands on a remote server, plus kill remote processes ... but think we might need more info here.

1) The "commands" you want to run on the server - will they involve "reaching-out" to yet another resource, like a remote share. Apparently Windows NT does not like passthru type authentication - your credentials on the remote server can not be used to authenticate to another resource. Might want to read this thread:

Topic: Remote Execution - Driving me insane!

This thread also has all the code you should nedd. Plus - while checking out this thread - might study-up on whether TaskScheduler can provide what you need here. See Jen's post in that thread. Jens wrote a Kixtart package called KSMS - an SMS type thingy and you may be able to borrow code and concepts out of that. Hopefully Jens will read this thread and step in here.

2) Plus, could you elaborate a bit on how this script is going to be used ... I get the impression this is a stand-alone Admin script, that will be used by a small no. of people that will not have domain admin rights ? (As opposed to a login script, used by hundreds)

-Shawn