Wednesday, April 6, 2016

Remote Desktop over the Internet using UltraVNC on Windows

Here is a HowTo for setting up a UltraVNC server on your computer, automatically open needed ports, and creating a configured UltraVNC single-click client to let you see someones desktop where all they have to do is start the client you send to them. No installations!
(A great alternative is TeamViewer which is free for personal use, but expensive for commercial use)

Here is how:

- Download UltraVNC and install:
See bottom of:

- Download UltraVNC SingleClick package from:

- Extract helpdesk.txt file.

- Edit to look like you want to.
Example helpdesk.txt:

UltraVnc SC

My RDC connection
-connect -noregistry

Double click to open connection






UltraVNC web



Establishing connection ...

5 min connection attempt

If it fails, the software will close.


Connection active.

Warning, your desktop is visible remotely

You can break the connection any time

by using the close button

(remember to replace with your external IP, e.g. from

- Create a ZIP file with only helpdesk.txt in it.

- Go to:

- Enter user: foo
- Enter password: foobar
- Select Zip file containing helpdesk.txt
- Click Upload
- Wait until you a link to download exe file appears. Then download the exe file.
- Start it to see what it looks like.

- Download UPnP PortMapper to open the needed port on your computer (if you havent done so manually on your router).

- Open PortMapper jar file (should need only double-click if you have Java installed).
- Under the section "Port Mapping presets", select Create button.
- Enter a description, e.g. UltraVNC.
- Then click Add button.
- Change port 1 to 5900 in both External Port and Internal Port columns.
- Not sure if you also need UDP port open, but might be useful so click Add again and select UDP with port 5900 internal and external.
- Click save.

- Click connect to connect to your router.
When successfully connected (you might get an error, but stuff seems to work regardless).
- Select your UltraVNC entry in the list and press "Use".
- Wait for ports to show up in the list above.

Now you have ports open. You need to start VNC listener:
- Open command line prompt (cmd in windows start menu) and navigate to where you installed UltraVNC and run it with flag -listen 5900 to tell it to listen on port 5900:

cd "C:\Program Files\uvnc bvba\UltraVnc"
vncviewer.exe -listen 5900

- Finally, send the exe file you generated from helpdesk.txt (not the zip file) to the person you want to connect to. Get the person to open the file and double click on the top option and you should get a message on your computer asking you to accept the connection.


1 comment: