Re: How to execute command on remote windows machine

2013-09-03 Thread 88888 Dihedral
gauran...@gmail.com於 2013年9月3日星期二UTC+8下午12時45分57秒寫道: > Hi Guys, > > > > I have a requirement where i need to kill one process on remote windows > machine. > > Following command just works fine if i have to kill process on local machine > > > > os.system('taskkill /f /im processName.exe')

Re: How to execute command on remote windows machine

2013-09-03 Thread Jean-Michel Pichavant
- Original Message - > I tried it, however it seems really complicated. > If you have used it before, can you show me how can i do it ? > Gaurang Shah > Blog: qtp-help.blogspot.com > Mobile: +91 738756556 Please don't ask question off-list. It's not complicated at all. The documenta

Re: How to execute command on remote windows machine

2013-09-03 Thread random832
On Tue, Sep 3, 2013, at 0:45, gaurangns...@gmail.com wrote: > Hi Guys, > > I have a requirement where i need to kill one process on remote windows > machine. > Following command just works fine if i have to kill process on local > machine > > os.system('taskkill /f /im processName.exe') > > H

Re: How to execute command on remote windows machine

2013-09-03 Thread Jean-Michel Pichavant
- Original Message - > Hi alex > > I tried the command you suggested however it is giving me following > error. > > ERROR: The RPC server is unavailable. Hi, Please do not top post :) If python is installed on the remote machine, using execnet http://codespeak.net/execnet/ is very ea

Re: How to execute command on remote windows machine

2013-09-02 Thread gaurangnshah
Hi alex I tried the command you suggested however it is giving me following error. ERROR: The RPC server is unavailable. On Tuesday, 3 September 2013 11:03:17 UTC+5:30, alex23 wrote: > On 3/09/2013 2:45 PM, gaurangns...@gmail.com wrote: > > > I have a requirement where i need to kill one pro

Re: How to execute command on remote windows machine

2013-09-02 Thread alex23
On 3/09/2013 2:45 PM, gaurangns...@gmail.com wrote: I have a requirement where i need to kill one process on remote windows machine. Following command just works fine if i have to kill process on local machine os.system('taskkill /f /im processName.exe') However I am not able to figure out how

Re: How to execute command on remote windows machine

2013-09-02 Thread Steven D'Aprano
On Mon, 02 Sep 2013 21:45:57 -0700, gaurangnshah wrote: > so is there any way i can execute command from windows machine on remote > windows machine ? You are looking for information on "Remote Procedure Calls", or RPC. There are obvious security implementations from enabling RPC, imagine if ra

How to execute command on remote windows machine

2013-09-02 Thread gaurangnshah
Hi Guys, I have a requirement where i need to kill one process on remote windows machine. Following command just works fine if i have to kill process on local machine os.system('taskkill /f /im processName.exe') However I am not able to figure out how to execute this command on remote windo