When I Wrote this code
Process p=process.getAllprocessbyName(processName,machineName);
p.Kill();
I Got an error
could not connect to remote computer .........
although i have all Permision
When I Wrote this code
Process p=process.getAllprocessbyName(processName,machineName);
p.Kill();
I Got an error
could not connect to remote computer .........
although i have all Permision
Kill Process Remotly
Mick Badran - MVP
I am fairly sure this is a duplicate post from another forum ... but the answer is that you can do this through WMI with the proper privs .. http://www.codeproject.com/csharp/WMI.asp includes an example of how to do this.
Cheers,
Greg
Andy65
If you are trying to terminate a process running on a remote computer, It is not possible to do so.
You can call Kill only for processes that are running on the local computer. You cannot cause processes on remote computers to exit. You can only view information for processes running on remote computers.