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-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134

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

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: 6988
Joined: 2004-04-23 10:21
Contact:

Re: Automation for install and configure UltraVNC

Post by Rudi De Vos »

step 3
MS-Logon I
the groups are part of ultravnc.ini
MS-Logon II
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