This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario:
You have a computer that is running Windows Vista Starter, Windows Vista Home Basic, or Windows Vista Home Premium.
You run any of the following commands to open ports in the firewall:
netsh firewall add portopening
netsh firewall set portopening
netsh firewall set service
However, these commands fail silently. Additionally, you may not receive an error message or a warning that indicates that the port has not been opened.
Note The netsh firewall context is supported only on computers that are running Windows Vista Ultimate, Windows Vista Business, and Windows Vista Enterprise.
This problem occurs because the netsh firewall context does not work on computers that are running Windows Vista Starter, Windows Vista Home Basic, and Windows Vista Home Premium. Any commands that use the netsh firewall context require advanced security permissions to run successfully.
To resolve this problem, use the netsh advfirewall firewall context on a computer that is running Windows Vista Starter, Windows Vista Home Basic, or Windows Vista Home Premium editions. The netsh advfirewall firewall context uses Windows Firewall together with the advanced security features that are available in Windows Vista. Additionally, the netsh advfirewall firewall context offers a richer security feature set than does the netsh firewall context.
For more information about how to use the "netsh advfirewall firewall" context instead of the “netsh firewall” context in Windows Vista, click the following article number to view the article in the Microsoft Knowledge Base:
947709 How to use the "netsh advfirewall firewall" context instead of the "netsh firewall" context to control Windows Firewall behavior in Windows Server 2008 and in Windows Vista
For more information, download the "Introduction to Windows Firewall with Advanced Security" white paper for Windows Vista. To do this, visit the following Microsoft Web site: