Click here to Skip to main content
11,806,026 members (68,927 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: SQL-Server
I am using following command line statement to install SQL server.

start /wait E:\UnInstall\SQLSERVER\SQLEXPR32And64.EXE /qb username="EZITek" companyname="Ezitek Soft" addlocal=ALL disablenetworkprotocols="2" instancename="CBEServer" SECURITYMODE="SQL" SAPWD="cbeserver123"

I want to add something so that setup also creates Firewall exception for SQL server.
Can there be any possibility?

Posted 13-Feb-13 3:58am
Edited 13-Feb-13 4:00am
Mike Meinz at 13-Feb-13 15:51pm
That would be specific to the type of firewall. There are so many types of hardware firewalls & software firewalls from many vendors. If you know the type of firewall, you'll have to read the documentation to determine how to do what you want.

That said, why open up the firewall for SQL Server? Doing that exposes a critical resource to outside interference.

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

  Print Answers RSS
0 OriginalGriff 300
1 Richard Deeming 225
2 Sergey Alexandrovich Kryukov 170
3 ppolymorphe 125
4 Abhinav S 118
0 OriginalGriff 3,300
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 13 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100