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

Automation for install and configure UltraVNC

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
fledorze
Posts: 1
Joined: 2023-11-14 15:42

Automation for install and configure UltraVNC

Post by fledorze »

I managing industrial PCs with Ansible, on which I would like to install and configure UltraVNC
As far as I understand the different posts and docs,
I have to do install with setup.exe on a first one with option /SAVEINF
Then code in Ansible the following steps :
1- execute setup.exe with /LOADINF.
2- deploy our UltraVNC.ini
3- link readonly and readwrite user to 2 local windows accounts
4- restart the service

I can figure how code all steps except 3- : manually, we have to use uvnc_settings.exe, which is interactive.
But how to do it in non-interactive mode ?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6978
Joined: 2004-04-23 10:21
Contact:

Re: Automation for install and configure UltraVNC

Post by Rudi De Vos »

step 3
mslogon I
the groups are part of ultravnc.ini
mslogon 2
This method use the permissions of a reg key
the key permissions are taken for vnc read/wrie full/viewonly

In the uvnc folder is a acl copy tool mslogonacl.exe Usage: mslogonacl /e <file> for exporting an ACL to an (optional) file. mslogonacl /i <mode> <file> for importing an ACL where mode is either /o for override or /a for append and file holds ...

sample: key permissions
TEST1\rudi
TEST1\rudigroup

This is exported like this.
MSLogonACL /e
== Entering GetACL
== RegQueryValueEx passed dwValueLength = 80
allow 0x00000003 .\rudi
allow 0x00000003 .\rudigroup

Youe need to addmslogonacl.exe /i /o myfile (MSLogonACL.exe /i <mode> <file>) to the installer
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/
Post Reply