rubab Posted April 9, 2009 Share Posted April 9, 2009 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? Link to comment Share on other sites More sharing options...
mc134 Posted April 12, 2009 Share Posted April 12, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now