Using RealVNC Connect to control a Windows user's Remote Desktop (RDP) session

Follow

Offline
OfflineLicense.png

By default, RealVNC Server runs in Service Mode which will display the console session of the computer that you connect to. The console session is what you would see if you were physically sitting in front of the remote computer.

When there are active RDP sessions the console session will display a lock screen, which is what you will see when connecting to RealVNC Server in Service Mode.

To connect to an RDP session, you need to run RealVNC Server in User Mode.

User Mode requires a subscription that includes offline licensing

Starting User Mode

To start RealVNC Server in User Mode, run the vncserver.exe application located in C:\Program Files\RealVNC\VNC Server. This will start a User Mode instance for the user that runs it.

Note that running vncserver.exe will open a Command Prompt window - do not close this or the User Mode instance will stop.

To run User Mode without a Command Prompt window, you can use the following command:

start "" "C:\Program Files\RealVNC\VNC Server\vncguihelper.exe" "C:\Program Files\RealVNC\VNC Server\vncserver.exe"

Connecting to User Mode

User Mode will attempt to listen on port 5900 by default but this can be changed in RealVNC Server's Options. If you are running Service Mode on the same computer, you must change the port for User Mode.

To connect to your chosen port, in RealVNC Viewer add ":port" to the end of the connection address, e.g. 192.168.1.10:5910, when connecting.

Starting User Mode automatically when a user logs in

You can automate starting User Mode when a user logs in to their account on the remote computer, by saving the below command as a script (.bat) file and saving it to %appdata%\Microsoft\Windows\Start Menu\Programs\Startup for each user.

start "" "C:\Program Files\RealVNC\VNC Server\vncguihelper.exe" "C:\Program Files\RealVNC\VNC Server\vncserver.exe"

Note: Each User Mode must be assigned a unique port if running multiple User Mode instances concurrently on a single RealVNC Server computer.

Was this article helpful?
4 out of 7 found this helpful

Comments

0 comments

Article is closed for comments.