How to associate open ports with a PID

Hi,

On Windows 2000 server where the '-o' option for netstat is not available, is there a command or tool that will allow me to associate an open port with a process. I'm in the midst of a security review, and need to close all ports that I don't need that are not being used by the OS. So I need to be able to find out what process is using the open port. On wK3, I can use netstat -ao, but that isn't valid on 2K.

Any help will be greatly appreciated.

Thanks,
Jeff
jpetterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aissimCommented:
I would check out PortQry from microsoft; it should give you all the info you need (and some):
http://www.microsoft.com/downloads/details.aspx?familyid=89811747-C74B-4638-A2D5-AC828BDC6983&displaylang=en
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jpetterAuthor Commented:
Thanks aissim....I'll give it a try and see what I get.

Thanks,
Jeff
0
aissimCommented:
p.s. You'll definitely want to port the info into a text file as the results are a bit more extensive than netstat.

good luck with the security review!
0
jpetterAuthor Commented:
aissim,

Thanks, that gave me what I was looking for.

Jeff
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.