Solved

unbind port in Windows 7 after server crash

Posted on 2014-07-18
5
410 Views
Last Modified: 2014-07-21
Hi Experts,
I've tried just about everything to unbind a port - I need to restart the machine after the server fails because when I do a "netstat -ano", I see that the process ID belongs to "system" and there's no way to kill the process with the process ID given on the command line- it doesn't even exist in task manager.  Does anyone know how to make this port available again without restarting?

Thanks a lot,
Mike
0
Comment
Question by:thready
5 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 40204903
Well, how did you end up opening that port?
0
 
LVL 3

Expert Comment

by:Jeremy Tyre
ID: 40204906
I am not sure if this is what you are looking for, but you can stop a process with the below command:

TASKKILL /F /PID processid

Open in new window


That should also open the port up.
0
 
LVL 33

Accepted Solution

by:
sarabande earned 500 total points
ID: 40208594
it doesn't even exist in task manager

it would show-up if you run the task manager as administrator. that can be done from command line using the runas command or by right-click to a desktop link (icon) pointing to taskmgr.exe and choosing to run as administrator.

alternatively you may think of making the service stoppable. you can do that be avoiding infinite waits but only have waits with timeout. in a timeout pause you may check for a stop command given by the user. those commands could be send by various p2p actions such as sockets, events, windows messages, ...

Sara
0
 
LVL 1

Author Closing Comment

by:thready
ID: 40208630
Awesome, thanks Sara!
0
 
LVL 1

Author Comment

by:thready
ID: 40208632
Task kill did not work by the way...  would work if run as admin though.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

816 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

11 Experts available now in Live!

Get 1:1 Help Now