Solved

Delete a TCP/IP connection via command line?

Posted on 2009-04-10
4
696 Views
Last Modified: 2016-10-27
I have several TCP/IP connections from a Windows 2003 backup server to a server to be backed up that are related to the backup program Acronis. Acronis claims it cannot see the server in question and I think it might have something to do with all of these connections that are already showing to be open. I can see them with netstat, but I don't know how to close them without restarting the interface. How can I close them on the command line without affecting the other connections?
0
Comment
Question by:numb3rs1x
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 24118287
Use (free) tcpvcon from www.sysinternals.com to kill TCP sessions from cmdline
0
 

Author Comment

by:numb3rs1x
ID: 24118500
Any way to do this without using third party tools?
0
 
LVL 9

Expert Comment

by:dlb6597
ID: 24119536
try:

net session \\your-ip-address /delete  

or

net use \\your-ip-address /delete

or open server management on the client and kill any sessions originating from your backup server.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 24121304
For the TCP connection, there is no integrated tool to kill the session.
If it is a NetBIOS session, you can use net use or net session as  in dlb6597's post.

0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question