Just another WebvIsion weblog

TightVNC

Script: install TighVnc

echo Installing TightVNC

@echo Check if Program Is Installed
if exist “C:\Program Files (x86)\TightVNC” goto :eof ELSE
if exist “C:\Program Files\TightVNC” goto :eof ELSE

@echo Installing
msiexec /i “\\your-smb\tightvnc-2.8.8-gpl-setup-64bit.msi” /quiet /norestart ADDLOCAL=”Server” VIEWER_ASSOCIATE_VNC_EXTENSION=1 SERVER_REGISTER_AS_SERVICE=1 SERVER_ADD_FIREWALL_EXCEPTION=1 VIEWER_ADD_FIREWALL_EXCEPTION=1 SERVER_ALLOW_SAS=1 SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=”272612″ SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=0 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=“Your-Password” SET_VIEWONLYPASSWORD=1 VALUE_OF_VIEWONLYPASSWORD=“Your-Password”
net stop “TightVNC Server”
net start “TightVNC Server”