Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

For the past few years we have been rolling out VNC using an excellent guide that was posted on here

 

http://www.edugeek.net/forums/network-classroom-management/74441-how-guide-deploy-vnc-via-group-policy.html

 

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

 

http://www.tightvnc.com/doc/win/TightVNC-installer-2.5.2.pdf

 

However how do we add these options when deploying via a Group Policy object?

Posted

Figured it out :

 

To remove the old one a batch file with the following

 

cd c:\program files\tightvnc
uninstall.exe /S

 

(If you're using 64 bit, stick (x86) onto Program Files)

 

Then to install the new MSI file another batch file with the following

 

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

 

(The above switches need to be customized for your environment).

 

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...