Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Preserve passwords during upgrade?

Post Reply
User avatar
KenW
Posts: 3
Joined: 2019-10-21 16:53

Preserve passwords during upgrade?

Post by KenW »

I have upgraded UltraVNC from 1.2.1.7 to 1.2.2.4 and noticed that the file ultravnc.ini, containing the saved passwords, is overwritten. This breaks our remote control ability until the file is updated or replaced after the upgrade.
I was surprised by this since most installers preserve user settings during an upgrade. Is there a switch I can add during install to prevent overwriting passwords?
I need to roll this upgrade out to all our workstations and this could be very helpful.
Thanks for any advice you can offer.
Ken
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Preserve passwords during upgrade?

Post by Rudi De Vos »

ultravnc.ini should not be replaced, installer skip copy when it exist

Code: Select all

Source: "preconfig\ultravnc.ini"; DestDir: "{app}"; Flags: onlyifdoesntexist;
password is not replaced as we first check it it's already set, before setting a random value.

Did you changed the installed location ?
User avatar
KenW
Posts: 3
Joined: 2019-10-21 16:53

Re: Preserve passwords during upgrade?

Post by KenW »

Hi Rudi,
Thank you for your response - I apologize for my delay in getting back to you. Our patching is done via the Kace K1000 systems management appliance from Quest Software. It downloads UVNC patches from https://www.uvnc.eu/.

I contacted Quest following a test of our patching process. I thought it was very odd that the configuration file would be overwritten, but Quest indicated that the problem is with the patch and not their appliance (not surprising). To test, they had me install v1.2.2.4 over v1.2.1.7, and indeed, the ultravnc.ini file was overwritten.

UVNC is installed at C:\Program Files\UltraVNC and the ultravnc.ini file is located in that folder as well. Should we be installing in a different directory?

Thank you again!
Ken
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: Preserve passwords during upgrade?

Post by Rudi De Vos »

I guess you run UltraVNC_1_2_24_X86_Setup.exe... we actual don't have "patches"

Image

If you select upgrade
+ultravnc.ini is never copied
+we don't run the password checker,
+require reboot, files are reaplaced on reboot.

If you select server
+ultravnc.ini is copied when no file exist
+password is set, when passwd is empty

Is the file replaced or just the password changed.
User avatar
KenW
Posts: 3
Joined: 2019-10-21 16:53

Re: Preserve passwords during upgrade?

Post by KenW »

Thank you Rudi!
Post Reply