Home > Guides > Silent VNC Install

Silent VNC Install

January 10th, 2008 Leave a comment Go to comments

Ok this might be of use if you are looking to install VNC accross a network, maybe via active directory or even if you just want a nice cool way to setup vnc without any hassle, it also checks and uninstalls a previous version.

Firstly download realvnc and extract the file to c:\vnc\

Make a Batch file called installvnc.bat in the directory you just created containing the following

@echo off
if exist "c:\program files\vnc\" goto end
c:
cd "program files"
cd realvnc
cd vnc4
winvnc4.exe -stop
winvnc4.exe -unregister
echo "Uninstalling Current VNC"
unins000.exe /SILENT
c:
cd\
cd "program files"
md vnc
cd vnc
copy "c:\vnc\*.*" c:
regedit /s "c:\vnc\vnc.reg"
winvnc4.exe -register
winvnc4.exe -start
pause
:end

Then create a Reg file containing the following in the same direcory called vnc.reg

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC][HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4]
"Password"=hex:89,f8,9e,15,b9,73,2a,e4
"SecurityTypes"="VncAuth"
"ReverseSecurityTypes"="None"
"QueryConnect"=dword:00000000
"QueryOnlyIfLoggedOn"=dword:00000000
"AllowProperties"=dword:00000000
"DisableClose"=dword:00000001

Run the batch file and vnc will install – the password for vnc is set to “pioneer” currently however if you wish to changes this in the reg file set it in the application and re-export thr reg details in regedit under HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4

Bookmark and Share
Categories: Guides Tags: , , ,
  1. December 18th, 2008 at 13:52 | #1

    The problem is one thing
    to run .bat file into silent mode can you give us this information.

  2. March 3rd, 2009 at 16:04 | #2

    GenesisBoy

    You could try this @ECHO OFF would get rid of any commands running – however oupput from these would still show.

    You could run the Dos window minimized

    1. Right-click on batch file
    2. Go on ‘program’ tab
    3. ‘Run’ or ‘Execute’ field (at bottom)
    4. Select ‘minimized’

    Try this mate

  1. No trackbacks yet.