Microsoft KB Archive/884908

= 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 =

Article ID: 884908

Article Last Modified on 11/15/2004

-

APPLIES TO


 * Microsoft Windows XP Service Pack 2
 * Microsoft Windows XP Service Pack 2
 * Microsoft Windows XP Service Pack 2
 * 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= name= interface=”i ”

When you use this command, the Netsh.exe tool will return the message &quot;OK.&quot; 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= interface=&quot; &quot;

netsh firewall add portopening protocol=[TCP|UDP] port= name=  interface=&quot; &quot;



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

Additional query words: WinXPSP2 XPSP2

Keywords: kbtshoot kbfirewall KB884908

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.