Solved

Delete a TCP/IP connection via command line?

Posted on 2009-04-10
4
695 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
  • 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Samba Question 11 76
How to simulate latency? 5 40
Changing password for HP switch 5 38
How Can i get Two 3-User licenses of Quickbooks to work??? 6 50
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

860 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