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 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 
> > windows machine.
> 
> 
> 
> The simplest way is from your local machine. taskkill accepts a /s 
> 
> parameter which can specify a remote machine by IP or name.
> 
> 
> 
> http://technet.microsoft.com/en-us/library/bb491009.aspx



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 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 
> > windows machine.
> 
> 
> 
> The simplest way is from your local machine. taskkill accepts a /s 
> 
> parameter which can specify a remote machine by IP or name.
> 
> 
> 
> http://technet.microsoft.com/en-us/library/bb491009.aspx
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to