2 comments on “A One-Liner Quickie

  1. By Bubbagimp February 26, 2008 – 5:29 amIn Vista and XP SP2 you can run “netstat -b” and it will show the process tasociased with the port.In Vista the tricky part is, it requires an elevated command line window. The easiest way to do this I found is to type “cmd” in the search portion of the start menu and hit ctrl-shift-enter to elevate the process. Click continue to confirm the action. You have to do this even if your account is set to Administrator.Have I mentioned I hate Vista?

    • My default for Windows machines is usually ‘netstat -ano` as it also shows the PID associated with the connection.

      But yes, on regular Windows XP, Vista, 7 machines you need to ensure you’re running the cmd prompt as an administrative user. I didn’t know about that ctrl+shift+enter shortcut, thanks for that!

Leave a Reply

Your email address will not be published. Required fields are marked *