@echo off echo Avaya IPOffice Firewall Exceptions. echo ----------------------------------- echo. echo. echo This batch file will add the appropriate exceptions into the echo Windows XP SP2 Firewall. If the appropriate application is not echo installed, the exception will not be added. echo This batch file can/must be run any number of times to add echo newly installed applications from the Avaya IPOffice product echo portfolio. echo. echo This batch file is supplied on an 'as is' basis. echo Any additional entries or feedback is greatly appreciated. echo S.Poultney echo. echo. echo **** PLEASE NOTE: echo **** THE AVAYA APPLICATIONS MUST BE INSTALLED BEFORE echo **** RUNNING THIS BATCH FILE! echo **** IF YOU HAVE NOT INSTALLED THE AVAYA APPLICATIONS echo **** TO THE DEFAULT PROGRAM FOLDER, YOU WILL HAVE TO echo **** MANUALLY ADD THE PROGRAM EXCEPTIONS. echo **** echo. echo. pause cls echo Installing Avaya Application Exclusions into Firewall. echo Please Wait..... rem IPOffice Manager set avfwpg="%ProgramFiles%\Avaya\IP Office\Manager\manager.exe" set avfwpn="Avaya IPOffice - Manager" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 50802. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=50802 name="Avaya Port 50802 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 50804. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=50804 name="Avaya Port 50804 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 50812. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=50812 name="Avaya Port 50812 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50798. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50798 name="Avaya Port 50798 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IPOffice Upgrade Wizard set avfwpg="%ProgramFiles%\Avaya\IP Office\Manager\upgradewiz.exe" set avfwpn="Avaya IPOffice - Upgrade Wizard" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50798. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50798 name="Avaya Port 50798 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Call Status set avfwpg="%ProgramFiles%\Avaya\IP Office\CallStatus\callstatus.exe" set avfwpn="Avaya IPOffice - Call Status" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50798. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50798 name="Avaya Port 50798 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Contact Store set avfwpg="%ProgramFiles%\Witness\tomcat5024\bin\tomcat5.exe" set avfwpn="Avaya IPOffice - Contact Store" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8888. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8888 name="Avaya Port 8888 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50791. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50791 name="Avaya Port 50791 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50795. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50795 name="Avaya Port 50795 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. if NOT EXIST %avfwpg% Echo "If you have installed Contact Store on another Drive that is not the default C:\Program Files you may have to manually enter the exceptions." if NOT EXIST %avfwpg% Echo "Please hit enter to continue" pause rem TAPI2 set avfwpg="%ProgramFiles%\Avaya\IP Office\TAPI\tspi2w.tsp" set avfwpn="Avaya IPOffice - TAPI2 Service Provider" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50797. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50797 name="Avaya Port 50797 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Feature Key Server set avfwpg="%ProgramFiles%\Avaya\IP Office\KeyServe\keyserve.exe" set avfwpn="Avaya IPOffice - Feature Key Server" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50800. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50800 name="Avaya Port 50800 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem System Monitor set avfwpg="%ProgramFiles%\Avaya\IP Office\Monitor\sysmonitor.exe" set avfwpn="Avaya IPOffice - Monitor" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50794. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50794 name="Avaya Port 50794 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem WIZARD set avfwpg="%ProgramFiles%\Avaya\IP Office\Wizard\bin\Release\Wizard.exe" set avfwpn="Avaya IPOffice - WIZARD" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50798. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50798 name="Avaya Port 50798 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Voicemail Pro Service set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\VM\vmprov5svc.exe" set avfwpn="Avaya IPOffice - Voicemail Pro Service" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50791. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50791 name="Avaya Port 50791 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50795. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50795 name="Avaya Port 50795 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for ALL Port 50801 ALL. if EXIST %avfwpg% netsh firewall add portopening protocol=ALL port=50801 name="Avaya Port 50801 ALL" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for ALL Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=ALL port=8089 name="Avaya Port 8089 ALL" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Voicemail Lite set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Server\VMLite.exe" set avfwpn="Avaya IPOffice - Voicemail Lite" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50791. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50791 name="Avaya Port 50791 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Voicemail Pro Server set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\VM\vmprov5.exe" set avfwpn="Avaya IPOffice - Voicemail Pro Server" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50791. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50791 name="Avaya Port 50791 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50795. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50795 name="Avaya Port 50795 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for ALL Port 50801 ALL. if EXIST %avfwpg% netsh firewall add portopening protocol=ALL port=50801 name="Avaya Port 50801 ALL" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for ALL Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=ALL port=8089 name="Avaya Port 8089 ALL" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem VPIM Client set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\VPIMClient.exe" set avfwpn="Avaya IPOffice - VPIM Client" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem VMPro VPIM DBSVR set avfwpg="%ProgramFiles%\AVAYA\IP Office\Voicemail Pro\VPIM\vpimdbsvr.exe" set avfwpn="Avaya IPOffice - VMPro VPIM DBSVR" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem VMPro VPIM Receiver set avfwpg="%ProgramFiles%\AVAYA\IP Office\Voicemail Pro\VPIM\VPIMReceiver.exe" set avfwpn="Avaya IPOffice - VMPro VPIM Receiver" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem VMPro VPIM Server set avfwpg="%ProgramFiles%\AVAYA\IP Office\Voicemail Pro\VPIM\VPIMServer3.exe" set avfwpn="Avaya IPOffice - VMPro VPIM Server" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IMS Admin set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\IMS\IMSAdmin.exe" set avfwpn="Avaya IPOffice - IMS Admin" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IMS Service Restart set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\IMS\IMSServiceRestart.exe" set avfwpn="Avaya IPOffice - IMS Service Restart" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IMS Gateway Service set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\IMS\UMServer.exe" set avfwpn="Avaya IPOffice - IMS Gateway Service" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 445. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=445 name="Avaya Port 445 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 593. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=593 name="Avaya Port 593 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 445. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=445 name="Avaya Port 445 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 593. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=593 name="Avaya Port 593 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IMS Voice Service set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\IMS\VMServer.exe" set avfwpn="Avaya IPOffice - IMS Voice Service" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IMS Security set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\VM\IMSSec.exe" set avfwpn="Avaya IPOffice - IMS Security" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem VMPro Database set avfwpg="%ProgramFiles%\Avaya\IP Office\Voicemail Pro\VM\VMPDBSvc.exe" set avfwpn="Avaya IPOffice - VMPro Database" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Phone Manager set avfwpg="%ProgramFiles%\Avaya\IP Office\Phone Manager\PhoneManager.exe" set avfwpn="Avaya IPOffice - Phone Manager" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50796. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50796 name="Avaya Port 50796 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50799. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50799 name="Avaya Port 50799 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Phone Manager VOIP Server set avfwpg="%ProgramFiles%\Avaya\IP Office\Phone Manager\iClaritySvr.exe" set avfwpn="Avaya IPOffice - Phone Manager VOIP Server" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 1719. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=1719 name="Avaya Port 1719 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 1720. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=1720 name="Avaya Port 1720 TCP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem MMM Client set avfwpg="%ProgramFiles%\Avaya\Interaction Manager\iContact\icontact.exe" set avfwpn="Avaya IPOffice - MMM Client" if EXIST %avfwpg% echo Adding firewall exceptions for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem IMS Client for Outlook set avfwpg="%ProgramFiles%\Avaya\IMS Client\UMSForm.exe" set avfwpn="Avaya IPOffice - IMS Client for Outlook" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 445. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=445 name="Avaya Port 445 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 593. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=593 name="Avaya Port 593 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 445. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=445 name="Avaya Port 445 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 593. if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Microsoft Office 2003 set avfwpg="%ProgramFiles%\Microsoft Office\OFFICE11\OUTLOOK.EXE" set avfwpn="Microsoft Office 2003" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Microsoft Office 2002 set avfwpg="%ProgramFiles%\Microsoft Office\OFFICE10\OUTLOOK.EXE" set avfwpn="Microsoft Office 2002" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Microsoft Office 2000 set avfwpg="%ProgramFiles%\Microsoft Office\OFFICE\OUTLOOK.EXE" set avfwpn="Microsoft Office 2000" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem SoftConsole set avfwpg="%ProgramFiles%\Avaya\IP Office\SoftConsole\SoftConsole.exe" set avfwpn="Avaya IPOffice - SoftConsole" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50799. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50799 name="Avaya Port 50799 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50796. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50796 name="Avaya Port 50796 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Conference Center set avfwpg="%ProgramFiles%\AVAYA\IP Office\ECSConference\ConferenceService.exe" set avfwpn="Avaya IPOffice - Conference Center" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for ALL Port 50801 ALL. if EXIST %avfwpg% netsh firewall add portopening protocol=ALL port=50801 name="Avaya Port 50801 ALL" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for ALL Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=ALL port=8089 name="Avaya Port 8089 ALL" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50791. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50791 name="Avaya Port 50791 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50795. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50795 name="Avaya Port 50795 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Delta Server V4 set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DeltaServer\DeltaServer.exe" set avfwpn="Avaya IPOffice - Delta Server V4" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50800. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50800 name="Avaya Port 50800 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Archiver set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\Archiver\ArchiverSQL.exe" set avfwpn="Avaya IPOffice - Archiver" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8081. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8081 name="Avaya Port 8081 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8082. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8082 name="Avaya Port 8082 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8083. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8083 name="Avaya Port 8083 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8084. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8084 name="Avaya Port 8084 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8085. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8085 name="Avaya Port 8085 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8086. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8086 name="Avaya Port 8086 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8087. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8087 name="Avaya Port 8087 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8088. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8088 name="Avaya Port 8088 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8089 name="Avaya Port 8089 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8081. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8081 name="Avaya Port 8081 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8082. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8082 name="Avaya Port 8082 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8083. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8083 name="Avaya Port 8083 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8084. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8084 name="Avaya Port 8084 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8085. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8085 name="Avaya Port 8085 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8086. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8086 name="Avaya Port 8086 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8087. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8087 name="Avaya Port 8087 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8088. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8088 name="Avaya Port 8088 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8089 name="Avaya Port 8089 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem CCV set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\CallCentreView\CallCentreView.exe" set avfwpn="Avaya IPOffice - CCV" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem CBC set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\CBC\CBC.exe" set avfwpn="Avaya IPOffice - CBC" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem CCC Alarm Reporter set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\CCVAlarmReporter\CCVAlarmReporter.exe" set avfwpn="Avaya IPOffice - CCC Alarm Reporter" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Wallboard DBMGR set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DBMgr\DBMgr.exe" set avfwpn="Avaya IPOffice - Wallboard DBMGR" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Delta Server PWA set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DeltaServer\DeltaServerHTTPPasswordAssistant.exe" set avfwpn="Avaya IPOffice - Delta Server PWA" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem SMDR CR set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DeltaServer\SMDRClientResponse.exe" set avfwpn="Avaya IPOffice - SMDR CR" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem SMDR SR set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DeltaServer\SMDRServerResponse.exe" set avfwpn="Avaya IPOffice - SMDR SR" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem PC Wallboard set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\PCWallboard\PCWallboard.exe" set avfwpn="Avaya IPOffice - PC Wallboard" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 2127. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=2127 name="Avaya Port 2127 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 2127. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=2127 name="Avaya Port 2127 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem CCC Reporter Admin set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\Reporting\Admin.exe" set avfwpn="Avaya IPOffice - CCC Reporter Admin" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50800. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50800 name="Avaya Port 50800 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8081. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8081 name="Avaya Port 8081 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8082. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8082 name="Avaya Port 8082 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8083. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8083 name="Avaya Port 8083 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8084. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8084 name="Avaya Port 8084 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8085. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8085 name="Avaya Port 8085 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8086. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8086 name="Avaya Port 8086 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8087. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8087 name="Avaya Port 8087 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8088. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8088 name="Avaya Port 8088 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8089 name="Avaya Port 8089 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8081. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8081 name="Avaya Port 8081 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8082. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8082 name="Avaya Port 8082 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8083. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8083 name="Avaya Port 8083 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8084. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8084 name="Avaya Port 8084 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8085. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8085 name="Avaya Port 8085 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8086. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8086 name="Avaya Port 8086 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8087. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8087 name="Avaya Port 8087 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8088. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8088 name="Avaya Port 8088 UDP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 8089. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=8089 name="Avaya Port 8089 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem CCC Reporter set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\Reporting\bin\CCCReporter.exe" set avfwpn="Avaya IPOffice - CCC Reporter" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem CCC User Access set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\User Access\CCCUserAccess.exe" set avfwpn="Avaya IPOffice - CCC User Access" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Wallboard Server set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\WBServer\WbServer32.exe" set avfwpn="Avaya IPOffice - Wallboard Server" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 2127. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=2127 name="Avaya Port 2127 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 2127. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=2127 name="Avaya Port 2127 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Delta Server Service V5 set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DeltaServer\DeltaServerService.exe" set avfwpn="Avaya IPOffice - Delta Server Service V5" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for TCP Port 8080. if EXIST %avfwpg% netsh firewall add portopening protocol=TCP port=8080 name="Avaya Port 8080 TCP" mode=ENABLE scope=ALL profile=ALL if EXIST %avfwpg% echo Adding firewall exception for UDP Port 50800. if EXIST %avfwpg% netsh firewall add portopening protocol=UDP port=50800 name="Avaya Port 50800 UDP" mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. rem Delta Server Service Management Assistant V5 set avfwpg="%ProgramFiles%\Avaya\IP Office\CCC\DeltaServer\DeltaServerManagementAssistant.exe" set avfwpn="Avaya IPOffice - Delta Server Service Management Assistant V5" if EXIST %avfwpg% echo Adding firewall exception for %avfwpn%. if EXIST %avfwpg% netsh firewall add allowedprogram program=%avfwpg% name=%avfwpn% mode=ENABLE scope=ALL profile=ALL if NOT EXIST %avfwpg% Echo The application (%avfwpn%) is not installed. if NOT EXIST %avfwpg% Echo. echo Adding firewall exception for UDP Port 67. netsh firewall add portopening protocol=UDP port=67 name="Avaya Port 67 UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for UDP Port 69. netsh firewall add portopening protocol=UDP port=69 name="Avaya Port 69 UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for TCP Port 135. netsh firewall add portopening protocol=TCP port=135 name="Avaya Port 135 TCP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for TCP Port 2000. netsh firewall add portopening protocol=TCP port=2000 name="Avaya Port 2000 TCP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for UDP Port 137. netsh firewall add portopening protocol=UDP port=137 name="NETBIOS Name Service UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for UDP Port 138. netsh firewall add portopening protocol=UDP port=138 name="NETBIOS Datagram Service UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for TCP Port 139. netsh firewall add portopening protocol=TCP port=139 name="NETBIOS Session Service TCP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for UDP Port 50793. netsh firewall add portopening protocol=UDP port=50793 name="Avaya Port 50793 UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for TCP Port 50808. netsh firewall add portopening protocol=TCP port=50808 name="Avaya Port 50808 TCP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception IPOffice Ping. netsh firewall add portopening protocol=UDP port=37 name="Windows Time Port 37 UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for UDP Port 123 - Network Time netsh firewall set icmpsetting type=3 mode=ENABLE profile=ALL echo Adding firewall exception for IPOCCR SQL Access UDP Port 1433 netsh firewall add portopening protocol=TCP port=1433 name="Avaya Port 1433 UDP" mode=ENABLE scope=ALL profile=ALL echo Adding firewall exception for IPOCCCR SQL Access TCP Port 1434. netsh firewall add portopening protocol=UDP port=1434 name="Avaya Port 1434 TCP" mode=ENABLE scope=ALL profile=ALL set avfwpg= set avfwpn= pause