You cannot change the name of a port by using the Netsh.exe tool in Windows XP Service Pack 2 or in Windows XP Tablet PC Edition 2005 (884908)



The information in this article applies to:

  • Microsoft Windows XP Professional Service Pack 2 (SP2)
  • Microsoft Windows XP Media Center Edition Service Pack 2 (SP2)
  • Microsoft Windows XP Home Edition Service Pack 2 (SP2)
  • Microsoft Windows XP Tablet PC Edition 2005

SYMPTOMS

After you update to Microsoft Windows XP Service Pack 2 (SP2) or to Microsoft Windows XP Tablet PC 2005, you cannot change the name of an excepted TCP or User Datagram Protocol (UDP) port in an interface by using the Netsh.exe tool and the following Netsh command:

netsh firewall set portopening protocol=[TCP|UDP] port=value name=new_port_name interface="interface_name"

When you use this command, the Netsh.exe tool will return the message "OK." However, if you type Netsh firewall show port, the port name will remain unchanged.

Note The Windows XP SP2 features and components are included in Windows XP Tablet PC Edition 2005.

CAUSE

This behavior is by design.

WORKAROUND

To work around this behavior, first delete the port, and then add the port back to the interface with the new port name. Use the following Netsh commands:

netsh firewall delete portopening protocol=[TCP|UDP] port=value interface="nterface_name"

netsh firewall add portopening protocol=[TCP|UDP] port=value name=new_port_name interface="nterface_name"

MORE INFORMATION

For additional information about using the Netsh.exe tool, click the following article number to view the article in the Microsoft Knowledge Base:

875357 Troubleshooting Windows Firewall settings in Windows XP Service Pack 2


Modification Type:MajorLast Reviewed:11/15/2004
Keywords:kbtshoot kbFirewall KB884908 kbAudITPRO kbAudEndUser