[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1690
  • Last Modified:

UltraVNC - How to pre-configure server for mass deployment.

I would like to create a single .exe file containing a pre-configured uVNC Server.

The goal is to have clients click on the .exe file on desktop, display a privacy/sharing warning click ok to approve box, install uVNC silently without any prompts and they are ready to go.

I would like to preconfigure what ports the server listens to and change default settings, ie, password, username etc.
0
stevef22
Asked:
stevef22
  • 3
1 Solution
 
ai_ja_naiCommented:
Craft an ol' good batch file, where people type yes to accept (it's just an if).
Then you can execute the installer from within the batch file.
The following command line parameters can be passed to the setup, to make it install silently:

/dir="Dirname"
    Sets installation directory to Dirname.
/no restart
    Suppresses a reboot at the end of the installation.
    Not required since the installation no longer requires are boot.
/silent or /very silent
    Suppresses either pop-up of dialog boxes or any GUI at all.
/loadinf="Filename"
    Loads the configuration file Filenamefor the installation.
    This configuration file can be generated by going through setup with UltraVNC-xxxx-Setup.exe /saveinf="Filename".
    Filename should be fully qualified.
/log
    Writes a log file to the Temp directory.
    Could be used for debugging.

Unfortunately, there are no cli server switches you can use to quickly configure the server
0
 
ai_ja_naiCommented:
But there's an exploit: you can install VNC somewhere with the option /saveinf="c:\ultravncInstall.inf". This will save to an inf file all your settings. Then you can import that file with /loadinf=\\path\to\server\share\VNCInstall\ultravncInstall.inf, so that it uses the preconfigures environment
0
 
ai_ja_naiCommented:
ADDENDUM: Don't forget to copy C:\program files\ultravnc\ultravnc.ini also from the configured machine (this is the one that has all of your settings)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now