Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Problems using saved connection info

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
d4mich4
Posts: 2
Joined: 2022-08-24 09:56

Problems using saved connection info

Post by d4mich4 »

Hello,

i have UltraVNC Viewer - 1.2.4.0 when i try to start a saved connection from the "save connection info as" option i get a info/fault window with the following message.

Image

How can i change this i am not sure where i would find infos regarding to this in the documentation?

Thank you,

Michael
Last edited by d4mich4 on 2022-08-24 11:08, edited 1 time in total.
d4mich4
Posts: 2
Joined: 2022-08-24 09:56

Re: Problems using saved connection info

Post by d4mich4 »

The config from the saved connection looks like this:

Code: Select all

[connection]
host=172.27.117.110
port=5900
proxyhost=
proxyport=-1
password=password
[options]
use_encoding_0=1
use_encoding_1=1
use_encoding_2=1
use_encoding_3=0
use_encoding_4=1
use_encoding_5=1
use_encoding_6=1
use_encoding_7=1
use_encoding_8=1
use_encoding_9=1
use_encoding_10=1
use_encoding_11=0
use_encoding_12=0
use_encoding_13=0
use_encoding_14=0
use_encoding_15=0
use_encoding_16=1
use_encoding_17=1
preferred_encoding=10
restricted=0
viewonly=0
nostatus=0
nohotkeys=0
showtoolbar=1
AutoScaling=0
fullscreen=0
directx=1
autoDetect=0
8bit=0
shared=1
swapmouse=0
belldeiconify=0
emulate3=1
JapKeyboard=0
emulate3timeout=100
emulate3fuzz=4
disableclipboard=0
localcursor=1
Scaling=1
scale_num=4
scale_den=5
cursorshape=1
noremotecursor=0
compresslevel=6
quality=8
ServerScale=1
Reconnect=3
EnableCache=0
QuickOption=1
UseDSMPlugin=0
UseProxy=0
sponsor=0
selectedscreen=1
DSMPlugin=NoPlugin
ExitCheck=0
FileTransferTimeout=30
KeepAliveInterval=0
SocketKeepAliveTimeout=10000
ThrottleMouse=0
AutoAcceptIncoming=0
AutoAcceptNoDSM=0
RequireEncryption=0
PreemptiveUpdates=0
SavePos=0
SaveSize=0
folder=C:\Users\lensing\Documents\UltraVNC
prefix=vnc_
imageFormat=.jpeg
AutoReconnect=3
ListenPort=5500
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6862
Joined: 2004-04-23 10:21
Contact:

Re: Problems using saved connection info

Post by Rudi De Vos »

Looks like a file association issue.
This is normal done by the installer.

First, if you've already made the windows file type association associate for .vnc extension with the vncviewer.exe, open regedit and do a search for ".vnc" and delete all keys you find.
HKEY_CURRENT_USER\SOFTWARE\Classes\.vnc

Then make a little batch file containing the following:

ftype UltraVnc.Connection=C:\Program Files\uvnc bvba\UltraVnc\vncviewer.exe /config %%1
assoc .vnc=UltraVnc.Connection



Then right-click the batch file and choose "Run as Administrator".
Your .vnc files should then launch the vnc viewer correctly. Please note that you may need to change the path above to point to the location of your vncviewer.exe file if it's not installed in the same place as mine. Also note, the double percent sign in "%%1" at the end of the ftype line in the .bat file is NOT a typo. You need the double percent sign when you run a command like that inside a .bat file
balubeto
40
40
Posts: 82
Joined: 2004-11-05 15:35
Contact:

Re: Problems using saved connection info

Post by balubeto »

If I perform the above procedure from a Administrators type account of Windows 11 Enterprise, will this change be applied to all users?

Thanks

Bye
balubeto
VNCHELP890
40
40
Posts: 72
Joined: 2022-01-18 16:46

Re: Problems using saved connection info

Post by VNCHELP890 »

watching this
dsjstc
Posts: 1
Joined: 2023-10-02 21:05

Re: Problems using saved connection info

Post by dsjstc »

This didn't work for me until I:

a) Quoted the file name
ftype UltraVnc.Connection=C:\Program Files\uvnc bvba\UltraVnc\vncviewer.exe /config %%1
assoc .vnc=UltraVnc.Connection
b) Deleted existing file association, everything matching:

HKEY_CURRENT_USER\SOFTWARE\Classes\.vnc
Post Reply