Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
SQL
Hi,
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



XML
netsh firewall add allowedprogram C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\ sqlservr.exe "SQL Server Windows NT" ENABLE
Posted

1 solution

It depend on your windows version. The syntax was changed from Vista on.
Check here: http://support.microsoft.com/kb/947709[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900