« Back to docs

Starting and stopping VNC Connect

You can operate VNC Connect programs from the graphical desktop in the standard way for Windows applications, or alternatively from the command line.

Note

By default, VNC Server in Service Mode starts automatically when the computer is powered on. You can change this from the Microsoft Services snap-in.

Operating VNC Server at the command line

By default, VNC Server is installed in C:\Program Files\RealVNC\VNC Server.

Note that commands for VNC Server in Service Mode must be run from an Administrator Command Prompt (right-click Start > All Programs > Accessories > Command Prompt and select Run as administrator).

Operation Mode Command
Start VNC Server User vncserver.exe
Service vncserver.exe -start
Connect to Listening VNC Viewer User vncserver.exe -connect <computer>
Service vncserver.exe -service -connect <computer>
Start and connect to Listening VNC Viewer User vncserver.exe -iconnect <computer>
Service invalid operation
Reload license keys and parameters User vncserver.exe -reload
Service vncserver.exe -service -reload
Get help User vncserver.exe -help
Service vncserver.exe -service -help
Stop VNC Server User vncserver.exe -stop
Service vncserver.exe -service -stop

Operating VNC Viewer at the command line

If you download VNC Connect, then VNC Viewer is included and will be installed in C:\Program Files\RealVNC\VNC Viewer by default.

If you download VNC Viewer as a standalone desktop app, then it is not installed and can just be run from the download location.

Operation Type Command
Start VNC Viewer Standalone <download-file>.exe
Installed vncviewer.exe
Start VNC Viewer and establish a direct connection Standalone <download-file>.exe <computer>
Installed vncviewer.exe <computer>
Start Listening VNC Viewer Standalone <download-file>.exe -listen [<port>]
Installed vncviewer.exe -listen [<port>]
Get help Standalone <download-file>.exe -help
Installed vncviewer.exe -help
×