Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The value ReservedPorts in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters contains a list of port ranges to reserve so the system won't assign them to programs dynamically.

Will the value be understood if it contains overlapping ranges?

4000-5000
4500-5500
6000-7000

I am trying to add ports to the list of reserved ports during an installation and am wondering whether I can just add my new range or whether I have to expand the existing ranges and see if my range overlaps with one of them and then extend the overlapped range instead of just adding my new range.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Turns out Windows Server 2008 does not support the ReservedPorts registry value:

This issue occurs because Windows Server 2008 and Windows Server 2008 R2 do not support the ReservedPorts registry key.

http://support.microsoft.com/kb/2665809

share|improve this answer
    
Note that the KB article you've referenced links to a hotfix re-adding this functionality and exposing an interface to exclude ports via netsh. –  the-wabbit Jul 30 '12 at 10:30
    
I know. Thanks. –  Andrew J. Brehm Jul 30 '12 at 13:43
add comment

Your Answer

 
discard

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.