Implement the possibility to pass a password or passwordfile as commandline argument to the vncviewer when connecting to a host similar to RealVNC
In RealVNC i created a password file via vncpasswd and use it to connect to a passworded server without the need to type the password in manually everytime, via a shortcut like this: vncviewer -passwordfile secret
When i run the shortcut, the GUI opens, i enter the hostname and just connect since it uses the provided passwordfile automatically
After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
Add Support for Password Files when connecting
- Rudi De Vos
- Admin & Developer

- Posts: 6978
- Joined: 2004-04-23 10:21
- Contact:
Re: Add Support for Password Files when connecting
Perhaps vnclauch is what you are looking for.
http://www.uvnc.eu/download/1210/UVNC_Launch.pdf
Found on this page
https://www.uvnc.com/downloads/ultravnc ... -1231.html
http://www.uvnc.eu/download/1210/UVNC_Launch.pdf
Found on this page
https://www.uvnc.com/downloads/ultravnc ... -1231.html
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
Re: Add Support for Password Files when connecting
Thanks for the reply Rudi, unfortunately not.
My use case is this:
Whole company uses (Real)VNC (atm), each department has their own vnc server password.
Now when support wants to connect they start VNC viewer with shortcut A for department A, shortcut B for any computer in departmen B and so on.
Since i can pass the server password(file) in the shortcut, supporters dont need to know/enter it for each client they connect to.
The suggested Launcher however saves a seperate client/password pair, meaning i or support need to manually enter this at least once for every single client (we have hundreds).
So while this goes in the right direction, for my case its still no replacement for the feature in RealVNC, hence the feature request.
Just passing the passwort to vncviewer in plaintext would suffice, vncviewer -password, then GUI starts with password in memory and uses it on every client i connect to.
My use case is this:
Whole company uses (Real)VNC (atm), each department has their own vnc server password.
Now when support wants to connect they start VNC viewer with shortcut A for department A, shortcut B for any computer in departmen B and so on.
Since i can pass the server password(file) in the shortcut, supporters dont need to know/enter it for each client they connect to.
The suggested Launcher however saves a seperate client/password pair, meaning i or support need to manually enter this at least once for every single client (we have hundreds).
So while this goes in the right direction, for my case its still no replacement for the feature in RealVNC, hence the feature request.
Just passing the passwort to vncviewer in plaintext would suffice, vncviewer -password, then GUI starts with password in memory and uses it on every client i connect to.
- Rudi De Vos
- Admin & Developer

- Posts: 6978
- Joined: 2004-04-23 10:21
- Contact:
Re: Add Support for Password Files when connecting
You can already use a password, viewer option as plaintext
-user msuser
ms logon (NTLM1) username set at server (not viewer side)
-password password
see:
https://www.uvnc.com/docs/uvnc-viewer/5 ... eters.html
-user msuser
ms logon (NTLM1) username set at server (not viewer side)
-password password
see:
https://www.uvnc.com/docs/uvnc-viewer/5 ... eters.html
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
Re: Add Support for Password Files when connecting
I already saw that and thought it only applys to MSLOGON with user/pass.
Just tried it with just -password and of course it works. You're so right, my bad.
Still not as nice as passwordfiles though, since you can see the password in plaintext now.
But i'll figure out a way to obscure that. Topic can be closed if you like. Thanks very much!
Just tried it with just -password and of course it works. You're so right, my bad.
Still not as nice as passwordfiles though, since you can see the password in plaintext now.
But i'll figure out a way to obscure that. Topic can be closed if you like. Thanks very much!