Eric J. Feldhusen wrote:
> Is there an automatic way to shut off or better, provide for exceptions 
> to the Windows Firewall?  For example, I want to install UltraVNC 
> silently, but after install I can't reach it because the Windows 
> firewall doesn't have an exception for it until I sit down at the machine.
> 
> Any suggestions?

Hi Eric,

this is my script for TightVNC:
:: OPTIONAL: Install TightVNC 1.3dev7
@Echo off
todo.pl ".reboot"
todo.pl "%Z%\packages\tightvnc\tightvnc-1.3dev7-setup.exe /silent" 
"\"%ProgramFiles%\TightVNC-unstable\WinVNC.exe\" -reinstall" 
"startup-type.pl automatic winvnc"
start /wait regedit /s %Z%\packages\tightvnc\tightvnc.reg
todo.pl ".ignore-err 1 netsh firewall set portopening TCP 5900 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening UDP 5900 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening TCP 137 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening UDP 137 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening TCP 138 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening UDP 138 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening TCP 139 ENABLE"
todo.pl ".ignore-err 1 netsh firewall set portopening UDP 139 ENABLE"


tightvnc.reg (contains encrypted pwd) file:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]
"Password"=hex:47,ae,53,65,29,c3,15,48
"PasswordViewOnly"=hex:47,ae,53,65,29,c3,15,48



HTH
Gerhard


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to