Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any built-in tool in Win7/Win Server 2008 to query remote host opening ports?

On Win XP/Win Server 2003, we can use telnet <remote host> <port> to do so. However, telnet is not available Win7/Win Server 2008.

share|improve this question
Is there any reason why you wouldn't want to install telnet on 7/2008? – Bart De Vos Apr 8 '11 at 9:40
@TiZon, if there're tens of Win Server 2008, and keep adding. It would be better to use built-in tools, so the script won't break if new server doesn't have telnet installed. – Stan Apr 8 '11 at 10:25
up vote 1 down vote accepted

I don't know a built-in tool. But 2003 shipped with Prtqry.exe a very handy tool to do just that. Maybe you could include it with the script or put it on a networkshare?

More info on can be found here : KB310099

Or if you have the rights to do it, run a netstat remotely.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.