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

Set Admin Properties in Silent Install

Post Reply
mgowland
Posts: 1
Joined: 2017-02-01 02:17

Set Admin Properties in Silent Install

Post by mgowland »

Hey does anyone know if you can set the admin properties, specifically the password and turn off desktop image, during install for a silent install script? How can you do this?
ddbivens
80
80
Posts: 132
Joined: 2015-12-26 14:53
Location: Tellico Plains, TN 37385 USA

Re: Set Admin Properties in Silent Install

Post by ddbivens »

If you are are looking for a way to silently install UltraVNC on a remote PC (where your current login name has Admin rights on the remote PC) then set the UltraVNC password so you can remote in with UltraVNC...
This is way over simplified...
My batch file runs the installer on the remote PC using Microsoft/Sysinternals PsExec utility. (Note: %1 is the remote PC name)
drive:\path\PsExec.exe \\%1 -s -d "\\servername\softwarepath\vncinstall.bat"

:The vncinstall.bat batch program (way over simplified) looks something like this:
sc stop winvnc
sc delete winvnc
taskkill /IM winvnc.exe /F
if exist "C:\Program Files (x86)\uvnc bvba\UltraVNC\unins000.exe" "C:\Program Files (x86)\uvnc bvba\UltraVNC\unins000.exe" /verysilent /norestart
if exist "C:\Program Files (x86)\UltraVNC\unins000.exe" "C:\Program Files (x86)\UltraVNC\unins000.exe" /verysilent /norestart
\\server\path\UltraVNC_1_2_12_[x32]x64_Setup.exe" /norestart /verysilent /loadinf="\\server\path\install.inf"
taskkill /IM winvnc.exe /F
copy "\\server\path\ultravnc[x32]x64.ini" "C:\Program Files\UltraVNC\ultravnc.ini"
"C:\Program Files\UltraVNC\winvnc.exe" -startservice

Again the program shown above is way over simplified, but you can get the idea of what is needed.
My batch file (not the simplified version above) automatically adjusts for 32bit or 64bit OSs and the correct program is installed and the correct ini is copied.

My install.inf has the following contents:
[Setup]
Lang=en
Dir=C:\Program Files\uvnc bvba\UltraVNC
Group=UltraVNC
NoIcons=0
SetupType=custom
Components=ultravnc_server,ultravnc_viewer
Tasks=installservice,startservice,associate

My ultravnc[x32]x64.ini files are copied from PCs where UltraVNC was manually installed and fully configured.
So just setup UltraVNC on a 32bit PC and a 64bit PC and configure them the way you want then copy the existing ultravnc.ini files to your server for copying.
Post Reply