SwitchHunt / catalog
TightVNC - Silent Install Switch
The hand-curated silent install command for TightVNC on Windows, plus its silent uninstall command - for unattended, quiet, fleet-wide deploys. Copy, paste, ship - smoke-test in a throwaway VM first.
Silent install command
msiexec /i "installer.msi" /qn /norestart SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=ChangeMe1 Silent uninstall command
msiexec /x "installer.msi" /qn /norestart Replace installer.msi with the actual installer filename (or its full path).
Notes & gotchas
The full install puts a VNC server on the machine, so set the password properties in the same command (the lab run did) or install only the viewer with ADDLOCAL=Viewer. VNC passwords are capped at 8 characters, so also limit port 5900 to admin networks.
Install options
Add any of these to the install command. Values shown are the useful setting; "..." means you supply your own.
| Option | What it does |
|---|---|
VALUE_OF_PASSWORD="..." | The VNC password (up to 8 characters). Needs SET_PASSWORD=1 alongside it. |
ADDLOCAL=Viewer | Install only the viewer, with no server on the machine. |
VALUE_OF_IPACCESSCONTROL=10.0.0.0-10.255.255.255:0,0.0.0.0-255.255.255.255:1 | Allow only your range, deny the rest (rules "IP1-IP2:0|1|2" = allow/deny/ask). Needs SET_IPACCESSCONTROL=1. |
VALUE_OF_VIEWONLYPASSWORD="..." | A separate view-only password. Needs SET_VIEWONLYPASSWORD=1. |
VALUE_OF_CONTROLPASSWORD="..." | Password for the server's settings. Needs SET_CONTROLPASSWORD=1 and SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1. |
SERVER_ADD_FIREWALL_EXCEPTION=0 | Do not open the Windows Firewall for the server (default adds a rule). |
Lab-tested
On 2026-10-19 we ran the install command above as SYSTEM (how deployment tools run it) on a Windows 11 VM against TightVNC 2.8.89, and confirmed the app showed up in Add/Remove Programs - not just that the installer exited 0. The uninstall command above then removed it. Vendors change installers between versions, so smoke-test a new one before you ship it fleet-wide.
FAQ
What is the silent install command for TightVNC?
Run: msiexec /i "installer.msi" /qn /norestart SET_USEVNCAUTHENTICATION=1 VALUE_OF_USEVNCAUTHENTICATION=1 SET_PASSWORD=1 VALUE_OF_PASSWORD=ChangeMe1
How do I silently uninstall TightVNC?
Run: msiexec /x "installer.msi" /qn /norestart
Any gotchas installing TightVNC unattended?
The full install puts a VNC server on the machine, so set the password properties in the same command (the lab run did) or install only the viewer with ADDLOCAL=Viewer. VNC passwords are capped at 8 characters, so also limit port 5900 to admin networks.
What install options does the TightVNC installer take?
VALUE_OF_PASSWORD: The VNC password (up to 8 characters). Needs SET_PASSWORD=1 alongside it. ADDLOCAL=Viewer: Install only the viewer, with no server on the machine. VALUE_OF_IPACCESSCONTROL=10.0.0.0-10.255.255.255:0,0.0.0.0-255.255.255.255:1: Allow only your range, deny the rest (rules "IP1-IP2:0|1|2" = allow/deny/ask). Needs SET_IPACCESSCONTROL=1. VALUE_OF_VIEWONLYPASSWORD: A separate view-only password. Needs SET_VIEWONLYPASSWORD=1. VALUE_OF_CONTROLPASSWORD: Password for the server's settings. Needs SET_CONTROLPASSWORD=1 and SET_USECONTROLAUTHENTICATION=1 VALUE_OF_USECONTROLAUTHENTICATION=1. SERVER_ADD_FIREWALL_EXCEPTION=0: Do not open the Windows Firewall for the server (default adds a rule).
Got a different installer, or one that isn't in this list? Drop it into SwitchHunt and it reads the silent switches right in your browser, nothing uploaded.