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

Admin Properties / ultravnc server settings

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
tech_br
Posts: 1
Joined: 2023-08-02 13:36

Admin Properties / ultravnc server settings

Post by tech_br »

I can block user access to Admin Properties / ultravnc server settings ??


my intention is not to let expert users change UltraVNC server settings
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6839
Joined: 2004-04-23 10:21
Contact:

Re: Admin Properties / ultravnc server settings

Post by Rudi De Vos »

1-
Admin properties can only be changed by a user who has write access to the ultravnc.ini in the install folder.
By default only admin users can change it.

To prevent the admin you can manual set the ultravnc.ini to read only.
To change you need to give back the write permissions.

A admin always can change the filep ermissions back to write, but out of the box it will not work.

2- Disable properties access
ultravnc.ini
[admin]
AllowProperties=1
0 = Disable "Properties" option in UltraVNC Server tray menu
1 = Enable "Properties" option in UltraVNC Server tray menu
uvnc-forum
Posts: 2
Joined: 2019-11-27 08:59

VNC Configuration Error

Post by uvnc-forum »

Hi UltraVNC Forum!
I’m trying to install and configure UltraVNC 1.3.8.1 x64 Server & Viewer via PS-script, see below, to deploy om multiple computers via MS Intune. The script runs as System (Intune standard). UltraVNC Server & Viewer are installed, but the configuration, including the password for the server part, located in UltraVNC.reg are not set and the error message “You do not have sufficient priviliges to edit the default local WinVNC settings” appears. If I run the script manually as local admin, there is no problem! How to solve this?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Code: Select all

# This will install and configure UltraVNC Server and Viewer

cmd /c regedit /s 'UltraVNC.reg'
Start-Process UltraVNC_1_3_81_X64_Setup.exe -Args '/VERYSILENT /NOCANCEL /NORESTART /LOADINF=UltraVNCServerViewer.inf' -Wait
Remove-Item "$Env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\UltraVNC\" -Recurse
Remove-Item "$Env:PUBLIC\Desktop\UltraVNC*.lnk"
Copy-Item 'UltraVNC.ini' 'C:\Program Files\UltraVNC\' -Force
Restart-Service uvnc_service

# Sets rights for "Domain Users" to restart the VNC service
.\SubInACL.exe /service uvnc_service /grant="SDCAD\Domain Users"=TOP

Copy-Item 'Starta om VNC.cmd' "$Env:Public\Desktop\"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uvnc-forum
Posts: 2
Joined: 2019-11-27 08:59

Re: VNC Configuration Error

Post by uvnc-forum »

I managed to solve this problem using Rudi De Vos answer to tech_br's problem "Admin Properties / ultravnc server settings" by adding the lines below to UltraVNC.ini, before copying it. Thanks Rudi! 😀

viewtopic.php?t=37836

[admin]
AllowProperties=1
Post Reply