OK, this is the final setting I use - I thought it might be useful if someone looks for Unattended setup of TightVNC, as it's easy to do as well:

This is my tightvnc.bat:

todo.pl "%Z%\bin\AutoIt3.exe %Z%\packages\tightvnc\tightvnc.au3"
todo.pl "%Z%\packages\tightvnc\tightvnc-1.2.9-setup.exe /silent" "\"%ProgramFiles%\TightVNC\WinVNC.exe\" -install" "startup-type.pl automatic winvnc"


first line installs registry entries, second one installs TightVNC.



This is tightvnc.au3 (5 lines) - setting registry entries:


RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default", "Password", "REG_BINARY", "FFFFFFFFFFFFFFFF")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default", "PasswordViewOnly", "REG_BINARY", "FFFFFFFFFFFFFFFF")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3", "DisableTrayIcon", "REG_DWORD", "1")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3", "AllowProperties", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3", "AllowShutdown", "REG_DWORD", "0")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3", "AllowEditClients", "REG_DWORD", "0")



First two lines are encrypted password: install TightVNC on a clean machine, set a password, and then copy this value.


3rd line disables tray icon.

4th line disallows editing properties by users.

5th line disallows killing TightVNC.

Last line prevents users from disconnecting clients.


You need to install AutoIt3 to your Z:\bin


Tomek


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to