It is quite difficult situation when you want to open a port range in the Windows Firewall as the firewall GUI not allows you to open a range of ports easily.
You can overcome this situation and open the port range using the following command :
Note :
Minimum_Port = The starting port number in the range that you would like to open.
Maximum_Port = The last port number in the range that you would like to open.
Increment = This should be 1
PROTOCOL = Either TCP or UDP
Name Of Rule = Name of the rule
You can overcome this situation and open the port range using the following command :
FOR /L %I IN (Minimum_Port,increment,Maximum_Port) DO netsh firewall add portopening PROTOCOL %I "Name Of Rule"%I
Minimum_Port = The starting port number in the range that you would like to open.
Maximum_Port = The last port number in the range that you would like to open.
Increment = This should be 1
PROTOCOL = Either TCP or UDP
Name Of Rule = Name of the rule
Comment