Creating firewall excetption using netsh command
问题 I am trying to use netsh command to create windows firewall exception. The following command gives Syntex Error. Please advise where to make change. Thanks netsh firewall add allowedprogram C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\ sqlservr.exe “SQL Server Windows NT” ENABLE 回答1: If you are on Vista/Win2008 or up do this: all at one line, I added linebreaks here for readability: netsh advfirewall firewall add rule name="SQL Server Windows NT" dir=in action=allow program=