Set Admin Properties in Silent Install

Here you will find help for frequently asked questions as well as for your specific question.

Set Admin Properties in Silent Install

Postby mgowland » 2017-02-01 02:26

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?
Posts: 1
Joined: 2017-02-01 02:17

Re: Set Admin Properties in Silent Install

Postby ddbivens » 2017-02-05 02:36

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:
Dir=C:\Program Files\uvnc bvba\UltraVNC

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.
Posts: 76
Joined: 2015-12-26 14:53
Location: Tellico Plains, TN 37385 USA

Return to General help

Who is online

Users browsing this forum: No registered users and 3 guests