Solved

Delete a TCP/IP connection via command line?

Posted on 2009-04-10
4
692 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 68

Accepted Solution

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

Author Comment

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

Expert Comment

by:dlb6597
Comment Utility
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 68

Expert Comment

by:Qlemo
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now