Install UVNC From Command Line or Remote Desktop
by Subachad on Feb.08, 2010, under Technology
UVNC is a great open source progam for connecting to servers or PC’s. One of the major setbacks however is the difficulty in installing UVNC while connected with Remote Desktop, or RDP. The problem is it will run as the signed in user and even if you are signed into the console it still doesn’t seem to work right. Here are a couple of batch files I have written to uninstall UVNC and then another to reinstall UVNC. These can be used with a Remote Desktop (RDP) connection or through command line as well. To use these, simply copy the contents into a text file and save as UVNC-Uninstall.bat or UVNC-Install.bat.
UVNC-Uninstall.bat
@echo on
REM ~~~ uninstalling UVNC ~~~
“%ProgramFiles%\UltraVNC\unins000.exe” /SILENT /Y
“%ProgramFiles%\UltraVNC\unins001.exe” /SILENT /Y
UVNC-Install.bat
@echo on
REM ~~~ This Batch File will Install or Update UVNC ~~~
net stop uvnc_service
cd “c:\program files\UltraVNC”
copy \\softwareserver\UltraVNC\ultravnc.ini “c:\program files\ultravnc\ultravnc.ini” /Y
\\softwareserver\UltraVNC\UltraVNCSetup.exe /loadinf=\\softwareserver\UltraVNC\ultravnc\ultravncInstall.inf /silent /log
cd “%ProgramFiles%\UltraVNC\winvnc.exe”
“%ProgramFiles%\UltraVNC\winvnc.exe” -install
