For the past few years we have been rolling out VNC using an excellent guide that was posted on here
How To Guide: Deploy VNC via Group Policy
However looking recently we are on quite an old version now and there is a shiny new version out with an MSI package!
Reading this document explains all the various options available
However how do we add these options when deploying via a Group Policy object?
Figured it out :
To remove the old one a batch file with the following
(If you're using 64 bit, stick (x86) onto Program Files)Code:cd c:\program files\tightvnc uninstall.exe /S
Then to install the new MSI file another batch file with the following
(The above switches need to be customized for your environment).Code:msiexec.exe /x "\\adc1\testappsshare\vnc\MSI\tightvnc-2.7.3-setup-32bit.msi" /q msiexec.exe /i "\\adc1\testappsshare\vnc\MSI\tightvnc-2.7.3-setup-32bit.msi" /quiet /norestart ADDLOCAL=Server SET_IPACCESSCONTROL="1" VALUE_OF_IPACCESSCONTROL="10.201.100.108-10.201.255.255:1" SET_RUNCONTROLINTERFACE=0 VALUE_OF_RUNCONTROLINTERFACE=0 SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=password SET_VIEWONLYPASSWORD=1 VALUE_OF_VIEWONLYPASSWORD=password SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1 SET_CONTROLPASSWORD=1 VALUE_OF_CONTROLPASSWORD=password rmdir /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\TightVNC\"
Stick both batch files in a Computer Startup policy (you don't need the first one unless you're currently running an old version of VNC <2.5.2) and sorted.
Bit messy but it works. The advantage of having it do the uninstall and reinstall of the MSI each startup is that you can change the switch options like the password etc and it should get applied to all computers next time they start up.
There are currently 1 users browsing this thread. (0 members and 1 guests)