Thomasz,

I went through the same question the other day and came up with the following solution.

I wrote a script in AutoIt containing the following registry changes:
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default", "Password", "REG_BINARY", "<password in hex>")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default", "PasswordViewOnly", "REG_BINARY", "<password in hex>")


To get the REG_BINARY password from the registry, install it on a clean PC, set the password when you start the service, extract the encoded VNC password from the HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default\Password entry, remove the spaces from the password when you put it in the AutoIt script and your there!

I compiled this to an AutoIt executable file so I could execute it later.

I modified the tightvnc.bat file in the install\scripts directory to read
todo.pl "%Z%\packages\tightreg.exe"
todo.pl "%Z%\packages\tightvnc-1.2.9-setup.exe /silent" "\"%ProgramFiles%\TightVNC\WinVNC.exe\" -install" "startup-type.pl automatic winvnc"


This will set the VNC Server service to start automatically when Windows boots. I figured since the last process is to bounce the machine it wouldn't be a problem :)

Hope this helps.

Cheers,

Brad


Tomasz Chmielewski wrote:

Hello,

I would like to install TightVNC using Unattended, so that after it is installed, I can log on to the machine remotely using password I specified (with Unattended).

Is it possible?

So far it was possible for me to only install TightVNC, then I have to configure everything (set password, start as a service) by hand.


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




-------------------------------------------------------
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