April 9, 200917 yr Hi,I just made a XP SP3 Media Center ISO and i added a program which allows file transfer between PC's in a LAN network.This program starts with windows and i want it to be like that. But the problem is after installation is finished Windows Firewall shows a message something like this the first time windows shows desktop:Windows Firewall:LANshare.exe is trying to receive a connection.What do you want to do?Block Unblock Ask me laterIt looks kind of scary after the first reboot. Is there any way i can add an exception during Unattended installation so that firewall doesn't show this scary message after the First boot?
April 12, 200917 yr Add something like this to a batch file which is called from your WINNT.SIFWINNT.SIF[GuiRunOnce] Command0=%SystemDrive%\install.cmdinstall.cmdECHO Configuring Windows FirewallECHO Please Wait...netsh.exe firewall set service fileandprint enable allnetsh.exe firewall set service remotedesktop enable allnetsh.exe firewall set service remoteadmin enable allnetsh.exe firewall set allowedprogram "%ProgramFiles%\Netmeeting\Conf.exe" "Netmeeting" Enable allnetsh.exe firewall set allowedprogram "%ProgramFiles%\Windows Media Player\wmplayer.exe" "Windows Media Player 11" Enable allECHO.Of course you will have to change it to point to the correct program.Enjoy.
Create an account or sign in to comment