Page History
...
- Port Range: 1024-65535 - used by the computers running Windows XP, Windows 2000 Professional, and Windows Server 2003.
- Port Range: 49152-65535 - used by computers running Windows Vista, Windows 7 and Windows Server 2008. By default, a fresh Windows Server 2008 installation will have this Dynamic Port Range configured.
...
View the port range
...
To see the port range you can use the following commands:
- NetSh INT IPV4 Show DynamicPort TCP
- NetSh INT IPV4 Show DynamicPort UDP
...
Change the port range
...
To set or change the Dynamic Port Range use the following commands:
...
- Check the Dynamic Port Range using the above commands.
- If the number of ports is less than the given IP range, increase the port range using the above commands.
- Run the scan again.
Other ways to increase the range of ephemeral ports
Windows 2003
Increase the range of ephemeral ports by setting the MaxUserPort TCP/IP parameter to a higher value like 32768 (setting the port range from 1024 to 32768).
...