LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 12-04-2004, 06:31 AM   #1
rabeea
Member
 
Registered: Aug 2004
Location: Pakistan
Posts: 52

Rep: Reputation: 15
kill a specific session in windows


hi all,

i have notced s unauthorized access of my PC while running netstat -a, i noticed some session created on port like 4840 etc..
At that moment i tried killing that session but didnt know how to do it using command prompt.
Hope u ppl can help me doing that for windows2000 professional.

thnx
Rabeea
 
Old 12-04-2004, 07:50 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Have you installed any firewall like ZoneAlarm? If you haven't I suggest that you install one now or update it to the latest version.
 
Old 12-04-2004, 01:18 PM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Get a router, and configure the hardware NAT/Firewall
 
Old 12-06-2004, 12:25 AM   #4
rabeea
Member
 
Registered: Aug 2004
Location: Pakistan
Posts: 52

Original Poster
Rep: Reputation: 15
hi,

this mean there is no such command in command prompt that helps to kill a session........
it really disappointed me

thnx
Rabeea
 
Old 12-06-2004, 01:06 AM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Not that I'm aware of...
 
Old 12-07-2004, 11:49 AM   #6
phishtrader
LQ Newbie
 
Registered: Oct 2004
Location: Techsupporthell, WI
Distribution: Ubuntu Feisty Fawn, CentOS 4
Posts: 6

Rep: Reputation: 0
Unplug the network cable.

But seriously, install some sort of firewall. Even if you were to close such a connection, there is nothing to prevent the connection from being immediately reopened.

Another tack is to shutdown everything on your box and then run through the list of running processes and try to account for each of them.

Also, using "netstat -o" will give you PID info on each connection and then use tasklist (not absolutely sure it's available on Win2k, it is on WinXP) to display running programs and their PIDs, and then taskkill to shutdown a process. If you box blows up you'll know it was something that you should have left running.
 
Old 12-07-2004, 03:30 PM   #7
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
is it an IBM computer that had the problem?
 
Old 12-14-2004, 07:27 AM   #8
rabeea
Member
 
Registered: Aug 2004
Location: Pakistan
Posts: 52

Original Poster
Rep: Reputation: 15
Hi,

yeah it is an IBM PC and i wanna kill a particular session using command prompt.

Hope u ppl will help
 
Old 12-15-2004, 04:10 PM   #9
japetto
Member
 
Registered: Dec 2004
Posts: 61

Rep: Reputation: 15
actually, there is a command that comes with the resouce kit (cd) for win2k called kill. it works just like its unix counterpart. here's a link i googled. i would also suggest a software firewall, such as sygate. that would be most effective - long term wise.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill specific Wine program from Command Line Brian114 Linux - Software 4 06-07-2011 05:02 AM
How can I kill a user session? vous Linux - Security 3 03-20-2005 02:02 PM
How to kill a session in "pts/0" idle for 209d? (Redhat-9) francio Linux - Newbie 2 07-28-2004 06:54 PM
View a specific tty session using SSH? intermod Linux - General 2 02-03-2004 02:16 PM
How To Kill Gnome Session? doctorcisco Linux - Newbie 7 11-24-2003 03:29 PM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration