Is there any way to kill RPC connections ?

How do i programmatically kill RPC connections to particular port on a machine ?, I mean all the connections, all the users should be kiled.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Steve_SummConnect With a Mentor Commented:
net use * /d at a command prompt, and then press ENTER.

This will kill all connections.

For more information on troubleshooting RPC

Bill BachPresidentCommented:
Where are you running this from?  From the host machine?  From the client machine?  From a third machine intercepting the network packets?

What ports are you attempting to kill off?  Why?  Need a lot more information before an intelligent answer can be created.
handle -a |grep Device
handle by Mark Russinovich, grep from UnixTools
All Courses

From novice to tech pro — start learning today.