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

Store password so your not prompted

Should you have problems with the MS logon plugin, here's the place to look for help or report issues
Post Reply
Ryan138313
8
8
Posts: 10
Joined: 2012-08-31 21:17

Store password so your not prompted

Post by Ryan138313 »

Is there a way to save the password with the latest version so you do not get prompted when connecting to a server?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Store password so your not prompted

Post by Rudi De Vos »

No, the ini files are not encrypted.
Saving a admin password of a server in a non protected file is a bad idea.

The only way it's possible is by using the encryption plugin with a key.
Only a viewer that has the same key as the server can connect.
You can disable the vnc passwd as you are protected by the key...

Just make sure you save the key at a save place..
Ryan138313
8
8
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Post by Ryan138313 »

So setting the password in the server settings, no possible way for it to encrypt/save it in the settings period?

This is not using group/ad based authentication, just a password set on the server.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Store password so your not prompted

Post by Rudi De Vos »

The viewer only allow to save the vnc password.
The windows (user/passwd) used by mslogon, can not be saved in the viewer file.
Ryan138313
8
8
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Post by Ryan138313 »

Thank you for the information., I know about the MSLogon (wouldn't want to store it). IS there a way to save the vnc password, be it registry, or anyway so it does not have to be typed each time.

Also, does ultravnc support Radius for authentication?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Store password so your not prompted

Post by Rudi De Vos »

viewer:
make connection
save connection info as
answer yes when asked to save password

No radius support.
Ryan138313
8
8
Posts: 10
Joined: 2012-08-31 21:17

Re: Store password so your not prompted

Post by Ryan138313 »

Just want to post how to do this:

Connect to a host that you want to store the password to (if using vncpassword, not mslogon):

Right click the task bar at the top of the window where it gives you the host name, ip, etc
Choose save connection info as
Save the file as a .vnc file
Right click the vnc file > edit
Get your encrypted password from your ini and copy the encrypted password and paste it in the .vnc shortcut: password=0000000000000 replace the 0000000000000 with the encrypted password from the INI (do not make any changes to your INI)
Remove the IP address from host=
Now you can connect with the saved password, just D click the shortcut to connect to any host.

If you need to rotate the password, you update the ini, push it out and then update the shortcut icon with the saved password.
swesound
Posts: 5
Joined: 2013-09-10 20:44

Re: Store password so your not prompted

Post by swesound »

I know this is an old thread, but here is a way to save a user/password when using the MSII domain authentication plug-in. The drawback is that the user/pass is in plain text.
1. Create a shortcut in Windows.
2. For the shortcut target put the path to your vncviewer.exe and the following switches: Example. "C:\Program Files\UltraVNC\vncviewer.exe" -user <user name> -password <password> <FQDN or IP address of server to connect to> Replace <> with your info.
3. Now when you click on the shortcut, it will open the viewer and connect to your server with the credentials you entered.

Scott
Bonji
100
100
Posts: 339
Joined: 2008-05-13 14:54

Re: Store password so your not prompted

Post by Bonji »

A little more secure method is to use a wrapper that calls VNCViewer.exe and prompts for the password the first time. Then any subsequent connections will use the username/password or password in memory to connect. It's not ultra secure, but it is far superior to saving the password in a file and super convenient.
-Ben
Post Reply