How do I connect to and control a Windows user's Remote Desktop (RDP) session?

Follow

By default, VNC 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 sat in front of the computer running VNC Server.

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

To connect to an RDP session, you need to run VNC Server in User Mode. To start VNC 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, run the following command:

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

User Mode will attempt to listen on port 5900 by default. This can be changed in VNC Server's Options. If you are running Service Mode already, you must change the port for User Mode. You can connect to a different port in VNC Viewer by adding ":port" to the end of the connection address, e.g. 192.168.1.10:5910

You can automate User Mode starting when a user logs in to their account, by saving the previous command as a script (.bat) file and saving it to

%appdata%\Microsoft\Windows\Start Menu\Programs\Startup

for each user. Note each user must have a unique port if running multiple User Mode instances concurrently.

Was this article helpful?
1 out of 2 found this helpful

Comments

0 comments

Please sign in to leave a comment.